17
0

Compare commits

4 Commits

Author SHA256 Message Date
0320537185 Accepting request 1296038 from devel:languages:python
- Update to 1.21:
  * A serious parser bug could accidentally concatenate numerator and
    denominator as final denominator when parsing "x/y" where x or y are
    close to ``sys.maxsize``, thus returning a ``Fraction("x/xy")``.
  * MSVC and clang now also benefit from fast "count trailing zeroes"
    intrinsics.
  * ``quicktions`` is compatible with freethreading Python (3.13+).
  * Accept leading zeros in precision/width for Fraction's formatting
  * In line with Python's ``Fraction``, quicktions now raises a
    ``ValueError`` (instead of an ``OverflowError``) when exceeding parser
    limits
  * Call ``__rpow__`` in ternary ``pow()`` if necessary
  * Built using Cython 3.1.2.

OBS-URL: https://build.opensuse.org/request/show/1296038
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=14
2025-07-28 12:58:57 +00:00
859d94fc02 - Update to 1.21:
* A serious parser bug could accidentally concatenate numerator and
    denominator as final denominator when parsing "x/y" where x or y are
    close to ``sys.maxsize``, thus returning a ``Fraction("x/xy")``.
  * MSVC and clang now also benefit from fast "count trailing zeroes"
    intrinsics.
  * ``quicktions`` is compatible with freethreading Python (3.13+).
  * Accept leading zeros in precision/width for Fraction's formatting
  * In line with Python's ``Fraction``, quicktions now raises a
    ``ValueError`` (instead of an ``OverflowError``) when exceeding parser
    limits
  * Call ``__rpow__`` in ternary ``pow()`` if necessary
  * Built using Cython 3.1.2.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=29
2025-07-21 03:57:31 +00:00
2d5821d770 Accepting request 1239866 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1239866
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=13
2025-01-23 17:05:54 +00:00
52342b8a6e Accepting request 1239854 from home:glaubitz:branches:devel:languages:python
- Update to 1.19
  * Support for Python 2.7 as well as 3.7 and earlier has been removed.
  * Generally use ``.as_integer_ratio()`` in the constructor if available.
  * Add a classmethod ``.from_number()`` that requires a number argument,
    not a string.
  * Mixed calculations with other ``Rational`` classes could return the
    wrong type.
  * In mixed calculations with ``complex``, the Fraction is now converted
    to ``float`` instead of ``complex`` to avoid certain corner cases in
    complex calculation.
  * Using ``complex`` numbers in division shows better tracebacks.
  * Subclass instantiations and calculations could fail in some cases.

OBS-URL: https://build.opensuse.org/request/show/1239854
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=27
2025-01-23 12:57:53 +00:00
4 changed files with 5 additions and 14 deletions

View File

@@ -1,12 +1,3 @@
-------------------------------------------------------------------
Wed Sep 10 11:16:10 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.22
* A choice of different GCD implementations is available via ``quicktions.use_gcd_impl()``.
The fastest one on the current machine is chosen at import time.
* Built using Cython 3.1.3.
- Use Python 3.11 on SLE-15 by default
-------------------------------------------------------------------
Mon Jul 21 03:57:17 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -15,9 +15,9 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-quicktions
Version: 1.22
Version: 1.21
Release: 0
Summary: Fast fractions data type for rational numbers
License: Python-2.0

3
quicktions-1.21.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:31a80d161eaf0b0829677ce6010073f8364ad17f926874de4a3cbb18c1975239
size 384614

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:207d74b05d5ae166d184a51807dbe667303e408118ffb28f7fcd016792664e58
size 398517