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.49.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/3721b7fa5acf
branches: trunk
changeset: 427578:3721b7fa5acf
user: adam <adam%pkgsrc.org@localhost>
date: Sat Apr 18 08:14:09 2020 +0000
description:
py-numba: updated to 0.49.0
Version 0.49.0:
This release is very large in terms of code changes. Large scale removal of unsupported Python and NumPy versions has taken place along with a significant amount of refactoring to simplify the Numba
code base to make it easier for contributors. Numba?s intermediate representation has also undergone some important changes to solve a number of long standing issues. In addition some new features
have been added and a large number of bugs have been fixed!
IMPORTANT: In this release Numba?s internals have moved about a lot. A backwards compatibility ?shim? is provided for this release so as to not immediately break projects using Numba?s internals. If
a module is imported from a moved location the shim will issue a deprecation warning and suggest how to update the import statement for the new location. The shim will be removed in 0.50.0!
Highlights of core feature changes include:
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.
Refactoring of the Numba code base. The code is now organised into submodules by functionality. This cleans up Numba?s top level namespace.
Introduction of an ir.Del free static single assignment form for Numba?s intermediate representation
An OpenMP-like thread masking API has been added for use with code using the parallel CPU backends
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
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
The Numba Typed List container gained support for construction from iterables
Experimental support was added for first-class function types
diffstat:
math/py-numba/Makefile | 11 +-
math/py-numba/PLIST | 1007 +++++++++++++++++++++++++++++++----------------
math/py-numba/distinfo | 11 +-
3 files changed, 661 insertions(+), 368 deletions(-)
diffs (truncated from 1409 to 300 lines):
diff -r a8a5c6cc2bea -r 3721b7fa5acf math/py-numba/Makefile
--- a/math/py-numba/Makefile Sat Apr 18 08:11:53 2020 +0000
+++ b/math/py-numba/Makefile Sat Apr 18 08:14:09 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2020/02/01 21:03:58 adam Exp $
+# $NetBSD: Makefile,v 1.16 2020/04/18 08:14:09 adam Exp $
-DISTNAME= numba-0.48.0
+DISTNAME= numba-0.49.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/numba/}
@@ -15,12 +15,7 @@
USE_LANGUAGES= c c++
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
-DEPENDS+= ${PYPKGPREFIX}-funcsigs-[0-9]*:../../devel/py-funcsigs
-DEPENDS+= ${PYPKGPREFIX}-singledispatch-[0-9]*:../../devel/py-singledispatch
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE= 27
post-install:
.for cmd in numba pycc
diff -r a8a5c6cc2bea -r 3721b7fa5acf math/py-numba/PLIST
--- a/math/py-numba/PLIST Sat Apr 18 08:11:53 2020 +0000
+++ b/math/py-numba/PLIST Sat Apr 18 08:14:09 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2020/02/01 21:03:58 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2020/04/18 08:14:09 adam Exp $
bin/numba-${PYVERSSUFFIX}
bin/pycc-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -25,15 +25,10 @@
${PYSITELIB}/numba/_helperlib.so
${PYSITELIB}/numba/_helpermod.c
${PYSITELIB}/numba/_lapack.c
-${PYSITELIB}/numba/_math_c99.c
-${PYSITELIB}/numba/_math_c99.h
${PYSITELIB}/numba/_npymath_exports.c
${PYSITELIB}/numba/_numba_common.h
${PYSITELIB}/numba/_pymodule.h
${PYSITELIB}/numba/_random.c
-${PYSITELIB}/numba/_runtests.py
-${PYSITELIB}/numba/_runtests.pyc
-${PYSITELIB}/numba/_runtests.pyo
${PYSITELIB}/numba/_typeof.c
${PYSITELIB}/numba/_typeof.h
${PYSITELIB}/numba/_unicodetype_db.h
@@ -43,13 +38,9 @@
${PYSITELIB}/numba/analysis.py
${PYSITELIB}/numba/analysis.pyc
${PYSITELIB}/numba/analysis.pyo
-${PYSITELIB}/numba/annotations/__init__.py
-${PYSITELIB}/numba/annotations/__init__.pyc
-${PYSITELIB}/numba/annotations/__init__.pyo
-${PYSITELIB}/numba/annotations/template.html
-${PYSITELIB}/numba/annotations/type_annotations.py
-${PYSITELIB}/numba/annotations/type_annotations.pyc
-${PYSITELIB}/numba/annotations/type_annotations.pyo
+${PYSITELIB}/numba/annotations.py
+${PYSITELIB}/numba/annotations.pyc
+${PYSITELIB}/numba/annotations.pyo
${PYSITELIB}/numba/appdirs.py
${PYSITELIB}/numba/appdirs.pyc
${PYSITELIB}/numba/appdirs.pyo
@@ -69,9 +60,6 @@
${PYSITELIB}/numba/callwrapper.pyc
${PYSITELIB}/numba/callwrapper.pyo
${PYSITELIB}/numba/capsulethunk.h
-${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
@@ -81,9 +69,6 @@
${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
@@ -108,9 +93,428 @@
${PYSITELIB}/numba/controlflow.py
${PYSITELIB}/numba/controlflow.pyc
${PYSITELIB}/numba/controlflow.pyo
-${PYSITELIB}/numba/ctypes_support.py
-${PYSITELIB}/numba/ctypes_support.pyc
-${PYSITELIB}/numba/ctypes_support.pyo
+${PYSITELIB}/numba/core/__init__.py
+${PYSITELIB}/numba/core/__init__.pyc
+${PYSITELIB}/numba/core/__init__.pyo
+${PYSITELIB}/numba/core/analysis.py
+${PYSITELIB}/numba/core/analysis.pyc
+${PYSITELIB}/numba/core/analysis.pyo
+${PYSITELIB}/numba/core/annotations/__init__.py
+${PYSITELIB}/numba/core/annotations/__init__.pyc
+${PYSITELIB}/numba/core/annotations/__init__.pyo
+${PYSITELIB}/numba/core/annotations/pretty_annotate.py
+${PYSITELIB}/numba/core/annotations/pretty_annotate.pyc
+${PYSITELIB}/numba/core/annotations/pretty_annotate.pyo
+${PYSITELIB}/numba/core/annotations/template.html
+${PYSITELIB}/numba/core/annotations/type_annotations.py
+${PYSITELIB}/numba/core/annotations/type_annotations.pyc
+${PYSITELIB}/numba/core/annotations/type_annotations.pyo
+${PYSITELIB}/numba/core/base.py
+${PYSITELIB}/numba/core/base.pyc
+${PYSITELIB}/numba/core/base.pyo
+${PYSITELIB}/numba/core/boxing.py
+${PYSITELIB}/numba/core/boxing.pyc
+${PYSITELIB}/numba/core/boxing.pyo
+${PYSITELIB}/numba/core/bytecode.py
+${PYSITELIB}/numba/core/bytecode.pyc
+${PYSITELIB}/numba/core/bytecode.pyo
+${PYSITELIB}/numba/core/byteflow.py
+${PYSITELIB}/numba/core/byteflow.pyc
+${PYSITELIB}/numba/core/byteflow.pyo
+${PYSITELIB}/numba/core/caching.py
+${PYSITELIB}/numba/core/caching.pyc
+${PYSITELIB}/numba/core/caching.pyo
+${PYSITELIB}/numba/core/callconv.py
+${PYSITELIB}/numba/core/callconv.pyc
+${PYSITELIB}/numba/core/callconv.pyo
+${PYSITELIB}/numba/core/callwrapper.py
+${PYSITELIB}/numba/core/callwrapper.pyc
+${PYSITELIB}/numba/core/callwrapper.pyo
+${PYSITELIB}/numba/core/ccallback.py
+${PYSITELIB}/numba/core/ccallback.pyc
+${PYSITELIB}/numba/core/ccallback.pyo
+${PYSITELIB}/numba/core/cgutils.py
+${PYSITELIB}/numba/core/cgutils.pyc
+${PYSITELIB}/numba/core/cgutils.pyo
+${PYSITELIB}/numba/core/codegen.py
+${PYSITELIB}/numba/core/codegen.pyc
+${PYSITELIB}/numba/core/codegen.pyo
+${PYSITELIB}/numba/core/compiler.py
+${PYSITELIB}/numba/core/compiler.pyc
+${PYSITELIB}/numba/core/compiler.pyo
+${PYSITELIB}/numba/core/compiler_lock.py
+${PYSITELIB}/numba/core/compiler_lock.pyc
+${PYSITELIB}/numba/core/compiler_lock.pyo
+${PYSITELIB}/numba/core/compiler_machinery.py
+${PYSITELIB}/numba/core/compiler_machinery.pyc
+${PYSITELIB}/numba/core/compiler_machinery.pyo
+${PYSITELIB}/numba/core/config.py
+${PYSITELIB}/numba/core/config.pyc
+${PYSITELIB}/numba/core/config.pyo
+${PYSITELIB}/numba/core/consts.py
+${PYSITELIB}/numba/core/consts.pyc
+${PYSITELIB}/numba/core/consts.pyo
+${PYSITELIB}/numba/core/controlflow.py
+${PYSITELIB}/numba/core/controlflow.pyc
+${PYSITELIB}/numba/core/controlflow.pyo
+${PYSITELIB}/numba/core/cpu.py
+${PYSITELIB}/numba/core/cpu.pyc
+${PYSITELIB}/numba/core/cpu.pyo
+${PYSITELIB}/numba/core/cpu_options.py
+${PYSITELIB}/numba/core/cpu_options.pyc
+${PYSITELIB}/numba/core/cpu_options.pyo
+${PYSITELIB}/numba/core/dataflow.py
+${PYSITELIB}/numba/core/dataflow.pyc
+${PYSITELIB}/numba/core/dataflow.pyo
+${PYSITELIB}/numba/core/datamodel/__init__.py
+${PYSITELIB}/numba/core/datamodel/__init__.pyc
+${PYSITELIB}/numba/core/datamodel/__init__.pyo
+${PYSITELIB}/numba/core/datamodel/manager.py
+${PYSITELIB}/numba/core/datamodel/manager.pyc
+${PYSITELIB}/numba/core/datamodel/manager.pyo
+${PYSITELIB}/numba/core/datamodel/models.py
+${PYSITELIB}/numba/core/datamodel/models.pyc
+${PYSITELIB}/numba/core/datamodel/models.pyo
+${PYSITELIB}/numba/core/datamodel/packer.py
+${PYSITELIB}/numba/core/datamodel/packer.pyc
+${PYSITELIB}/numba/core/datamodel/packer.pyo
+${PYSITELIB}/numba/core/datamodel/registry.py
+${PYSITELIB}/numba/core/datamodel/registry.pyc
+${PYSITELIB}/numba/core/datamodel/registry.pyo
+${PYSITELIB}/numba/core/datamodel/testing.py
+${PYSITELIB}/numba/core/datamodel/testing.pyc
+${PYSITELIB}/numba/core/datamodel/testing.pyo
+${PYSITELIB}/numba/core/debuginfo.py
+${PYSITELIB}/numba/core/debuginfo.pyc
+${PYSITELIB}/numba/core/debuginfo.pyo
+${PYSITELIB}/numba/core/decorators.py
+${PYSITELIB}/numba/core/decorators.pyc
+${PYSITELIB}/numba/core/decorators.pyo
+${PYSITELIB}/numba/core/descriptors.py
+${PYSITELIB}/numba/core/descriptors.pyc
+${PYSITELIB}/numba/core/descriptors.pyo
+${PYSITELIB}/numba/core/dispatcher.py
+${PYSITELIB}/numba/core/dispatcher.pyc
+${PYSITELIB}/numba/core/dispatcher.pyo
+${PYSITELIB}/numba/core/entrypoints.py
+${PYSITELIB}/numba/core/entrypoints.pyc
+${PYSITELIB}/numba/core/entrypoints.pyo
+${PYSITELIB}/numba/core/errors.py
+${PYSITELIB}/numba/core/errors.pyc
+${PYSITELIB}/numba/core/errors.pyo
+${PYSITELIB}/numba/core/extending.py
+${PYSITELIB}/numba/core/extending.pyc
+${PYSITELIB}/numba/core/extending.pyo
+${PYSITELIB}/numba/core/externals.py
+${PYSITELIB}/numba/core/externals.pyc
+${PYSITELIB}/numba/core/externals.pyo
+${PYSITELIB}/numba/core/fastmathpass.py
+${PYSITELIB}/numba/core/fastmathpass.pyc
+${PYSITELIB}/numba/core/fastmathpass.pyo
+${PYSITELIB}/numba/core/funcdesc.py
+${PYSITELIB}/numba/core/funcdesc.pyc
+${PYSITELIB}/numba/core/funcdesc.pyo
+${PYSITELIB}/numba/core/generators.py
+${PYSITELIB}/numba/core/generators.pyc
+${PYSITELIB}/numba/core/generators.pyo
+${PYSITELIB}/numba/core/imputils.py
+${PYSITELIB}/numba/core/imputils.pyc
+${PYSITELIB}/numba/core/imputils.pyo
+${PYSITELIB}/numba/core/inline_closurecall.py
+${PYSITELIB}/numba/core/inline_closurecall.pyc
+${PYSITELIB}/numba/core/inline_closurecall.pyo
+${PYSITELIB}/numba/core/interpreter.py
+${PYSITELIB}/numba/core/interpreter.pyc
+${PYSITELIB}/numba/core/interpreter.pyo
+${PYSITELIB}/numba/core/intrinsics.py
+${PYSITELIB}/numba/core/intrinsics.pyc
+${PYSITELIB}/numba/core/intrinsics.pyo
+${PYSITELIB}/numba/core/ir.py
+${PYSITELIB}/numba/core/ir.pyc
+${PYSITELIB}/numba/core/ir.pyo
+${PYSITELIB}/numba/core/ir_utils.py
+${PYSITELIB}/numba/core/ir_utils.pyc
+${PYSITELIB}/numba/core/ir_utils.pyo
+${PYSITELIB}/numba/core/itanium_mangler.py
+${PYSITELIB}/numba/core/itanium_mangler.pyc
+${PYSITELIB}/numba/core/itanium_mangler.pyo
+${PYSITELIB}/numba/core/lowering.py
+${PYSITELIB}/numba/core/lowering.pyc
+${PYSITELIB}/numba/core/lowering.pyo
+${PYSITELIB}/numba/core/object_mode_passes.py
+${PYSITELIB}/numba/core/object_mode_passes.pyc
+${PYSITELIB}/numba/core/object_mode_passes.pyo
+${PYSITELIB}/numba/core/optional.py
+${PYSITELIB}/numba/core/optional.pyc
+${PYSITELIB}/numba/core/optional.pyo
+${PYSITELIB}/numba/core/options.py
+${PYSITELIB}/numba/core/options.pyc
+${PYSITELIB}/numba/core/options.pyo
+${PYSITELIB}/numba/core/postproc.py
+${PYSITELIB}/numba/core/postproc.pyc
+${PYSITELIB}/numba/core/postproc.pyo
+${PYSITELIB}/numba/core/pylowering.py
+${PYSITELIB}/numba/core/pylowering.pyc
+${PYSITELIB}/numba/core/pylowering.pyo
+${PYSITELIB}/numba/core/pythonapi.py
+${PYSITELIB}/numba/core/pythonapi.pyc
+${PYSITELIB}/numba/core/pythonapi.pyo
+${PYSITELIB}/numba/core/registry.py
+${PYSITELIB}/numba/core/registry.pyc
+${PYSITELIB}/numba/core/registry.pyo
+${PYSITELIB}/numba/core/rewrites/__init__.py
+${PYSITELIB}/numba/core/rewrites/__init__.pyc
+${PYSITELIB}/numba/core/rewrites/__init__.pyo
+${PYSITELIB}/numba/core/rewrites/ir_print.py
+${PYSITELIB}/numba/core/rewrites/ir_print.pyc
+${PYSITELIB}/numba/core/rewrites/ir_print.pyo
+${PYSITELIB}/numba/core/rewrites/macros.py
+${PYSITELIB}/numba/core/rewrites/macros.pyc
+${PYSITELIB}/numba/core/rewrites/macros.pyo
+${PYSITELIB}/numba/core/rewrites/registry.py
+${PYSITELIB}/numba/core/rewrites/registry.pyc
+${PYSITELIB}/numba/core/rewrites/registry.pyo
+${PYSITELIB}/numba/core/rewrites/static_binop.py
+${PYSITELIB}/numba/core/rewrites/static_binop.pyc
+${PYSITELIB}/numba/core/rewrites/static_binop.pyo
+${PYSITELIB}/numba/core/rewrites/static_getitem.py
+${PYSITELIB}/numba/core/rewrites/static_getitem.pyc
+${PYSITELIB}/numba/core/rewrites/static_getitem.pyo
+${PYSITELIB}/numba/core/rewrites/static_raise.py
+${PYSITELIB}/numba/core/rewrites/static_raise.pyc
+${PYSITELIB}/numba/core/rewrites/static_raise.pyo
+${PYSITELIB}/numba/core/runtime/__init__.py
+${PYSITELIB}/numba/core/runtime/__init__.pyc
+${PYSITELIB}/numba/core/runtime/__init__.pyo
+${PYSITELIB}/numba/core/runtime/_nrt_python.c
+${PYSITELIB}/numba/core/runtime/_nrt_python.so
+${PYSITELIB}/numba/core/runtime/_nrt_pythonmod.c
+${PYSITELIB}/numba/core/runtime/context.py
+${PYSITELIB}/numba/core/runtime/context.pyc
+${PYSITELIB}/numba/core/runtime/context.pyo
+${PYSITELIB}/numba/core/runtime/nrt.c
+${PYSITELIB}/numba/core/runtime/nrt.h
+${PYSITELIB}/numba/core/runtime/nrt.py
+${PYSITELIB}/numba/core/runtime/nrt.pyc
+${PYSITELIB}/numba/core/runtime/nrt.pyo
+${PYSITELIB}/numba/core/runtime/nrt_external.h
Home |
Main Index |
Thread Index |
Old Index