From b0e3dbb56b119249f612ec6b4687f4f479782a9d62c262a4a2743f0509d0e04b Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Mon, 20 Mar 2023 06:46:13 +0000 Subject: [PATCH] - 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 --- python-quicktions.changes | 30 ++++++++++++++++++++++++++++++ python-quicktions.spec | 6 ++---- quicktions-1.11.tar.gz | 3 --- quicktions-1.14.tar.gz | 3 +++ 4 files changed, 35 insertions(+), 7 deletions(-) delete mode 100644 quicktions-1.11.tar.gz create mode 100644 quicktions-1.14.tar.gz diff --git a/python-quicktions.changes b/python-quicktions.changes index eedf300..7a59d5d 100644 --- a/python-quicktions.changes +++ b/python-quicktions.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Mon Mar 20 06:44:40 UTC 2023 - Daniel Garcia + +- 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 diff --git a/python-quicktions.spec b/python-quicktions.spec index 3913a8c..6ce9576 100644 --- a/python-quicktions.spec +++ b/python-quicktions.spec @@ -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 diff --git a/quicktions-1.11.tar.gz b/quicktions-1.11.tar.gz deleted file mode 100644 index 3610a26..0000000 --- a/quicktions-1.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f66f0f6e8cc4eb3702fc7b4fb943db17c72f875bcb5c91f50af188d28d0aa2df -size 218804 diff --git a/quicktions-1.14.tar.gz b/quicktions-1.14.tar.gz new file mode 100644 index 0000000..a79af24 --- /dev/null +++ b/quicktions-1.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:851a454a2376fbabbbdbec33260b5724b0c12891721c569ef111b261ae0a2042 +size 344884