Hello community, here is the log from the commit of package python-numba for openSUSE:Factory checked in at 2020-11-04 18:26:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-numba (Old) and /work/SRC/openSUSE:Factory/.python-numba.new.11331 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-numba" Wed Nov 4 18:26:23 2020 rev:27 rq:845716 version:0.51.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-numba/python-numba.changes 2020-05-28 09:16:07.748795226 +0200 +++ /work/SRC/openSUSE:Factory/.python-numba.new.11331/python-numba.changes 2020-11-04 18:31:35.156254972 +0100 @@ -1,0 +2,31 @@ +Mon Nov 2 16:34:48 UTC 2020 - Marketa Calabkova <[email protected]> + +- Update to 0.51.2 + * The compilation chain is now based on LLVM 10 (Valentin Haenel). + * Numba has internally switched to prefer non-literal types over literal ones so + as to reduce function over-specialisation, this with view of speeding up + compile times (Siu Kwan Lam). + * On the CUDA target: Support for CUDA Toolkit 11, Ampere, and Compute + Capability 8.0; Printing of ``SASS`` code for kernels; Callbacks to Python + functions can be inserted into CUDA streams, and streams are async awaitable; + Atomic ``nanmin`` and ``nanmax`` functions are added; Fixes for various + miscompilations and segfaults. (mostly Graham Markall; call backs on + streams by Peter Würtz). + * Support for heterogeneous immutable lists and heterogeneous immutable string + key dictionaries. Also optional initial/construction value capturing for all + lists and dictionaries containing literal values (Stuart Archibald). + * A new pass-by-reference mutable structure extension type ``StructRef`` (Siu + Kwan Lam). + * Object mode blocks are now cacheable, with the side effect of numerous bug + fixes and performance improvements in caching. This also permits caching of + functions defined in closures (Siu Kwan Lam). + * The error handling and reporting system has been improved to reduce the size + of error messages, and also improve quality and specificity. + * The CUDA target has more stream constructors available and a new function for + compiling to PTX without linking and loading the code to a device. Further, + the macro-based system for describing CUDA threads and blocks has been + replaced with standard typing and lowering implementations, for improved + debugging and extensibility. +- Better unpin llvmlite with unpin-llvmlite.patch to avoid breakages + +------------------------------------------------------------------- Old: ---- numba-0.49.1.tar.gz New: ---- numba-0.51.2.tar.gz unpin-llvmlite.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-numba.spec ++++++ --- /var/tmp/diff_new_pack.1t0ahS/_old 2020-11-04 18:31:35.692253784 +0100 +++ /var/tmp/diff_new_pack.1t0ahS/_new 2020-11-04 18:31:35.692253784 +0100 @@ -27,7 +27,7 @@ %bcond_with test %endif Name: python-numba%{psuffix} -Version: 0.49.1 +Version: 0.51.2 Release: 0 Summary: NumPy-aware optimizing compiler for Python using LLVM License: BSD-2-Clause @@ -36,6 +36,7 @@ Patch0: skip-failing-tests.patch # PATCH-FIX-UPSTREAM fix-max-name-size.patch -- fix for gh#numba/numba#3876 -- from gh#numba/numba#4373 Patch1: fix-max-name-size.patch +Patch2: unpin-llvmlite.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy-devel >= 1.15} BuildRequires: %{python_module setuptools} @@ -43,7 +44,7 @@ BuildRequires: gcc-c++ BuildRequires: python-rpm-macros BuildRequires: tbb-devel -Requires: python-llvmlite >= 0.31 +Requires: python-llvmlite >= 0.33 Requires: python-numpy >= 1.15 Requires: python-scipy >= 0.16 Requires(post): update-alternatives @@ -58,9 +59,10 @@ BuildRequires: %{python_module Pygments} BuildRequires: %{python_module cffi} BuildRequires: %{python_module ipython} -BuildRequires: %{python_module llvmlite >= 0.31} +BuildRequires: %{python_module llvmlite >= 0.33} BuildRequires: %{python_module numba >= %{version}} BuildRequires: %{python_module numba-devel >= %{version}} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module scipy >= 0.16} BuildRequires: %{python_module tbb} @@ -96,7 +98,6 @@ %prep %setup -q -n numba-%{version} %autopatch -p1 -sed -i '1{\@^#!%{_bindir}/env python@d}' numba/appdirs.py # due to new numpy version tests now fail # Remove this with version update! (>0.48.0) @@ -111,8 +112,6 @@ rm numba/tests/test_typedlist.py # as we reduced the amount of tests: sed -i -e 's:5000:3000:' numba/tests/test_runtests.py -# unpin llvmlite since it screws up dependencies -sed -i 's/,<={max_llvmlite_version}//' setup.py %build export CFLAGS="%{optflags} -fPIC" ++++++ numba-0.49.1.tar.gz -> numba-0.51.2.tar.gz ++++++ ++++ 36613 lines of diff (skipped) ++++++ unpin-llvmlite.patch ++++++ Index: numba-0.51.2/setup.py =================================================================== --- numba-0.51.2.orig/setup.py +++ numba-0.51.2/setup.py @@ -300,7 +300,7 @@ packages = find_packages(include=["numba build_requires = ['numpy >={}'.format(min_numpy_build_version)] install_requires = [ - 'llvmlite >={},<{}'.format(min_llvmlite_version, max_llvmlite_version), + 'llvmlite >={}'.format(min_llvmlite_version), 'numpy >={}'.format(min_numpy_run_version), 'setuptools', ]
