- update to 0.59.1:
* Fixed caching of kernels that use target-specific overloads
* Fixed a performance regression introduced in Numba 0.59 which
made ``np.searchsorted`` considerably slower.
* This patch fixes two issues with ``np.searchsorted``. First,
a regression is fixed in the support of ``np.datetime64``.
Second, adopt ``NAT``-aware comparisons to fix mishandling
of ``NAT`` value.
* Allow use of Python 3.12 PEP-695 type parameter syntax
OBS-URL: https://build.opensuse.org/request/show/1160819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numba?expand=0&rev=46
* Fixed caching of kernels that use target-specific overloads
* Fixed a performance regression introduced in Numba 0.59 which
made ``np.searchsorted`` considerably slower.
* This patch fixes two issues with ``np.searchsorted``. First,
a regression is fixed in the support of ``np.datetime64``.
Second, adopt ``NAT``-aware comparisons to fix mishandling
of ``NAT`` value.
* Allow use of Python 3.12 PEP-695 type parameter syntax
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=84
- update to 0.59.0
* Python 3.12 support
* minimum supported version to 3.9
* Add support for ufunc attributes and reduce
* Add a config variable to enable / disable the llvmlite memory
manager
* see https://numba.readthedocs.io/en/stable/release/0.59.0-notes.html#highlights
* fix regressions with 0.57.0
+ Support is added for the dict(iterable) constructor.
- Clean up leftover Python 3.8 gubbins, look forward to Python 3.11 support.
This release focuses on performance improvements, but also adds
some new features and contains numerous bug fixes and stability
* 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
- There will be less pressure on the atomic locks used to do
- Removal of reference counting operations permits more
inlining and the optimisation passes can in general do more
* Intel also sponsored work to improve the performance of the
numba.typed.List container, particularly in the case of
* 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
* The inspect_cfg method on the JIT dispatcher object has been
significantly enhanced and now includes highlighted output and
* The BSD operating system is now unofficially supported (Stuart
* Numerous features/functionality improvements to NumPy support,
- the ndarray allocators, empty, ones and zeros, accepting a
OBS-URL: https://build.opensuse.org/request/show/1143960
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numba?expand=0&rev=43
* Python 3.12 support
* minimum supported version to 3.9
* Add support for ufunc attributes and reduce
* Add a config variable to enable / disable the llvmlite memory
manager
* see https://numba.readthedocs.io/en/stable/release/0.59.0-notes.html#highlights
* fix regressions with 0.57.0
+ Support is added for the dict(iterable) constructor.
- Clean up leftover Python 3.8 gubbins, look forward to Python 3.11 support.
This release focuses on performance improvements, but also adds
some new features and contains numerous bug fixes and stability
* 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
- There will be less pressure on the atomic locks used to do
- Removal of reference counting operations permits more
inlining and the optimisation passes can in general do more
* Intel also sponsored work to improve the performance of the
numba.typed.List container, particularly in the case of
* 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
* The inspect_cfg method on the JIT dispatcher object has been
significantly enhanced and now includes highlighted output and
* The BSD operating system is now unofficially supported (Stuart
* Numerous features/functionality improvements to NumPy support,
- the ndarray allocators, empty, ones and zeros, accepting a
* Cudasim support for mapped array, memcopies and memset has
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=77
- 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.
OBS-URL: https://build.opensuse.org/request/show/1089198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numba?expand=0&rev=38
* 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=67
- Update to 0.56.2
This release continues to add new features, bug fixes and stability
improvements to Numba. Please note that this will be the last release that
has support for Python 3.7 as the next release series (Numba 0.57) will
support Python 3.11! Also note that, this will be the last release to support
linux-32 packages produced by the Numba team.
- Remove fix-max-name-size.patch, it's included in the new version.
- Add update-tbb-backend-calls-2021.6.patch to make it compatible with the
latest tbb-devel version.
- Add fix-cli-test.patch to disable one test that fails with OBS.
OBS-URL: https://build.opensuse.org/request/show/1007810
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numba?expand=0&rev=34
This release continues to add new features, bug fixes and stability
improvements to Numba. Please note that this will be the last release that
has support for Python 3.7 as the next release series (Numba 0.57) will
support Python 3.11! Also note that, this will be the last release to support
linux-32 packages produced by the Numba team.
- Remove fix-max-name-size.patch, it's included in the new version.
- Add update-tbb-backend-calls-2021.6.patch to make it compatible with the
latest tbb-devel version.
- Add fix-cli-test.patch to disable one test that fails with OBS.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=55
- Update to 0.55.1
* This is a bugfix release that closes all the remaining issues
from the accelerated release of 0.55.0 and also any release
critical regressions discovered since then.
* CUDA target deprecation notices:
- Support for CUDA toolkits < 10.2 is deprecated and will be
removed in Numba 0.56.
- Support for devices with Compute Capability < 5.3 is
deprecated and will be removed in Numba 0.56.
- Drop numba-pr7748-random32bitwidth.patch
- Explicitly declare supported platforms (avoid failing tests on
ppc64)
OBS-URL: https://build.opensuse.org/request/show/949971
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=52
- Update to 0.54.1
* This is a bugfix release for 0.54.0. It fixes a regression in
structured array type handling, a potential leak on
initialization failure in the CUDA target, a regression caused
by Numba’s vendored cloudpickle module resetting dynamic
classes and a few minor testing/infrastructure related
problems.
- Release summary for 0.54.0
* This release includes a significant number of new features,
important refactoring, critical bug fixes and a number of
dependency upgrades.
* Python language support enhancements:
- Basic support for f-strings.
- dict comprehensions are now supported.
- The sum built-in function is implemented.
* NumPy features/enhancements, The following functions are now
supported:
- np.clip
- np.iscomplex
- np.iscomplexobj
- np.isneginf
- np.isposinf
- np.isreal
- np.isrealobj
- np.isscalar
- np.random.dirichlet
- np.rot90
- np.swapaxes
* Also np.argmax has gained support for the axis keyword argument
and it’s now possible to use 0d NumPy arrays as scalars in
OBS-URL: https://build.opensuse.org/request/show/932318
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=49
- 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
- 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
OBS-URL: https://build.opensuse.org/request/show/845659
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=45
- version update to 0.49.1
* PR #5587: Fixed#5586 Threading Implementation Typos
* PR #5592: Fixes#5583 Remove references to cffi_support from docs and examples
* PR #5614: Fix invalid type in resolve for comparison expr in parfors.
* PR #5624: Fix erroneous rewrite of predicate to bit const on prune.
* PR #5627: Fixes#5623, SSA local def scan based on invalid equality
assumption.
* PR #5629: Fixes naming error in array_exprs
* PR #5630: Fix#5570. Incorrect race variable detection due to SSA naming.
* PR #5638: Make literal_unroll function work as a freevar.
* PR #5648: Unset the memory manager after EMM Plugin tests
* PR #5651: Fix some SSA issues
* PR #5652: Pin to sphinx=2.4.4 to avoid problem with C declaration
* PR #5658: Fix unifying undefined first class function types issue
* PR #5669: Update example in 5m guide WRT SSA type stability.
* PR #5676: Restore ``numba.types`` as public API
OBS-URL: https://build.opensuse.org/request/show/809217
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=43
- 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