From ee9ccd6d3569d67d0a1eafd95ec4428b9ff497c8 Mon Sep 17 00:00:00 2001 From: dgarcia <> Date: Tue, 21 Mar 2023 16:40:41 +0000 Subject: [PATCH] Update python-quicktions to version 1.14 / rev 7 via SR 1073017 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 --- packages/p/python-quicktions/.files | Bin 194 -> 194 bytes packages/p/python-quicktions/.rev | 34 ++++++++++++++++++ .../python-quicktions.changes | 30 ++++++++++++++++ .../python-quicktions/python-quicktions.spec | 6 ++-- .../python-quicktions/quicktions-1.11.tar.gz | 1 - .../python-quicktions/quicktions-1.14.tar.gz | 1 + 6 files changed, 67 insertions(+), 5 deletions(-) delete mode 120000 packages/p/python-quicktions/quicktions-1.11.tar.gz create mode 120000 packages/p/python-quicktions/quicktions-1.14.tar.gz diff --git a/packages/p/python-quicktions/.files b/packages/p/python-quicktions/.files index 362d2f9f9d8b6549e310b602b9aeb0351c081279..16692e1ea1e1ebf991df956e93426c8752a750cc 100644 GIT binary patch literal 194 zcmZY2O%8%E5I|uP;)Vm5xZ?se)1T?I$CDs1g+OB6D zlXgT}sTdMzCht%QgQXk&Dtho0Z6^MRaahtVbrA{e6uNY&b_ uc;Vq|k5^gtt^Zx 1066942 + + b4d0e4bef5327c07f7a220d8f4454295 + 1.14 + + 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 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. + + 1073017 + diff --git a/packages/p/python-quicktions/python-quicktions.changes b/packages/p/python-quicktions/python-quicktions.changes index ef7d5225f27..3279b3c684e 100644 --- a/packages/p/python-quicktions/python-quicktions.changes +++ b/packages/p/python-quicktions/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/packages/p/python-quicktions/python-quicktions.spec b/packages/p/python-quicktions/python-quicktions.spec index d556d4aa4c7..d5cc087a689 100644 --- a/packages/p/python-quicktions/python-quicktions.spec +++ b/packages/p/python-quicktions/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/packages/p/python-quicktions/quicktions-1.11.tar.gz b/packages/p/python-quicktions/quicktions-1.11.tar.gz deleted file mode 120000 index fd922b31f1e..00000000000 --- a/packages/p/python-quicktions/quicktions-1.11.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafkreihwn4hw5dge5m3qf7d3j64uhwyxy4xyow6llsi7kcxrrdji2cvc34 \ No newline at end of file diff --git a/packages/p/python-quicktions/quicktions-1.14.tar.gz b/packages/p/python-quicktions/quicktions-1.14.tar.gz new file mode 120000 index 00000000000..78e223d08e9 --- /dev/null +++ b/packages/p/python-quicktions/quicktions-1.14.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeihmm2ox2pvxriwyihrv7ha5yzo7pyhpva5h7nhi4e3wjxe2vdseoa \ No newline at end of file