pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/py-numba py-numba: updated to 0.46.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/576560a0fd85
branches: trunk
changeset: 342459:576560a0fd85
user: adam <adam%pkgsrc.org@localhost>
date: Sat Oct 19 14:17:02 2019 +0000
description:
py-numba: updated to 0.46.0
Version 0.46.0
This release significantly reworked one of the main parts of Numba, the compiler
pipeline, to make it more extensible and easier to use. The purpose of this was
to continue enhancing Numba's ability for use as a compiler toolkit. In a
similar vein, Numba now has an extension registration mechanism to allow other
Numba-using projects to automatically have their Numba JIT compilable functions
discovered. There were also a number of other related compiler toolkit
enhancement added along with some more NumPy features and a lot of bug fixes.
This release has updated the CUDA Array Interface specification to version 2,
which clarifies the `strides` attribute for C-contiguous arrays and specifies
the treatment for zero-size arrays. The implementation in Numba has been
changed and may affect downstream packages relying on the old behavior
General Enhancements:
* Add rewrite for semantic constants.
* Add np.cross support
* Make IR comparable and legalize it.
* R&D inlining, jitted and overloaded.
* Automatic JIT of called functions
* Inspection tool to check what numba supports
* Implement np.count_nonzero
* Unicode array support
* Entrypoints for numba extensions
* Literal dispatch
* Allow dtype input argument in np.sum
* New compiler.
* add support for np.append
* Refactor NRT C-API
* 0.46 scheduled deprecations
* Add env var to disable performance warnings.
* add np.array_equal support
* Implement numba.cross2d
* Add triangular indices functions
* Enable support for count() method for unicode string
Fixes:
* Fix inplace operator error for arrays
* Detect and raise unsupported on generator expressions
* Don't allow the allocation of mutable objects written into a
container to be hoisted.
* Avoid deprecated use of inspect.getargspec
* Replace GC macro with function call
* Loosen up typed container casting checks
* Fix some coding lines at the top of some files (utf8 -> utf-8)
* Replace "import \*" with explicit imports in numba/types
* Fix incorrect alg in isupper for ascii strings.
* test using jitclass in typed-list
* Add allocation hoisting info to LICM section at diagnostic L4
* Offset search box to avoid wrapping on some pages with Safari.
* Replace all "except BaseException" with "except Exception".
* Restore the "free" conda channel for NumPy 1.10 support.
* Add lowering for constant bytes.
* Add exception chaining for better error context
* Name of type should not contain user facing description for debug.
* Limit the number of return types for recursive functions
* Fixed two module teardown races in py2.
* Fix and test numpy.random.random_sample(n) for np117
* NamedTuple - Raises an error on non-iterable elements
* Add a newline in patched errors
* Fix liveness for remove dead of parfors (and other IR extensions)
* Make List.__getitem__ accept unsigned parameters
* Raise specific error at typing time for iteration on >1D array.
* Fix static_getitem with Literal type as index
* Update to inliner cost model information.
* Use specific random number seed when generating arbitrary test data
* Adjust test timeouts
* Skip unicode array tests on ppc64le that trigger an LLVM bug
* Fix packaging issue due to missing numba/cext
* Fix issue 4520 due to storage model mismatch
* Updates for llvmlite 0.30.0
CUDA Enhancements/Fixes:
* cudasim mishandling recarray
* Replace use of `np.prod` with `functools.reduce` for computing size
from shape
* Prevent taking the GIL in ForAll
* Just pass NULL for b2d_func for constant dynamic
sharedmem
* Update CUDA Array Interface & Enforce Numba compliance
* Implement math.{degrees, radians} for the CUDA target.
* Bump cuda array interface to version 2
Documentation Updates:
* Add docs for ARMv8/AArch64
* Add supported platforms to the docs.
* Add docstrings to inspect methods
* Update Python 2.7 EOL statement
* Add note about np.sum
* Minor parallel performance tips edits
* Clarify docs for typed dict with regard to arrays
* Fix example in guvectorize docstring.
* fix two typos in architecture.rst
* Document numba.extending.intrinsic and inlining.
* Fix typo in jit-compilation docs
* add dependency list to docs
* Add documentation for implementing new compiler passes.
diffstat:
math/py-numba/Makefile | 6 +-
math/py-numba/PLIST | 123 +++++++++++++++++++++++++++++++++++++++++++-----
math/py-numba/distinfo | 10 +-
3 files changed, 116 insertions(+), 23 deletions(-)
diffs (truncated from 391 to 300 lines):
diff -r 0fa5aad031cf -r 576560a0fd85 math/py-numba/Makefile
--- a/math/py-numba/Makefile Sat Oct 19 14:12:45 2019 +0000
+++ b/math/py-numba/Makefile Sat Oct 19 14:17:02 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2019/08/06 20:00:42 adam Exp $
+# $NetBSD: Makefile,v 1.12 2019/10/19 14:17:02 adam Exp $
-DISTNAME= numba-0.45.1
+DISTNAME= numba-0.46.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/numba/}
@@ -10,7 +10,7 @@
COMMENT= NumPy aware dynamic Python compiler using LLVM
LICENSE= 2-clause-bsd
-DEPENDS+= ${PYPKGPREFIX}-llvmlite>=0.29.0:../../devel/py-llvmlite
+DEPENDS+= ${PYPKGPREFIX}-llvmlite>=0.30.0:../../devel/py-llvmlite
USE_LANGUAGES= c c++
diff -r 0fa5aad031cf -r 576560a0fd85 math/py-numba/PLIST
--- a/math/py-numba/PLIST Sat Oct 19 14:12:45 2019 +0000
+++ b/math/py-numba/PLIST Sat Oct 19 14:17:02 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2019/06/21 08:07:47 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2019/10/19 14:17:02 adam Exp $
bin/numba-${PYVERSSUFFIX}
bin/pycc-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -13,8 +13,6 @@
${PYSITELIB}/numba/__main__.pyc
${PYSITELIB}/numba/__main__.pyo
${PYSITELIB}/numba/_arraystruct.h
-${PYSITELIB}/numba/_dictobject.c
-${PYSITELIB}/numba/_dictobject.h
${PYSITELIB}/numba/_dispatcher.c
${PYSITELIB}/numba/_dispatcher.h
${PYSITELIB}/numba/_dispatcher.so
@@ -38,6 +36,7 @@
${PYSITELIB}/numba/_runtests.pyo
${PYSITELIB}/numba/_typeof.c
${PYSITELIB}/numba/_typeof.h
+${PYSITELIB}/numba/_unicodetype_db.h
${PYSITELIB}/numba/_version.py
${PYSITELIB}/numba/_version.pyc
${PYSITELIB}/numba/_version.pyo
@@ -70,18 +69,33 @@
${PYSITELIB}/numba/ccallback.py
${PYSITELIB}/numba/ccallback.pyc
${PYSITELIB}/numba/ccallback.pyo
+${PYSITELIB}/numba/cext/__init__.py
+${PYSITELIB}/numba/cext/__init__.pyc
+${PYSITELIB}/numba/cext/__init__.pyo
+${PYSITELIB}/numba/cext/cext.h
+${PYSITELIB}/numba/cext/dictobject.c
+${PYSITELIB}/numba/cext/dictobject.h
+${PYSITELIB}/numba/cext/listobject.c
+${PYSITELIB}/numba/cext/listobject.h
+${PYSITELIB}/numba/cext/utils.c
${PYSITELIB}/numba/cffi_support.py
${PYSITELIB}/numba/cffi_support.pyc
${PYSITELIB}/numba/cffi_support.pyo
${PYSITELIB}/numba/cgutils.py
${PYSITELIB}/numba/cgutils.pyc
${PYSITELIB}/numba/cgutils.pyo
+${PYSITELIB}/numba/charseq.py
+${PYSITELIB}/numba/charseq.pyc
+${PYSITELIB}/numba/charseq.pyo
${PYSITELIB}/numba/compiler.py
${PYSITELIB}/numba/compiler.pyc
${PYSITELIB}/numba/compiler.pyo
${PYSITELIB}/numba/compiler_lock.py
${PYSITELIB}/numba/compiler_lock.pyc
${PYSITELIB}/numba/compiler_lock.pyo
+${PYSITELIB}/numba/compiler_machinery.py
+${PYSITELIB}/numba/compiler_machinery.pyc
+${PYSITELIB}/numba/compiler_machinery.pyo
${PYSITELIB}/numba/config.py
${PYSITELIB}/numba/config.pyc
${PYSITELIB}/numba/config.pyo
@@ -495,9 +509,6 @@
${PYSITELIB}/numba/cuda/tests/cudapy/test_sm.py
${PYSITELIB}/numba/cuda/tests/cudapy/test_sm.pyc
${PYSITELIB}/numba/cuda/tests/cudapy/test_sm.pyo
-${PYSITELIB}/numba/cuda/tests/cudapy/test_smart_array.py
-${PYSITELIB}/numba/cuda/tests/cudapy/test_smart_array.pyc
-${PYSITELIB}/numba/cuda/tests/cudapy/test_smart_array.pyo
${PYSITELIB}/numba/cuda/tests/cudapy/test_sync.py
${PYSITELIB}/numba/cuda/tests/cudapy/test_sync.pyc
${PYSITELIB}/numba/cuda/tests/cudapy/test_sync.pyo
@@ -582,6 +593,9 @@
${PYSITELIB}/numba/dummyarray.py
${PYSITELIB}/numba/dummyarray.pyc
${PYSITELIB}/numba/dummyarray.pyo
+${PYSITELIB}/numba/entrypoints.py
+${PYSITELIB}/numba/entrypoints.pyc
+${PYSITELIB}/numba/entrypoints.pyo
${PYSITELIB}/numba/errors.py
${PYSITELIB}/numba/errors.pyc
${PYSITELIB}/numba/errors.pyo
@@ -597,6 +611,12 @@
${PYSITELIB}/numba/generators.py
${PYSITELIB}/numba/generators.pyc
${PYSITELIB}/numba/generators.pyo
+${PYSITELIB}/numba/help/__init__.py
+${PYSITELIB}/numba/help/__init__.pyc
+${PYSITELIB}/numba/help/__init__.pyo
+${PYSITELIB}/numba/help/inspector.py
+${PYSITELIB}/numba/help/inspector.pyc
+${PYSITELIB}/numba/help/inspector.pyo
${PYSITELIB}/numba/inline_closurecall.py
${PYSITELIB}/numba/inline_closurecall.pyc
${PYSITELIB}/numba/inline_closurecall.pyo
@@ -628,6 +648,9 @@
${PYSITELIB}/numba/jitclass/decorators.py
${PYSITELIB}/numba/jitclass/decorators.pyc
${PYSITELIB}/numba/jitclass/decorators.pyo
+${PYSITELIB}/numba/listobject.py
+${PYSITELIB}/numba/listobject.pyc
+${PYSITELIB}/numba/listobject.pyo
${PYSITELIB}/numba/lowering.py
${PYSITELIB}/numba/lowering.pyc
${PYSITELIB}/numba/lowering.pyo
@@ -675,9 +698,15 @@
${PYSITELIB}/numba/numba_entry.py
${PYSITELIB}/numba/numba_entry.pyc
${PYSITELIB}/numba/numba_entry.pyo
+${PYSITELIB}/numba/numpy_extensions.py
+${PYSITELIB}/numba/numpy_extensions.pyc
+${PYSITELIB}/numba/numpy_extensions.pyo
${PYSITELIB}/numba/numpy_support.py
${PYSITELIB}/numba/numpy_support.pyc
${PYSITELIB}/numba/numpy_support.pyo
+${PYSITELIB}/numba/object_mode_passes.py
+${PYSITELIB}/numba/object_mode_passes.pyc
+${PYSITELIB}/numba/object_mode_passes.pyo
${PYSITELIB}/numba/parfor.py
${PYSITELIB}/numba/parfor.pyc
${PYSITELIB}/numba/parfor.pyo
@@ -915,6 +944,7 @@
${PYSITELIB}/numba/runtime/nrt.py
${PYSITELIB}/numba/runtime/nrt.pyc
${PYSITELIB}/numba/runtime/nrt.pyo
+${PYSITELIB}/numba/runtime/nrt_external.h
${PYSITELIB}/numba/runtime/nrtdynmod.py
${PYSITELIB}/numba/runtime/nrtdynmod.pyc
${PYSITELIB}/numba/runtime/nrtdynmod.pyo
@@ -945,9 +975,6 @@
${PYSITELIB}/numba/six.py
${PYSITELIB}/numba/six.pyc
${PYSITELIB}/numba/six.pyo
-${PYSITELIB}/numba/smartarray.py
-${PYSITELIB}/numba/smartarray.pyc
-${PYSITELIB}/numba/smartarray.pyo
${PYSITELIB}/numba/special.py
${PYSITELIB}/numba/special.pyc
${PYSITELIB}/numba/special.pyo
@@ -991,6 +1018,9 @@
${PYSITELIB}/numba/targets/cpu.py
${PYSITELIB}/numba/targets/cpu.pyc
${PYSITELIB}/numba/targets/cpu.pyo
+${PYSITELIB}/numba/targets/cpu_options.py
+${PYSITELIB}/numba/targets/cpu_options.pyc
+${PYSITELIB}/numba/targets/cpu_options.pyo
${PYSITELIB}/numba/targets/descriptors.py
${PYSITELIB}/numba/targets/descriptors.pyc
${PYSITELIB}/numba/targets/descriptors.pyo
@@ -1030,6 +1060,9 @@
${PYSITELIB}/numba/targets/listobj.py
${PYSITELIB}/numba/targets/listobj.pyc
${PYSITELIB}/numba/targets/listobj.pyo
+${PYSITELIB}/numba/targets/literal_dispatch.py
+${PYSITELIB}/numba/targets/literal_dispatch.pyc
+${PYSITELIB}/numba/targets/literal_dispatch.pyo
${PYSITELIB}/numba/targets/mathimpl.py
${PYSITELIB}/numba/targets/mathimpl.pyc
${PYSITELIB}/numba/targets/mathimpl.pyo
@@ -1081,9 +1114,6 @@
${PYSITELIB}/numba/targets/slicing.py
${PYSITELIB}/numba/targets/slicing.pyc
${PYSITELIB}/numba/targets/slicing.pyo
-${PYSITELIB}/numba/targets/smartarray.py
-${PYSITELIB}/numba/targets/smartarray.pyc
-${PYSITELIB}/numba/targets/smartarray.pyo
${PYSITELIB}/numba/targets/tupleobj.py
${PYSITELIB}/numba/targets/tupleobj.pyc
${PYSITELIB}/numba/targets/tupleobj.pyo
@@ -1138,6 +1168,12 @@
${PYSITELIB}/numba/tests/enum_usecases.py
${PYSITELIB}/numba/tests/enum_usecases.pyc
${PYSITELIB}/numba/tests/enum_usecases.pyo
+${PYSITELIB}/numba/tests/error_usecases.py
+${PYSITELIB}/numba/tests/error_usecases.pyc
+${PYSITELIB}/numba/tests/error_usecases.pyo
+${PYSITELIB}/numba/tests/inlining_usecases.py
+${PYSITELIB}/numba/tests/inlining_usecases.pyc
+${PYSITELIB}/numba/tests/inlining_usecases.pyo
${PYSITELIB}/numba/tests/jitclass_usecases.py
${PYSITELIB}/numba/tests/jitclass_usecases.pyc
${PYSITELIB}/numba/tests/jitclass_usecases.pyo
@@ -1180,9 +1216,15 @@
${PYSITELIB}/numba/tests/npyufunc/test_vectorize_decor.py
${PYSITELIB}/numba/tests/npyufunc/test_vectorize_decor.pyc
${PYSITELIB}/numba/tests/npyufunc/test_vectorize_decor.pyo
+${PYSITELIB}/numba/tests/orphaned_semaphore_usecase.py
+${PYSITELIB}/numba/tests/orphaned_semaphore_usecase.pyc
+${PYSITELIB}/numba/tests/orphaned_semaphore_usecase.pyo
${PYSITELIB}/numba/tests/overload_usecases.py
${PYSITELIB}/numba/tests/overload_usecases.pyc
${PYSITELIB}/numba/tests/overload_usecases.pyo
+${PYSITELIB}/numba/tests/parfors_cache_usecases.py
+${PYSITELIB}/numba/tests/parfors_cache_usecases.pyc
+${PYSITELIB}/numba/tests/parfors_cache_usecases.pyo
${PYSITELIB}/numba/tests/pdlike_usecase.py
${PYSITELIB}/numba/tests/pdlike_usecase.pyc
${PYSITELIB}/numba/tests/pdlike_usecase.pyo
@@ -1255,6 +1297,9 @@
${PYSITELIB}/numba/tests/test_builtins.py
${PYSITELIB}/numba/tests/test_builtins.pyc
${PYSITELIB}/numba/tests/test_builtins.pyo
+${PYSITELIB}/numba/tests/test_caching.py
+${PYSITELIB}/numba/tests/test_caching.pyc
+${PYSITELIB}/numba/tests/test_caching.pyo
${PYSITELIB}/numba/tests/test_casting.py
${PYSITELIB}/numba/tests/test_casting.pyc
${PYSITELIB}/numba/tests/test_casting.pyo
@@ -1342,6 +1387,9 @@
${PYSITELIB}/numba/tests/test_dyn_func.py
${PYSITELIB}/numba/tests/test_dyn_func.pyc
${PYSITELIB}/numba/tests/test_dyn_func.pyo
+${PYSITELIB}/numba/tests/test_entrypoints.py
+${PYSITELIB}/numba/tests/test_entrypoints.pyc
+${PYSITELIB}/numba/tests/test_entrypoints.pyo
${PYSITELIB}/numba/tests/test_enums.py
${PYSITELIB}/numba/tests/test_enums.pyc
${PYSITELIB}/numba/tests/test_enums.pyo
@@ -1396,6 +1444,9 @@
${PYSITELIB}/numba/tests/test_heapq.py
${PYSITELIB}/numba/tests/test_heapq.pyc
${PYSITELIB}/numba/tests/test_heapq.pyo
+${PYSITELIB}/numba/tests/test_help.py
+${PYSITELIB}/numba/tests/test_help.pyc
+${PYSITELIB}/numba/tests/test_help.pyo
${PYSITELIB}/numba/tests/test_import.py
${PYSITELIB}/numba/tests/test_import.pyc
${PYSITELIB}/numba/tests/test_import.pyo
@@ -1414,6 +1465,9 @@
${PYSITELIB}/numba/tests/test_ir.py
${PYSITELIB}/numba/tests/test_ir.pyc
${PYSITELIB}/numba/tests/test_ir.pyo
+${PYSITELIB}/numba/tests/test_ir_inlining.py
+${PYSITELIB}/numba/tests/test_ir_inlining.pyc
+${PYSITELIB}/numba/tests/test_ir_inlining.pyo
${PYSITELIB}/numba/tests/test_ir_utils.py
${PYSITELIB}/numba/tests/test_ir_utils.pyc
${PYSITELIB}/numba/tests/test_ir_utils.pyo
@@ -1423,6 +1477,9 @@
${PYSITELIB}/numba/tests/test_iteration.py
${PYSITELIB}/numba/tests/test_iteration.pyc
${PYSITELIB}/numba/tests/test_iteration.pyo
+${PYSITELIB}/numba/tests/test_jit_module.py
+${PYSITELIB}/numba/tests/test_jit_module.pyc
+${PYSITELIB}/numba/tests/test_jit_module.pyo
${PYSITELIB}/numba/tests/test_jitclasses.py
${PYSITELIB}/numba/tests/test_jitclasses.pyc
${PYSITELIB}/numba/tests/test_jitclasses.pyo
@@ -1432,9 +1489,18 @@
${PYSITELIB}/numba/tests/test_linalg.py
${PYSITELIB}/numba/tests/test_linalg.pyc
${PYSITELIB}/numba/tests/test_linalg.pyo
+${PYSITELIB}/numba/tests/test_listimpl.py
+${PYSITELIB}/numba/tests/test_listimpl.pyc
+${PYSITELIB}/numba/tests/test_listimpl.pyo
+${PYSITELIB}/numba/tests/test_listobject.py
+${PYSITELIB}/numba/tests/test_listobject.pyc
+${PYSITELIB}/numba/tests/test_listobject.pyo
${PYSITELIB}/numba/tests/test_lists.py
${PYSITELIB}/numba/tests/test_lists.pyc
${PYSITELIB}/numba/tests/test_lists.pyo
+${PYSITELIB}/numba/tests/test_literal_dispatch.py
+${PYSITELIB}/numba/tests/test_literal_dispatch.pyc
+${PYSITELIB}/numba/tests/test_literal_dispatch.pyo
${PYSITELIB}/numba/tests/test_llvm_version_check.py
${PYSITELIB}/numba/tests/test_llvm_version_check.pyc
${PYSITELIB}/numba/tests/test_llvm_version_check.pyo
@@ -1516,6 +1582,9 @@
${PYSITELIB}/numba/tests/test_parfors.py
${PYSITELIB}/numba/tests/test_parfors.pyc
${PYSITELIB}/numba/tests/test_parfors.pyo
+${PYSITELIB}/numba/tests/test_parfors_caching.py
+${PYSITELIB}/numba/tests/test_parfors_caching.pyc
+${PYSITELIB}/numba/tests/test_parfors_caching.pyo
${PYSITELIB}/numba/tests/test_pipeline.py
${PYSITELIB}/numba/tests/test_pipeline.pyc
${PYSITELIB}/numba/tests/test_pipeline.pyo
@@ -1570,9 +1639,6 @@
${PYSITELIB}/numba/tests/test_slices.py
${PYSITELIB}/numba/tests/test_slices.pyc
${PYSITELIB}/numba/tests/test_slices.pyo
Home |
Main Index |
Thread Index |
Old Index