diff --git a/python-quicktions.changes b/python-quicktions.changes index 914659a..ad22f1f 100644 --- a/python-quicktions.changes +++ b/python-quicktions.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Jul 21 03:57:17 UTC 2025 - Steve Kowalik + +- 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. + ------------------------------------------------------------------- Thu Jan 23 11:53:37 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-quicktions.spec b/python-quicktions.spec index cf9aff4..c84f14f 100644 --- a/python-quicktions.spec +++ b/python-quicktions.spec @@ -17,11 +17,10 @@ Name: python-quicktions -Version: 1.19 +Version: 1.21 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 >= 3} diff --git a/quicktions-1.19.tar.gz b/quicktions-1.19.tar.gz deleted file mode 100644 index ebefb97..0000000 --- a/quicktions-1.19.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:81ded2cb8e1e89c94eadc406c01673ad81c079ebda2773a15a6623e62e1b446f -size 374449 diff --git a/quicktions-1.21.tar.gz b/quicktions-1.21.tar.gz new file mode 100644 index 0000000..9e5e8ec --- /dev/null +++ b/quicktions-1.21.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31a80d161eaf0b0829677ce6010073f8364ad17f926874de4a3cbb18c1975239 +size 384614