Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-numba for openSUSE:Factory checked in at 2023-05-26 20:15:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-numba (Old) and /work/SRC/openSUSE:Factory/.python-numba.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-numba" Fri May 26 20:15:52 2023 rev:38 rq:1089198 version:0.57.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-numba/python-numba.changes 2023-04-12 12:52:17.909176775 +0200 +++ /work/SRC/openSUSE:Factory/.python-numba.new.1533/python-numba.changes 2023-05-26 20:16:04.364476979 +0200 @@ -1,0 +2,23 @@ +Fri May 26 13:28:26 UTC 2023 - Steve Kowalik <[email protected]> + +- Update to 0.57.0: + * Support for Python 3.11 (minimum is moved to 3.8) + * Support for NumPy 1.24 (minimum is moved to 1.21) + * Python language support enhancements: + + Exception classes now support arguments that are not compile time + constant. + + The built-in functions hasattr and getattr are supported for compile + time constant attributes. + + The built-in functions str and repr are now implemented similarly to + their Python implementations. Custom __str__ and __repr__ functions + can be associated with types and work as expected. + + Numbaâs unicode functionality in str.startswith now supports kwargs + start and end. + + min and max now support boolean types. + + Support is added for the dict(iterable) constructor. +- Dropped patches: + * numba-pr8620-np1.24.patch + * update-tbb-backend-calls-2021.6.patch +- Rebased existing patch. + +------------------------------------------------------------------- Old: ---- numba-0.56.4.tar.gz numba-pr8620-np1.24.patch update-tbb-backend-calls-2021.6.patch New: ---- numba-0.57.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-numba.spec ++++++ --- /var/tmp/diff_new_pack.U6itKE/_old 2023-05-26 20:16:04.908480221 +0200 +++ /var/tmp/diff_new_pack.U6itKE/_new 2023-05-26 20:16:04.912480245 +0200 @@ -17,13 +17,9 @@ %define skip_python2 1 -# Not compatible with Python 3.11 yet. If this changes, and the python311 -# flavor is active, make sure to expand the multibuild test flavors -# https://github.com/numba/numba/issues/8304 -%define skip_python311 1 %define plainpython python # upper bound is exclusive: min-numpy_ver <= numpy < max_numpy_ver -%define min_numpy_ver 1.18 +%define min_numpy_ver 1.21 %define max_numpy_ver 1.25 %global flavor @BUILD_FLAVOR@%{nil} @@ -43,22 +39,24 @@ %define skip_python311 1 %bcond_without test %endif +%if "%{flavor}" == "test-py311" +%define psuffix -test-py311 +%define skip_python39 1 +%define skip_python310 1 +%bcond_without test +%endif Name: python-numba%{?psuffix} -Version: 0.56.4 +Version: 0.57.0 Release: 0 Summary: NumPy-aware optimizing compiler for Python using LLVM License: BSD-2-Clause URL: https://numba.pydata.org/ # SourceRepository: https://github.com/numba/numba Source: https://files.pythonhosted.org/packages/source/n/numba/numba-%{version}.tar.gz -# PATCH-FIX-UPSTREAM numba-pr8620-np1.24.patch gh#numba/numba#8620 + raising upper bound in setup.py and numba/__init__.py -Patch1: numba-pr8620-np1.24.patch # PATCH-FIX-OPENSUSE skip tests failing due to OBS specifics Patch3: skip-failing-tests.patch -# PATCH-FIX-OPENSUSE update-tbb-backend-calls-2021.6.patch, based on gh#numba/numba#7608 -Patch4: update-tbb-backend-calls-2021.6.patch -BuildRequires: %{python_module devel >= 3.7} +BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module numpy-devel >= %{min_numpy_ver} with %python-numpy-devel < %{max_numpy_ver}} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} @@ -67,7 +65,7 @@ BuildRequires: gcc-c++ BuildRequires: python-rpm-macros BuildRequires: (tbb-devel >= 2021) -Requires: (python-llvmlite >= 0.39 with python-llvmlite < 0.40) +Requires: (python-llvmlite >= 0.40 with python-llvmlite < 0.41) Requires: (python-numpy >= %{min_numpy_ver} with python-numpy < %{max_numpy_ver}) Requires(post): update-alternatives Requires(postun):update-alternatives @@ -147,7 +145,6 @@ sed 's|^%{buildroot}|%%exclude |' devel-files0-%{$python_bin_suffix}.files > devel-files-exclude-%{$python_bin_suffix}.files } %python_clone -a %{buildroot}%{_bindir}/numba -%python_clone -a %{buildroot}%{_bindir}/pycc %endif %check @@ -164,7 +161,7 @@ %if !%{with test} %post -%python_install_alternative numba pycc +%python_install_alternative numba %postun %python_uninstall_alternative numba @@ -173,7 +170,6 @@ %license LICENSE %doc CHANGE_LOG README.rst %python_alternative %{_bindir}/numba -%python_alternative %{_bindir}/pycc %{python_sitearch}/numba/ %{python_sitearch}/numba-%{version}.dist-info ++++++ _multibuild ++++++ --- /var/tmp/diff_new_pack.U6itKE/_old 2023-05-26 20:16:04.948480460 +0200 +++ /var/tmp/diff_new_pack.U6itKE/_new 2023-05-26 20:16:04.952480483 +0200 @@ -1,5 +1,6 @@ <multibuild> <package>test-py39</package> <package>test-py310</package> + <package>test-py311</package> </multibuild> ++++++ numba-0.56.4.tar.gz -> numba-0.57.0.tar.gz ++++++ ++++ 63405 lines of diff (skipped) ++++++ skip-failing-tests.patch ++++++ --- /var/tmp/diff_new_pack.U6itKE/_old 2023-05-26 20:16:05.388483082 +0200 +++ /var/tmp/diff_new_pack.U6itKE/_new 2023-05-26 20:16:05.392483106 +0200 @@ -3,9 +3,11 @@ numba/tests/test_parfors_passes.py | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) ---- a/numba/tests/test_parfors.py -+++ b/numba/tests/test_parfors.py -@@ -1174,6 +1174,7 @@ class TestParforNumPy(TestParforsBase): +Index: numba-0.57.0/numba/tests/test_parfors.py +=================================================================== +--- numba-0.57.0.orig/numba/tests/test_parfors.py ++++ numba-0.57.0/numba/tests/test_parfors.py +@@ -1190,6 +1190,7 @@ class TestParforNumPy(TestParforsBase): self.check_variants(test_impl2, data_gen) self.count_parfors_variants(test_impl2, data_gen) @@ -13,16 +15,16 @@ def test_ndarray_fill(self): def test_impl(x): x.fill(7.0) -@@ -4396,7 +4397,7 @@ class TestParforsVectorizer(TestPrangeBa - # to check vsqrtpd operates on zmm - match_vsqrtpd_on_zmm = re.compile('\n\s+vsqrtpd\s+.*zmm.*\n') +@@ -4479,7 +4480,7 @@ class TestParforsVectorizer(TestPrangeBa + + return asm - @linux_only + @unittest.skip("Our x86_64 asm is most probably different from the upstream one.") def test_vectorizer_fastmath_asm(self): """ This checks that if fastmath is set and the underlying hardware is suitable, and the function supplied is amenable to fastmath based -@@ -4439,7 +4440,7 @@ class TestParforsVectorizer(TestPrangeBa +@@ -4519,7 +4520,7 @@ class TestParforsVectorizer(TestPrangeBa # check no zmm addressing is present self.assertTrue('zmm' not in v) @@ -31,8 +33,10 @@ def test_unsigned_refusal_to_vectorize(self): """ This checks that if fastmath is set and the underlying hardware is suitable, and the function supplied is amenable to fastmath based ---- a/numba/tests/test_parfors_passes.py -+++ b/numba/tests/test_parfors_passes.py +Index: numba-0.57.0/numba/tests/test_parfors_passes.py +=================================================================== +--- numba-0.57.0.orig/numba/tests/test_parfors_passes.py ++++ numba-0.57.0/numba/tests/test_parfors_passes.py @@ -516,6 +516,7 @@ class TestConvertLoopPass(BaseTest): str(raises.exception), ) @@ -41,10 +45,10 @@ def test_init_prange(self): def test_impl(): n = 20 -Index: numba-0.56.2/numba/tests/test_cli.py +Index: numba-0.57.0/numba/tests/test_cli.py =================================================================== ---- numba-0.56.2.orig/numba/tests/test_cli.py -+++ numba-0.56.2/numba/tests/test_cli.py +--- numba-0.57.0.orig/numba/tests/test_cli.py ++++ numba-0.57.0/numba/tests/test_cli.py @@ -264,6 +264,7 @@ class TestGDBCLIInfoBrokenGdbs(TestCase) self.assertIn("No such file or directory", stdout) self.assertIn(path, stdout)
