Skip to content

Commit

Permalink
Update python-quicktions to version 1.14 / rev 7 via SR 1073017
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/1073017
by user dgarcia + dimstar_suse
- Enable python 3.11 build again, now is supported
- Update to 1.14
  - Implement __format__ for Fraction, following python/cpython#100161
  - Implement Fraction.is_integer(), following python/cpython#100488
  - Fraction.limit_denominator() is faster, following
    python/cpython#93730
  - Internal creation of result Fractions is about 10% faster if the
    calculated numerator/denominator pair is already normalised,
    following python/cpython#101780
  - Built using Cython 3.0.0b1.
- 1.13
  - Parsing very long numbers from a fraction string was very slow,
    even slower than fractions.Fraction. The parser is now faster in
    all cases (and still much faster for shorter numbers).
  - Fraction did not implement __int__.
    https://bugs.python.org/issue44547
- 1.12
  - Faster and more spa
  • Loading branch information
dgarcia authored and bmwiedemann committed Mar 21, 2023
1 parent 025d4ea commit ee9ccd6
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 5 deletions.
Binary file modified packages/p/python-quicktions/.files
Binary file not shown.
34 changes: 34 additions & 0 deletions packages/p/python-quicktions/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,38 @@
</comment>
<requestid>1066942</requestid>
</revision>
<revision rev="7" vrev="1">
<srcmd5>b4d0e4bef5327c07f7a220d8f4454295</srcmd5>
<version>1.14</version>
<time>1679416841</time>
<user>dimstar_suse</user>
<comment>- Enable python 3.11 build again, now is supported
- Update to 1.14
- Implement __format__ for Fraction, following python/cpython#100161
- Implement Fraction.is_integer(), following python/cpython#100488
- Fraction.limit_denominator() is faster, following
python/cpython#93730
- Internal creation of result Fractions is about 10% faster if the
calculated numerator/denominator pair is already normalised,
following python/cpython#101780
- Built using Cython 3.0.0b1.
- 1.13
- Parsing very long numbers from a fraction string was very slow,
even slower than fractions.Fraction. The parser is now faster in
all cases (and still much faster for shorter numbers).
- Fraction did not implement __int__.
https://bugs.python.org/issue44547
- 1.12
- Faster and more space friendly pickling and unpickling.
https://bugs.python.org/issue44154
- Algorithmically faster arithmetic for large denominators, although
slower for small fraction components.
https://bugs.python.org/issue43420 Original patch for CPython by
Sergey B. Kirpichev and Raymond Hettinger.
- Make sure bool(Fraction) always returns a bool.
https://bugs.python.org/issue39274
- Built using Cython 3.0.0a10.
</comment>
<requestid>1073017</requestid>
</revision>
</revisionlist>
30 changes: 30 additions & 0 deletions packages/p/python-quicktions/python-quicktions.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
-------------------------------------------------------------------
Mon Mar 20 06:44:40 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

- Enable python 3.11 build again, now is supported
- Update to 1.14
- Implement __format__ for Fraction, following python/cpython#100161
- Implement Fraction.is_integer(), following python/cpython#100488
- Fraction.limit_denominator() is faster, following
python/cpython#93730
- Internal creation of result Fractions is about 10% faster if the
calculated numerator/denominator pair is already normalised,
following python/cpython#101780
- Built using Cython 3.0.0b1.
- 1.13
- Parsing very long numbers from a fraction string was very slow,
even slower than fractions.Fraction. The parser is now faster in
all cases (and still much faster for shorter numbers).
- Fraction did not implement __int__.
https://bugs.python.org/issue44547
- 1.12
- Faster and more space friendly pickling and unpickling.
https://bugs.python.org/issue44154
- Algorithmically faster arithmetic for large denominators, although
slower for small fraction components.
https://bugs.python.org/issue43420 Original patch for CPython by
Sergey B. Kirpichev and Raymond Hettinger.
- Make sure bool(Fraction) always returns a bool.
https://bugs.python.org/issue39274
- Built using Cython 3.0.0a10.

-------------------------------------------------------------------
Tue Feb 21 08:50:45 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

Expand Down
6 changes: 2 additions & 4 deletions packages/p/python-quicktions/python-quicktions.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,15 @@
#


# Do not support python 3.11 yet, gh#scoder/quicktions#6
%define skip_python311 1
Name: python-quicktions
Version: 1.11
Version: 1.14
Release: 0
Summary: Fast fractions data type for rational numbers
License: Python-2.0
Group: Development/Languages/Python
URL: https://github.com/scoder/quicktions
Source: https://files.pythonhosted.org/packages/source/q/quicktions/quicktions-%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module Cython3}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
Expand Down
1 change: 0 additions & 1 deletion packages/p/python-quicktions/quicktions-1.11.tar.gz

This file was deleted.

1 change: 1 addition & 0 deletions packages/p/python-quicktions/quicktions-1.14.tar.gz

0 comments on commit ee9ccd6

Please sign in to comment.