17
0

32 Commits

Author SHA256 Message Date
e507d8f2fc Accepting request 1303644 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1303644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=15
2025-09-11 12:39:48 +00:00
a332edd70f Accepting request 1303635 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1303635
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=31
2025-09-10 11:51:10 +00:00
03edb41417 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
0f0fe71d79 - 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
f99cd31bef 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
7ef4a00957 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
04ab2e18b4 Accepting request 1181278 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1181278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=12
2024-06-17 17:33:43 +00:00
745cd6ee35 - use PEP517/wheel build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=25
2024-06-10 09:53:21 +00:00
b20ee9131d - update to 1.18:
* New binary wheels were added built with gcc 12
    (manylinux_2_28).
  * x86_64 wheels now require SSE4.2.
  * Built using Cython 3.0.10.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=24
2024-06-10 09:45:54 +00:00
0edb1431a1 Accepting request 1161385 from devel:languages:python
- update to 1.17:
  * Math operations were sped up by inlined binary GCD
    calculation.

OBS-URL: https://build.opensuse.org/request/show/1161385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=11
2024-03-25 20:12:37 +00:00
d8713222a9 - update to 1.17:
* Math operations were sped up by inlined binary GCD
    calculation.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=22
2024-03-25 12:27:06 +00:00
f8ab3cede5 Accepting request 1140281 from devel:languages:python
- update to 1.16:
  * Formatting support was improved, following CPython 3.13a3 as
    of https://github.com/python/cpython/pull/111320
  * Add support for Python 3.13 by using Cython 3.0.8 and calling
    math.gcd().

OBS-URL: https://build.opensuse.org/request/show/1140281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=10
2024-01-21 22:10:15 +00:00
49c8cf4598 - update to 1.16:
* Formatting support was improved, following CPython 3.13a3 as
    of https://github.com/python/cpython/pull/111320
  * Add support for Python 3.13 by using Cython 3.0.8 and calling
    math.gcd().

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=20
2024-01-21 11:21:54 +00:00
61d9b23fd3 Accepting request 1132078 from devel:languages:python
- update to 1.15:
  * Add support for Python 3.12 by using Cython 3.0.2.

- use generic Cython dependency >= 3.0

OBS-URL: https://build.opensuse.org/request/show/1132078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=9
2023-12-08 21:33:24 +00:00
a70201631c - use generic Cython dependency >= 3.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=18
2023-12-08 12:06:56 +00:00
e6bf1b04ca - update to 1.15:
* Add support for Python 3.12 by using Cython 3.0.2.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=17
2023-12-08 12:06:35 +00:00
445c77d69b Accepting request 1103748 from devel:languages:python
- use generic Cython dependency >= 3.0

OBS-URL: https://build.opensuse.org/request/show/1103748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=8
2023-08-14 20:35:38 +00:00
8207af8558 - use generic Cython dependency >= 3.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=15
2023-08-13 21:41:22 +00:00
982a307605 Accepting request 1073017 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1073017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=7
2023-03-21 16:40:41 +00:00
85ca64bc6a - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=13
2023-03-20 06:46:13 +00:00
215bbdce14 Accepting request 1066942 from devel:languages:python
- Skip python 3.11, it's not supported yet
  gh#scoder/quicktions#6

OBS-URL: https://build.opensuse.org/request/show/1066942
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=6
2023-02-21 14:36:26 +00:00
dbf04f4312 - Skip python 3.11, it's not supported yet
gh#scoder/quicktions#6

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=11
2023-02-21 08:51:27 +00:00
c75a5919b1 Accepting request 786785 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/786785
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=5
2020-03-20 22:57:15 +00:00
Tomáš Chvátal
cfbad0b6e8 Accepting request 786774 from home:pgajdos:python
- version update to 1.11
  * Fix ``OverflowError`` when parsing string values with long decimal parts.

OBS-URL: https://build.opensuse.org/request/show/786774
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=9
2020-03-20 09:17:08 +00:00
630d42f85d Accepting request 729803 from devel:languages:python
- Update to 1.10:
  * New method fraction.as_integer_ratio()
  * python 3.8 fixes

OBS-URL: https://build.opensuse.org/request/show/729803
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=4
2019-09-11 08:35:56 +00:00
Tomáš Chvátal
1e5485dc9c - Update to 1.10:
* New method fraction.as_integer_ratio()
  * python 3.8 fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=7
2019-09-10 10:59:37 +00:00
545d8d8287 Accepting request 702947 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/702947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=3
2019-05-22 10:19:39 +00:00
Tomáš Chvátal
76c665419d Accepting request 702945 from home:jjolly:branches:devel:languages:python
- Update to 1.9
  + Substantially faster normalisation (and therefore instantiation)
    in Py3.5+.
  + // (floordiv) now follows the expected rounding behaviour when used
    with floats (by converting to float first), and is much faster for
    integer operations.
  + Fix return type of divmod(), where the first item should be an integer.
  + Further speed up mod and divmod operations.
- Update to 1.8
  + Faster mod and divmod calculation.
- Update to 1.7
  + Faster normalisation and fraction string parsing.
  + Add support for Python 3.7.
  + Built using Cython 0.29.
- Changed %check to use %pytest_arch

OBS-URL: https://build.opensuse.org/request/show/702945
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=5
2019-05-14 18:56:45 +00:00
f3582cf6be Accepting request 617148 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/617148
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=2
2018-06-19 10:03:25 +00:00
Todd R
364ca7acf0 Accepting request 617147 from home:TheBlackCat:branches:devel:languages:python
- Use more compatible py.test syntax.

OBS-URL: https://build.opensuse.org/request/show/617147
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=3
2018-06-15 20:45:00 +00:00
1978a52e64 Accepting request 609891 from devel:languages:python
Fast fractions data type for rational numbers

OBS-URL: https://build.opensuse.org/request/show/609891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=1
2018-05-29 08:28:31 +00:00
Todd R
42dfcf3352 Accepting request 609873 from devel:languages:python:misc
Fast fractions data type for rational numbers

OBS-URL: https://build.opensuse.org/request/show/609873
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=1
2018-05-16 17:36:41 +00:00