python-numba/skip-failing-tests.patch

44 lines
1.9 KiB
Diff
Raw Normal View History

Accepting request 880602 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.53.0 * Support for Python 3.9 * Function sub-typing * Initial support for dynamic gufuncs (i.e. from @guvectorize) * Parallel Accelerator (@njit(parallel=True) now supports Fortran ordered arrays * Full release notes at https://numba.readthedocs.io/en/0.53.0/release-notes.html - Don't unpin-llvmlite.patch. It really need to be the correct version. - Refresh skip-failing-tests.patch - Add packaging-ignore-setuptools-deprecation.patch gh#numba/numba#6837 - Add numba-pr6851-llvm-timings.patch gh#numba/numba#6851 in order to fix 32-bit issues gh#numba/numba#6832 - Update to 0.52.0 https://numba.readthedocs.io/en/stable/release-notes.html This release focuses on performance improvements, but also adds some new features and contains numerous bug fixes and stability improvements. Highlights of core performance improvements include: * Intel kindly sponsored research and development into producing a new reference count pruning pass. This pass operates at the LLVM level and can prune a number of common reference counting patterns. This will improve performance for two primary reasons: - There will be less pressure on the atomic locks used to do the reference counting. - Removal of reference counting operations permits more inlining and the optimisation passes can in general do more with what is present. (Siu Kwan Lam). * Intel also sponsored work to improve the performance of the numba.typed.List container, particularly in the case of __getitem__ and iteration (Stuart Archibald). * Superword-level parallelism vectorization is now switched on and the optimisation pipeline has been lightly analysed and tuned so as to be able to vectorize more and more often (Stuart Archibald). Highlights of core feature changes include: * The inspect_cfg method on the JIT dispatcher object has been significantly enhanced and now includes highlighted output and interleaved line markers and Python source (Stuart Archibald). * The BSD operating system is now unofficially supported (Stuart Archibald). * Numerous features/functionality improvements to NumPy support, including support for: - np.asfarray (Guilherme Leobas) - “subtyping” in record arrays (Lucio Fernandez-Arjona) - np.split and np.array_split (Isaac Virshup) - operator.contains with ndarray (@mugoh). - np.asarray_chkfinite (Rishabh Varshney). - NumPy 1.19 (Stuart Archibald). - the ndarray allocators, empty, ones and zeros, accepting a dtype specified as a string literal (Stuart Archibald). * Booleans are now supported as literal types (Alexey Kozlov). * On the CUDA target: * CUDA 9.0 is now the minimum supported version (Graham Markall). * Support for Unified Memory has been added (Max Katz). * Kernel launch overhead is reduced (Graham Markall). * Cudasim support for mapped array, memcopies and memset has been * added (Mike Williams). * Access has been wired in to all libdevice functions (Graham Markall). * Additional CUDA atomic operations have been added (Michae Collison). * Additional math library functions (frexp, ldexp, isfinite) (Zhihao * Yuan). * Support for power on complex numbers (Graham Markall). Deprecations to note: * There are no new deprecations. However, note that “compatibility” mode, which was added some 40 releases ago to help transition from 0.11 to 0.12+, has been removed! Also, the shim to permit the import of jitclass from Numba’s top level namespace has now been removed as per the deprecation schedule. - NEP 29: Skip python36 build. Python 3.6 is dropped by NumPy 1.20 OBS-URL: https://build.opensuse.org/request/show/880602 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=47
2021-03-22 23:18:24 +01:00
Index: numba-0.53.0/numba/tests/test_parfors.py
===================================================================
Accepting request 880602 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.53.0 * Support for Python 3.9 * Function sub-typing * Initial support for dynamic gufuncs (i.e. from @guvectorize) * Parallel Accelerator (@njit(parallel=True) now supports Fortran ordered arrays * Full release notes at https://numba.readthedocs.io/en/0.53.0/release-notes.html - Don't unpin-llvmlite.patch. It really need to be the correct version. - Refresh skip-failing-tests.patch - Add packaging-ignore-setuptools-deprecation.patch gh#numba/numba#6837 - Add numba-pr6851-llvm-timings.patch gh#numba/numba#6851 in order to fix 32-bit issues gh#numba/numba#6832 - Update to 0.52.0 https://numba.readthedocs.io/en/stable/release-notes.html This release focuses on performance improvements, but also adds some new features and contains numerous bug fixes and stability improvements. Highlights of core performance improvements include: * Intel kindly sponsored research and development into producing a new reference count pruning pass. This pass operates at the LLVM level and can prune a number of common reference counting patterns. This will improve performance for two primary reasons: - There will be less pressure on the atomic locks used to do the reference counting. - Removal of reference counting operations permits more inlining and the optimisation passes can in general do more with what is present. (Siu Kwan Lam). * Intel also sponsored work to improve the performance of the numba.typed.List container, particularly in the case of __getitem__ and iteration (Stuart Archibald). * Superword-level parallelism vectorization is now switched on and the optimisation pipeline has been lightly analysed and tuned so as to be able to vectorize more and more often (Stuart Archibald). Highlights of core feature changes include: * The inspect_cfg method on the JIT dispatcher object has been significantly enhanced and now includes highlighted output and interleaved line markers and Python source (Stuart Archibald). * The BSD operating system is now unofficially supported (Stuart Archibald). * Numerous features/functionality improvements to NumPy support, including support for: - np.asfarray (Guilherme Leobas) - “subtyping” in record arrays (Lucio Fernandez-Arjona) - np.split and np.array_split (Isaac Virshup) - operator.contains with ndarray (@mugoh). - np.asarray_chkfinite (Rishabh Varshney). - NumPy 1.19 (Stuart Archibald). - the ndarray allocators, empty, ones and zeros, accepting a dtype specified as a string literal (Stuart Archibald). * Booleans are now supported as literal types (Alexey Kozlov). * On the CUDA target: * CUDA 9.0 is now the minimum supported version (Graham Markall). * Support for Unified Memory has been added (Max Katz). * Kernel launch overhead is reduced (Graham Markall). * Cudasim support for mapped array, memcopies and memset has been * added (Mike Williams). * Access has been wired in to all libdevice functions (Graham Markall). * Additional CUDA atomic operations have been added (Michae Collison). * Additional math library functions (frexp, ldexp, isfinite) (Zhihao * Yuan). * Support for power on complex numbers (Graham Markall). Deprecations to note: * There are no new deprecations. However, note that “compatibility” mode, which was added some 40 releases ago to help transition from 0.11 to 0.12+, has been removed! Also, the shim to permit the import of jitclass from Numba’s top level namespace has now been removed as per the deprecation schedule. - NEP 29: Skip python36 build. Python 3.6 is dropped by NumPy 1.20 OBS-URL: https://build.opensuse.org/request/show/880602 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=47
2021-03-22 23:18:24 +01:00
--- numba-0.53.0.orig/numba/tests/test_parfors.py
+++ numba-0.53.0/numba/tests/test_parfors.py
@@ -1649,7 +1649,7 @@ class TestParfors(TestParforsBase):
msg = ("The reshape API may only include one negative argument.")
self.assertIn(msg, str(raised.exception))
Accepting request 798175 from home:mcalabkova:branches:devel:languages:python:numeric - Update to 0.49.0 * Removal of all Python 2 related code and also updating the minimum supported Python version to 3.6, the minimum supported NumPy version to 1.15 and the minimum supported SciPy version to 1.0. (Stuart Archibald). * Refactoring of the Numba code base. The code is now organised into submodules by functionality. This cleans up Numba's top level namespace. (Stuart Archibald). * Introduction of an ``ir.Del`` free static single assignment form for Numba's intermediate representation (Siu Kwan Lam and Stuart Archibald). * An OpenMP-like thread masking API has been added for use with code using the parallel CPU backends (Aaron Meurer and Stuart Archibald). * For the CUDA target, all kernel launches now require a configuration, this preventing accidental launches of kernels with the old default of a single thread in a single block. The hard-coded autotuner is also now removed, such tuning is deferred to CUDA API calls that provide the same functionality (Graham Markall). * The CUDA target also gained an External Memory Management plugin interface to allow Numba to use another CUDA-aware library for all memory allocations and deallocations (Graham Markall). * The Numba Typed List container gained support for construction from iterables (Valentin Haenel). * Experimental support was added for first-class function types (Pearu Peterson). - Refreshed patch skip-failing-tests.patch * the troublesome tests are skipped upstream on 32-bit - Unpin llvmlite OBS-URL: https://build.opensuse.org/request/show/798175 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=41
2020-04-27 21:40:16 +02:00
- @skip_parfors_unsupported
+ @unittest.skip("Fails on type check in OBS")
def test_ndarray_fill(self):
def test_impl(x):
x.fill(7.0)
Accepting request 880602 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.53.0 * Support for Python 3.9 * Function sub-typing * Initial support for dynamic gufuncs (i.e. from @guvectorize) * Parallel Accelerator (@njit(parallel=True) now supports Fortran ordered arrays * Full release notes at https://numba.readthedocs.io/en/0.53.0/release-notes.html - Don't unpin-llvmlite.patch. It really need to be the correct version. - Refresh skip-failing-tests.patch - Add packaging-ignore-setuptools-deprecation.patch gh#numba/numba#6837 - Add numba-pr6851-llvm-timings.patch gh#numba/numba#6851 in order to fix 32-bit issues gh#numba/numba#6832 - Update to 0.52.0 https://numba.readthedocs.io/en/stable/release-notes.html This release focuses on performance improvements, but also adds some new features and contains numerous bug fixes and stability improvements. Highlights of core performance improvements include: * Intel kindly sponsored research and development into producing a new reference count pruning pass. This pass operates at the LLVM level and can prune a number of common reference counting patterns. This will improve performance for two primary reasons: - There will be less pressure on the atomic locks used to do the reference counting. - Removal of reference counting operations permits more inlining and the optimisation passes can in general do more with what is present. (Siu Kwan Lam). * Intel also sponsored work to improve the performance of the numba.typed.List container, particularly in the case of __getitem__ and iteration (Stuart Archibald). * Superword-level parallelism vectorization is now switched on and the optimisation pipeline has been lightly analysed and tuned so as to be able to vectorize more and more often (Stuart Archibald). Highlights of core feature changes include: * The inspect_cfg method on the JIT dispatcher object has been significantly enhanced and now includes highlighted output and interleaved line markers and Python source (Stuart Archibald). * The BSD operating system is now unofficially supported (Stuart Archibald). * Numerous features/functionality improvements to NumPy support, including support for: - np.asfarray (Guilherme Leobas) - “subtyping” in record arrays (Lucio Fernandez-Arjona) - np.split and np.array_split (Isaac Virshup) - operator.contains with ndarray (@mugoh). - np.asarray_chkfinite (Rishabh Varshney). - NumPy 1.19 (Stuart Archibald). - the ndarray allocators, empty, ones and zeros, accepting a dtype specified as a string literal (Stuart Archibald). * Booleans are now supported as literal types (Alexey Kozlov). * On the CUDA target: * CUDA 9.0 is now the minimum supported version (Graham Markall). * Support for Unified Memory has been added (Max Katz). * Kernel launch overhead is reduced (Graham Markall). * Cudasim support for mapped array, memcopies and memset has been * added (Mike Williams). * Access has been wired in to all libdevice functions (Graham Markall). * Additional CUDA atomic operations have been added (Michae Collison). * Additional math library functions (frexp, ldexp, isfinite) (Zhihao * Yuan). * Support for power on complex numbers (Graham Markall). Deprecations to note: * There are no new deprecations. However, note that “compatibility” mode, which was added some 40 releases ago to help transition from 0.11 to 0.12+, has been removed! Also, the shim to permit the import of jitclass from Numba’s top level namespace has now been removed as per the deprecation schedule. - NEP 29: Skip python36 build. Python 3.6 is dropped by NumPy 1.20 OBS-URL: https://build.opensuse.org/request/show/880602 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=47
2021-03-22 23:18:24 +01:00
@@ -2842,7 +2842,7 @@ class TestParforsVectorizer(TestPrangeBa
Accepting request 798175 from home:mcalabkova:branches:devel:languages:python:numeric - Update to 0.49.0 * Removal of all Python 2 related code and also updating the minimum supported Python version to 3.6, the minimum supported NumPy version to 1.15 and the minimum supported SciPy version to 1.0. (Stuart Archibald). * Refactoring of the Numba code base. The code is now organised into submodules by functionality. This cleans up Numba's top level namespace. (Stuart Archibald). * Introduction of an ``ir.Del`` free static single assignment form for Numba's intermediate representation (Siu Kwan Lam and Stuart Archibald). * An OpenMP-like thread masking API has been added for use with code using the parallel CPU backends (Aaron Meurer and Stuart Archibald). * For the CUDA target, all kernel launches now require a configuration, this preventing accidental launches of kernels with the old default of a single thread in a single block. The hard-coded autotuner is also now removed, such tuning is deferred to CUDA API calls that provide the same functionality (Graham Markall). * The CUDA target also gained an External Memory Management plugin interface to allow Numba to use another CUDA-aware library for all memory allocations and deallocations (Graham Markall). * The Numba Typed List container gained support for construction from iterables (Valentin Haenel). * Experimental support was added for first-class function types (Pearu Peterson). - Refreshed patch skip-failing-tests.patch * the troublesome tests are skipped upstream on 32-bit - Unpin llvmlite OBS-URL: https://build.opensuse.org/request/show/798175 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=41
2020-04-27 21:40:16 +02:00
# to check vsqrtpd operates on zmm
match_vsqrtpd_on_zmm = re.compile('\n\s+vsqrtpd\s+.*zmm.*\n')
- @linux_only
+ @unittest.skip("Our x86_64 asm is most probably different from the Travis 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
Accepting request 880602 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.53.0 * Support for Python 3.9 * Function sub-typing * Initial support for dynamic gufuncs (i.e. from @guvectorize) * Parallel Accelerator (@njit(parallel=True) now supports Fortran ordered arrays * Full release notes at https://numba.readthedocs.io/en/0.53.0/release-notes.html - Don't unpin-llvmlite.patch. It really need to be the correct version. - Refresh skip-failing-tests.patch - Add packaging-ignore-setuptools-deprecation.patch gh#numba/numba#6837 - Add numba-pr6851-llvm-timings.patch gh#numba/numba#6851 in order to fix 32-bit issues gh#numba/numba#6832 - Update to 0.52.0 https://numba.readthedocs.io/en/stable/release-notes.html This release focuses on performance improvements, but also adds some new features and contains numerous bug fixes and stability improvements. Highlights of core performance improvements include: * Intel kindly sponsored research and development into producing a new reference count pruning pass. This pass operates at the LLVM level and can prune a number of common reference counting patterns. This will improve performance for two primary reasons: - There will be less pressure on the atomic locks used to do the reference counting. - Removal of reference counting operations permits more inlining and the optimisation passes can in general do more with what is present. (Siu Kwan Lam). * Intel also sponsored work to improve the performance of the numba.typed.List container, particularly in the case of __getitem__ and iteration (Stuart Archibald). * Superword-level parallelism vectorization is now switched on and the optimisation pipeline has been lightly analysed and tuned so as to be able to vectorize more and more often (Stuart Archibald). Highlights of core feature changes include: * The inspect_cfg method on the JIT dispatcher object has been significantly enhanced and now includes highlighted output and interleaved line markers and Python source (Stuart Archibald). * The BSD operating system is now unofficially supported (Stuart Archibald). * Numerous features/functionality improvements to NumPy support, including support for: - np.asfarray (Guilherme Leobas) - “subtyping” in record arrays (Lucio Fernandez-Arjona) - np.split and np.array_split (Isaac Virshup) - operator.contains with ndarray (@mugoh). - np.asarray_chkfinite (Rishabh Varshney). - NumPy 1.19 (Stuart Archibald). - the ndarray allocators, empty, ones and zeros, accepting a dtype specified as a string literal (Stuart Archibald). * Booleans are now supported as literal types (Alexey Kozlov). * On the CUDA target: * CUDA 9.0 is now the minimum supported version (Graham Markall). * Support for Unified Memory has been added (Max Katz). * Kernel launch overhead is reduced (Graham Markall). * Cudasim support for mapped array, memcopies and memset has been * added (Mike Williams). * Access has been wired in to all libdevice functions (Graham Markall). * Additional CUDA atomic operations have been added (Michae Collison). * Additional math library functions (frexp, ldexp, isfinite) (Zhihao * Yuan). * Support for power on complex numbers (Graham Markall). Deprecations to note: * There are no new deprecations. However, note that “compatibility” mode, which was added some 40 releases ago to help transition from 0.11 to 0.12+, has been removed! Also, the shim to permit the import of jitclass from Numba’s top level namespace has now been removed as per the deprecation schedule. - NEP 29: Skip python36 build. Python 3.6 is dropped by NumPy 1.20 OBS-URL: https://build.opensuse.org/request/show/880602 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=47
2021-03-22 23:18:24 +01:00
@@ -2885,7 +2885,7 @@ class TestParforsVectorizer(TestPrangeBa
Accepting request 798175 from home:mcalabkova:branches:devel:languages:python:numeric - Update to 0.49.0 * Removal of all Python 2 related code and also updating the minimum supported Python version to 3.6, the minimum supported NumPy version to 1.15 and the minimum supported SciPy version to 1.0. (Stuart Archibald). * Refactoring of the Numba code base. The code is now organised into submodules by functionality. This cleans up Numba's top level namespace. (Stuart Archibald). * Introduction of an ``ir.Del`` free static single assignment form for Numba's intermediate representation (Siu Kwan Lam and Stuart Archibald). * An OpenMP-like thread masking API has been added for use with code using the parallel CPU backends (Aaron Meurer and Stuart Archibald). * For the CUDA target, all kernel launches now require a configuration, this preventing accidental launches of kernels with the old default of a single thread in a single block. The hard-coded autotuner is also now removed, such tuning is deferred to CUDA API calls that provide the same functionality (Graham Markall). * The CUDA target also gained an External Memory Management plugin interface to allow Numba to use another CUDA-aware library for all memory allocations and deallocations (Graham Markall). * The Numba Typed List container gained support for construction from iterables (Valentin Haenel). * Experimental support was added for first-class function types (Pearu Peterson). - Refreshed patch skip-failing-tests.patch * the troublesome tests are skipped upstream on 32-bit - Unpin llvmlite OBS-URL: https://build.opensuse.org/request/show/798175 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=41
2020-04-27 21:40:16 +02:00
# check no zmm addressing is present
self.assertTrue('zmm' not in v)
- @linux_only
+ @unittest.skip("Our x86_64 asm is most probably different from the Travis one.")
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
Accepting request 880602 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.53.0 * Support for Python 3.9 * Function sub-typing * Initial support for dynamic gufuncs (i.e. from @guvectorize) * Parallel Accelerator (@njit(parallel=True) now supports Fortran ordered arrays * Full release notes at https://numba.readthedocs.io/en/0.53.0/release-notes.html - Don't unpin-llvmlite.patch. It really need to be the correct version. - Refresh skip-failing-tests.patch - Add packaging-ignore-setuptools-deprecation.patch gh#numba/numba#6837 - Add numba-pr6851-llvm-timings.patch gh#numba/numba#6851 in order to fix 32-bit issues gh#numba/numba#6832 - Update to 0.52.0 https://numba.readthedocs.io/en/stable/release-notes.html This release focuses on performance improvements, but also adds some new features and contains numerous bug fixes and stability improvements. Highlights of core performance improvements include: * Intel kindly sponsored research and development into producing a new reference count pruning pass. This pass operates at the LLVM level and can prune a number of common reference counting patterns. This will improve performance for two primary reasons: - There will be less pressure on the atomic locks used to do the reference counting. - Removal of reference counting operations permits more inlining and the optimisation passes can in general do more with what is present. (Siu Kwan Lam). * Intel also sponsored work to improve the performance of the numba.typed.List container, particularly in the case of __getitem__ and iteration (Stuart Archibald). * Superword-level parallelism vectorization is now switched on and the optimisation pipeline has been lightly analysed and tuned so as to be able to vectorize more and more often (Stuart Archibald). Highlights of core feature changes include: * The inspect_cfg method on the JIT dispatcher object has been significantly enhanced and now includes highlighted output and interleaved line markers and Python source (Stuart Archibald). * The BSD operating system is now unofficially supported (Stuart Archibald). * Numerous features/functionality improvements to NumPy support, including support for: - np.asfarray (Guilherme Leobas) - “subtyping” in record arrays (Lucio Fernandez-Arjona) - np.split and np.array_split (Isaac Virshup) - operator.contains with ndarray (@mugoh). - np.asarray_chkfinite (Rishabh Varshney). - NumPy 1.19 (Stuart Archibald). - the ndarray allocators, empty, ones and zeros, accepting a dtype specified as a string literal (Stuart Archibald). * Booleans are now supported as literal types (Alexey Kozlov). * On the CUDA target: * CUDA 9.0 is now the minimum supported version (Graham Markall). * Support for Unified Memory has been added (Max Katz). * Kernel launch overhead is reduced (Graham Markall). * Cudasim support for mapped array, memcopies and memset has been * added (Mike Williams). * Access has been wired in to all libdevice functions (Graham Markall). * Additional CUDA atomic operations have been added (Michae Collison). * Additional math library functions (frexp, ldexp, isfinite) (Zhihao * Yuan). * Support for power on complex numbers (Graham Markall). Deprecations to note: * There are no new deprecations. However, note that “compatibility” mode, which was added some 40 releases ago to help transition from 0.11 to 0.12+, has been removed! Also, the shim to permit the import of jitclass from Numba’s top level namespace has now been removed as per the deprecation schedule. - NEP 29: Skip python36 build. Python 3.6 is dropped by NumPy 1.20 OBS-URL: https://build.opensuse.org/request/show/880602 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=47
2021-03-22 23:18:24 +01:00
Index: numba-0.53.0/numba/tests/test_parfors_passes.py
Accepting request 798175 from home:mcalabkova:branches:devel:languages:python:numeric - Update to 0.49.0 * Removal of all Python 2 related code and also updating the minimum supported Python version to 3.6, the minimum supported NumPy version to 1.15 and the minimum supported SciPy version to 1.0. (Stuart Archibald). * Refactoring of the Numba code base. The code is now organised into submodules by functionality. This cleans up Numba's top level namespace. (Stuart Archibald). * Introduction of an ``ir.Del`` free static single assignment form for Numba's intermediate representation (Siu Kwan Lam and Stuart Archibald). * An OpenMP-like thread masking API has been added for use with code using the parallel CPU backends (Aaron Meurer and Stuart Archibald). * For the CUDA target, all kernel launches now require a configuration, this preventing accidental launches of kernels with the old default of a single thread in a single block. The hard-coded autotuner is also now removed, such tuning is deferred to CUDA API calls that provide the same functionality (Graham Markall). * The CUDA target also gained an External Memory Management plugin interface to allow Numba to use another CUDA-aware library for all memory allocations and deallocations (Graham Markall). * The Numba Typed List container gained support for construction from iterables (Valentin Haenel). * Experimental support was added for first-class function types (Pearu Peterson). - Refreshed patch skip-failing-tests.patch * the troublesome tests are skipped upstream on 32-bit - Unpin llvmlite OBS-URL: https://build.opensuse.org/request/show/798175 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=41
2020-04-27 21:40:16 +02:00
===================================================================
Accepting request 880602 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.53.0 * Support for Python 3.9 * Function sub-typing * Initial support for dynamic gufuncs (i.e. from @guvectorize) * Parallel Accelerator (@njit(parallel=True) now supports Fortran ordered arrays * Full release notes at https://numba.readthedocs.io/en/0.53.0/release-notes.html - Don't unpin-llvmlite.patch. It really need to be the correct version. - Refresh skip-failing-tests.patch - Add packaging-ignore-setuptools-deprecation.patch gh#numba/numba#6837 - Add numba-pr6851-llvm-timings.patch gh#numba/numba#6851 in order to fix 32-bit issues gh#numba/numba#6832 - Update to 0.52.0 https://numba.readthedocs.io/en/stable/release-notes.html This release focuses on performance improvements, but also adds some new features and contains numerous bug fixes and stability improvements. Highlights of core performance improvements include: * Intel kindly sponsored research and development into producing a new reference count pruning pass. This pass operates at the LLVM level and can prune a number of common reference counting patterns. This will improve performance for two primary reasons: - There will be less pressure on the atomic locks used to do the reference counting. - Removal of reference counting operations permits more inlining and the optimisation passes can in general do more with what is present. (Siu Kwan Lam). * Intel also sponsored work to improve the performance of the numba.typed.List container, particularly in the case of __getitem__ and iteration (Stuart Archibald). * Superword-level parallelism vectorization is now switched on and the optimisation pipeline has been lightly analysed and tuned so as to be able to vectorize more and more often (Stuart Archibald). Highlights of core feature changes include: * The inspect_cfg method on the JIT dispatcher object has been significantly enhanced and now includes highlighted output and interleaved line markers and Python source (Stuart Archibald). * The BSD operating system is now unofficially supported (Stuart Archibald). * Numerous features/functionality improvements to NumPy support, including support for: - np.asfarray (Guilherme Leobas) - “subtyping” in record arrays (Lucio Fernandez-Arjona) - np.split and np.array_split (Isaac Virshup) - operator.contains with ndarray (@mugoh). - np.asarray_chkfinite (Rishabh Varshney). - NumPy 1.19 (Stuart Archibald). - the ndarray allocators, empty, ones and zeros, accepting a dtype specified as a string literal (Stuart Archibald). * Booleans are now supported as literal types (Alexey Kozlov). * On the CUDA target: * CUDA 9.0 is now the minimum supported version (Graham Markall). * Support for Unified Memory has been added (Max Katz). * Kernel launch overhead is reduced (Graham Markall). * Cudasim support for mapped array, memcopies and memset has been * added (Mike Williams). * Access has been wired in to all libdevice functions (Graham Markall). * Additional CUDA atomic operations have been added (Michae Collison). * Additional math library functions (frexp, ldexp, isfinite) (Zhihao * Yuan). * Support for power on complex numbers (Graham Markall). Deprecations to note: * There are no new deprecations. However, note that “compatibility” mode, which was added some 40 releases ago to help transition from 0.11 to 0.12+, has been removed! Also, the shim to permit the import of jitclass from Numba’s top level namespace has now been removed as per the deprecation schedule. - NEP 29: Skip python36 build. Python 3.6 is dropped by NumPy 1.20 OBS-URL: https://build.opensuse.org/request/show/880602 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=47
2021-03-22 23:18:24 +01:00
--- numba-0.53.0.orig/numba/tests/test_parfors_passes.py
+++ numba-0.53.0/numba/tests/test_parfors_passes.py
Accepting request 798175 from home:mcalabkova:branches:devel:languages:python:numeric - Update to 0.49.0 * Removal of all Python 2 related code and also updating the minimum supported Python version to 3.6, the minimum supported NumPy version to 1.15 and the minimum supported SciPy version to 1.0. (Stuart Archibald). * Refactoring of the Numba code base. The code is now organised into submodules by functionality. This cleans up Numba's top level namespace. (Stuart Archibald). * Introduction of an ``ir.Del`` free static single assignment form for Numba's intermediate representation (Siu Kwan Lam and Stuart Archibald). * An OpenMP-like thread masking API has been added for use with code using the parallel CPU backends (Aaron Meurer and Stuart Archibald). * For the CUDA target, all kernel launches now require a configuration, this preventing accidental launches of kernels with the old default of a single thread in a single block. The hard-coded autotuner is also now removed, such tuning is deferred to CUDA API calls that provide the same functionality (Graham Markall). * The CUDA target also gained an External Memory Management plugin interface to allow Numba to use another CUDA-aware library for all memory allocations and deallocations (Graham Markall). * The Numba Typed List container gained support for construction from iterables (Valentin Haenel). * Experimental support was added for first-class function types (Pearu Peterson). - Refreshed patch skip-failing-tests.patch * the troublesome tests are skipped upstream on 32-bit - Unpin llvmlite OBS-URL: https://build.opensuse.org/request/show/798175 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=41
2020-04-27 21:40:16 +02:00
@@ -512,6 +512,7 @@ class TestConvertLoopPass(BaseTest):
str(raises.exception),
)
+ @unittest.skip("Fails on type check in OBS")
def test_init_prange(self):
def test_impl():
n = 20