pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/py-numba



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Jun  2 09:04:33 UTC 2019

Modified Files:
        pkgsrc/math/py-numba: Makefile PLIST distinfo

Log Message:
py-numba: updated to 0.44.0

Version 0.44.0

IMPORTANT: In this release a few significant deprecations (and some less
significant ones) are being made, users are encouraged to read the related
documentation.

General enhancements in this release include:
- Numba is backed by LLVM 8 on all platforms apart from ppc64le, which, due to
  bugs, remains on the LLVM 7.x series.
- Numba's dictionary support now includes type inference for keys and values.
- The .view() method now works for NumPy scalar types.
- Newly supported NumPy functions added: np.delete, np.nanquantile, np.quantile,
  np.repeat, np.shape.

In addition considerable effort has been made to fix some long standing bugs and
a large number of other bugs, the "Fixes" section is very large this time!

Enhancements from user contributed PRs (with thanks!):
- Max Bolingbroke added support for the selective use of fastmath flags in
  3847.
- Rob Ennis made min() and max() work on iterables in 3820 and added
  np.quantile and np.nanquantile in 3899.
- Sergey Shalnov added numerous unicode string related features, zfill in 3978,
  ljust in 4001, rjust and center in 4044 and strip, lstrip and rstrip in
  4048.
- Guilherme Leobas added support for np.delete in 3890
- Christoph Deil exposed the Numba CLI via python -m numba in 4066 and made
  numerous documentation fixes.
- Leo Schwarz wrote the bulk of the code for jitclass default constructor
  arguments in 3852.
- Nick White enhanced the CUDA backend to use min/max PTX instructions where
  possible in 4054.
- Lucio Fernandez-Arjona implemented the unicode string __mul__ function in
  3952.
- Dimitri Vorona wrote the bulk of the code to implement getitem and setitem for
  jitclass in 3861.

General Enhancements:

* Min max on iterables
* Unicode type iteration
* Allow fine-grained control of fastmath flags to partially address 2923
* Add support for np.delete
* Support for np.quantile and np.nanquantile
* Fix 3457 :: Implements np.repeat
* Add .view() method for NumPy scalars
* Update icc_rt clone recipe.
* __mul__ for strings, initial implementation and tests
* Type-inferred dictionary
* Create a view for string slicing to avoid extra allocations
* zfill operation implementation
* ljust operation implementation
* Support dict() and {}
* Support for llvm 8
* Make type.Optional str more representative
* Deprecation warnings
* rjust and center operations implementation
* strip, lstrip and rstrip operations implementation
* Expose numba CLI via python -m numba
* Impl np.shape and support function for asarray.
* Deprecate the use of iternext_impl without RefType

CUDA Enhancements/Fixes:
* Adds .nbytes property to CUDA device array objects.
* Add .inspect_ptx() to cuda device function
* CUDA: Use min/max PTX Instructions
* Update env-vars for CUDA libraries lookup

Documentation Updates:
* Code repository map
* adding Joris' Fosdem 2019 presentation
* order talks on applications of Numba by date
* fix two small typos in vectorize docs
* Fixup jitclass docs
* mention preprint repo in FAQ. Fixes 3981
* Correct runtests command in contributing.rst
* fix typo
* Ambiguous Documentation fix for guvectorize.
* Remove remaining mentions of autojit in docs
* Fix annotate example in docstring
* Add FAQ entry explaining Numba project name
* Add Documentation for atomicity of typed.Dict
* Remove info about CUDA ENVVAR potential replacement

Fixes:
* Resolves issue 3528.  Adds support for slices when not using parallel=True.
* Remove dels for known dead vars.
* Fix mutable flag transmission in .astype
* Fix some minor issues in the C source.
* Correct boolean reinterpretation of data
* Comments out the appveyor badge
* fixes flake8 after merge
* Add assert to ir.py to help enforce correct structuring
* fix preparfor dtype transform for datetime64
* Prevent mutation of objmode fallback IR.
* Updates for llvmlite 0.29
* Use safe_load from pyyaml.
* Add tolerance to network errors by permitting conda to retry
* Fix casting in namedtuple ctor.
* Fix array inliner for multiple array definition.
* Cherrypick 3903 to main
* Raise better error if unsupported jump opcode found.
* Apply flake8 to the numpy related files
* Silence DeprecationWarning
* Better error message for unknown opcode
* Fix typing of ufuncs in parfor conversion
* Return variable renaming dict from inline_closurecall
* Fix bug in alignment computation of Record.make_c_struct
* Fix error with pickling unicode
* Unicode split algo versioning
* Add handler for unknown locale to numba -s
* Permit Optionals in ufunc machinery
* Remove assert in type inference causing poor error message.
* add is_ascii flag to UnicodeType
* Prevent zero division error in np.linalg.cond
* Resolves 4007.
* Add a more specific error message for invalid write to a global.
* Fix handling of titles in record dtype
* Do a check if a call is const before saying that an object is multiply defined.
* Fix issue 4020.  Turn off no_cpython_wrapper flag when compiling for…
* [WIP] Fixing wrong dtype of array inside reflected list 4028
* Change IPython cache dir name to numba_cache
* Delete examples/notebooks/LinearRegr.py
* Catch writes to global typed.Dict and raise.
* Check tuple length
* Fix missing incref on optional return None
* Make the warnings fixer flush work for warning comparing on type.
* Fix function definition finding logic for commented def
* Fix alignment check on 32-bit.
* Use PEP 508 compliant env markers for install deps


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/math/py-numba/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/math/py-numba/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/py-numba/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-numba/Makefile
diff -u pkgsrc/math/py-numba/Makefile:1.8 pkgsrc/math/py-numba/Makefile:1.9
--- pkgsrc/math/py-numba/Makefile:1.8   Mon Apr  8 16:41:45 2019
+++ pkgsrc/math/py-numba/Makefile       Sun Jun  2 09:04:33 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2019/04/08 16:41:45 adam Exp $
+# $NetBSD: Makefile,v 1.9 2019/06/02 09:04:33 adam Exp $
 
-DISTNAME=      numba-0.43.1
+DISTNAME=      numba-0.44.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=n/numba/}
@@ -10,7 +10,7 @@ HOMEPAGE=     http://numba.pydata.org/
 COMMENT=       NumPy aware dynamic Python compiler using LLVM
 LICENSE=       2-clause-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-llvmlite>=0.28.0:../../devel/py-llvmlite
+DEPENDS+=      ${PYPKGPREFIX}-llvmlite>=0.29.0:../../devel/py-llvmlite
 
 USE_LANGUAGES= c c++
 
@@ -21,13 +21,12 @@ DEPENDS+=   ${PYPKGPREFIX}-funcsigs-[0-9]*
 DEPENDS+=      ${PYPKGPREFIX}-singledispatch-[0-9]*:../../devel/py-singledispatch
 .endif
 
-.include "../../math/py-numpy/buildlink3.mk"
-.include "../../lang/python/egg.mk"
-
 post-install:
 .for cmd in numba pycc
        cd ${DESTDIR}${PREFIX}/bin && \
-               ${MV} ${cmd} ${cmd}-${PYVERSSUFFIX} || ${TRUE}
+       ${MV} ${cmd} ${cmd}-${PYVERSSUFFIX} || ${TRUE}
 .endfor
 
+.include "../../lang/python/egg.mk"
+.include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/math/py-numba/PLIST
diff -u pkgsrc/math/py-numba/PLIST:1.6 pkgsrc/math/py-numba/PLIST:1.7
--- pkgsrc/math/py-numba/PLIST:1.6      Thu Mar 14 13:04:17 2019
+++ pkgsrc/math/py-numba/PLIST  Sun Jun  2 09:04:33 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2019/03/14 13:04:17 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2019/06/02 09:04:33 adam Exp $
 bin/numba-${PYVERSSUFFIX}
 bin/pycc-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -9,6 +9,9 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.tx
 ${PYSITELIB}/numba/__init__.py
 ${PYSITELIB}/numba/__init__.pyc
 ${PYSITELIB}/numba/__init__.pyo
+${PYSITELIB}/numba/__main__.py
+${PYSITELIB}/numba/__main__.pyc
+${PYSITELIB}/numba/__main__.pyo
 ${PYSITELIB}/numba/_arraystruct.h
 ${PYSITELIB}/numba/_dictobject.c
 ${PYSITELIB}/numba/_dictobject.h
@@ -106,6 +109,9 @@ ${PYSITELIB}/numba/cuda/codegen.pyo
 ${PYSITELIB}/numba/cuda/compiler.py
 ${PYSITELIB}/numba/cuda/compiler.pyc
 ${PYSITELIB}/numba/cuda/compiler.pyo
+${PYSITELIB}/numba/cuda/cuda_paths.py
+${PYSITELIB}/numba/cuda/cuda_paths.pyc
+${PYSITELIB}/numba/cuda/cuda_paths.pyo
 ${PYSITELIB}/numba/cuda/cudadecl.py
 ${PYSITELIB}/numba/cuda/cudadecl.pyc
 ${PYSITELIB}/numba/cuda/cudadecl.pyo
@@ -161,6 +167,9 @@ ${PYSITELIB}/numba/cuda/device_init.pyo
 ${PYSITELIB}/numba/cuda/dispatcher.py
 ${PYSITELIB}/numba/cuda/dispatcher.pyc
 ${PYSITELIB}/numba/cuda/dispatcher.pyo
+${PYSITELIB}/numba/cuda/envvars.py
+${PYSITELIB}/numba/cuda/envvars.pyc
+${PYSITELIB}/numba/cuda/envvars.pyo
 ${PYSITELIB}/numba/cuda/errors.py
 ${PYSITELIB}/numba/cuda/errors.pyc
 ${PYSITELIB}/numba/cuda/errors.pyo
@@ -435,6 +444,9 @@ ${PYSITELIB}/numba/cuda/tests/cudapy/tes
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_matmul.py
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_matmul.pyc
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_matmul.pyo
+${PYSITELIB}/numba/cuda/tests/cudapy/test_minmax.py
+${PYSITELIB}/numba/cuda/tests/cudapy/test_minmax.pyc
+${PYSITELIB}/numba/cuda/tests/cudapy/test_minmax.pyo
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_montecarlo.py
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_montecarlo.pyc
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_montecarlo.pyo
@@ -525,6 +537,9 @@ ${PYSITELIB}/numba/cuda/tests/cudasim/te
 ${PYSITELIB}/numba/cuda/tests/nocuda/__init__.py
 ${PYSITELIB}/numba/cuda/tests/nocuda/__init__.pyc
 ${PYSITELIB}/numba/cuda/tests/nocuda/__init__.pyo
+${PYSITELIB}/numba/cuda/tests/nocuda/test_library_lookup.py
+${PYSITELIB}/numba/cuda/tests/nocuda/test_library_lookup.pyc
+${PYSITELIB}/numba/cuda/tests/nocuda/test_library_lookup.pyo
 ${PYSITELIB}/numba/cuda/tests/nocuda/test_nvvm.py
 ${PYSITELIB}/numba/cuda/tests/nocuda/test_nvvm.pyc
 ${PYSITELIB}/numba/cuda/tests/nocuda/test_nvvm.pyo
@@ -979,6 +994,9 @@ ${PYSITELIB}/numba/targets/cpu.pyo
 ${PYSITELIB}/numba/targets/descriptors.py
 ${PYSITELIB}/numba/targets/descriptors.pyc
 ${PYSITELIB}/numba/targets/descriptors.pyo
+${PYSITELIB}/numba/targets/dictimpl.py
+${PYSITELIB}/numba/targets/dictimpl.pyc
+${PYSITELIB}/numba/targets/dictimpl.pyo
 ${PYSITELIB}/numba/targets/enumimpl.py
 ${PYSITELIB}/numba/targets/enumimpl.pyc
 ${PYSITELIB}/numba/targets/enumimpl.pyo
@@ -1120,6 +1138,9 @@ ${PYSITELIB}/numba/tests/dummy_module.py
 ${PYSITELIB}/numba/tests/enum_usecases.py
 ${PYSITELIB}/numba/tests/enum_usecases.pyc
 ${PYSITELIB}/numba/tests/enum_usecases.pyo
+${PYSITELIB}/numba/tests/jitclass_usecases.py
+${PYSITELIB}/numba/tests/jitclass_usecases.pyc
+${PYSITELIB}/numba/tests/jitclass_usecases.pyo
 ${PYSITELIB}/numba/tests/matmul_usecase.py
 ${PYSITELIB}/numba/tests/matmul_usecase.pyc
 ${PYSITELIB}/numba/tests/matmul_usecase.pyo
@@ -1249,6 +1270,9 @@ ${PYSITELIB}/numba/tests/test_cgutils.py
 ${PYSITELIB}/numba/tests/test_chained_assign.py
 ${PYSITELIB}/numba/tests/test_chained_assign.pyc
 ${PYSITELIB}/numba/tests/test_chained_assign.pyo
+${PYSITELIB}/numba/tests/test_cli.py
+${PYSITELIB}/numba/tests/test_cli.pyc
+${PYSITELIB}/numba/tests/test_cli.pyo
 ${PYSITELIB}/numba/tests/test_closure.py
 ${PYSITELIB}/numba/tests/test_closure.pyc
 ${PYSITELIB}/numba/tests/test_closure.pyo
@@ -1456,6 +1480,9 @@ ${PYSITELIB}/numba/tests/test_nrt_refct.
 ${PYSITELIB}/numba/tests/test_numberctor.py
 ${PYSITELIB}/numba/tests/test_numberctor.pyc
 ${PYSITELIB}/numba/tests/test_numberctor.pyo
+${PYSITELIB}/numba/tests/test_numbers.py
+${PYSITELIB}/numba/tests/test_numbers.pyc
+${PYSITELIB}/numba/tests/test_numbers.pyo
 ${PYSITELIB}/numba/tests/test_numconv.py
 ${PYSITELIB}/numba/tests/test_numconv.pyc
 ${PYSITELIB}/numba/tests/test_numconv.pyo
@@ -1721,6 +1748,9 @@ ${PYSITELIB}/numba/typing/context.pyo
 ${PYSITELIB}/numba/typing/ctypes_utils.py
 ${PYSITELIB}/numba/typing/ctypes_utils.pyc
 ${PYSITELIB}/numba/typing/ctypes_utils.pyo
+${PYSITELIB}/numba/typing/dictdecl.py
+${PYSITELIB}/numba/typing/dictdecl.pyc
+${PYSITELIB}/numba/typing/dictdecl.pyo
 ${PYSITELIB}/numba/typing/enumdecl.py
 ${PYSITELIB}/numba/typing/enumdecl.pyc
 ${PYSITELIB}/numba/typing/enumdecl.pyo
@@ -1763,6 +1793,9 @@ ${PYSITELIB}/numba/unsafe/bytes.pyo
 ${PYSITELIB}/numba/unsafe/ndarray.py
 ${PYSITELIB}/numba/unsafe/ndarray.pyc
 ${PYSITELIB}/numba/unsafe/ndarray.pyo
+${PYSITELIB}/numba/unsafe/numbers.py
+${PYSITELIB}/numba/unsafe/numbers.pyc
+${PYSITELIB}/numba/unsafe/numbers.pyo
 ${PYSITELIB}/numba/unsafe/refcount.py
 ${PYSITELIB}/numba/unsafe/refcount.pyc
 ${PYSITELIB}/numba/unsafe/refcount.pyo

Index: pkgsrc/math/py-numba/distinfo
diff -u pkgsrc/math/py-numba/distinfo:1.7 pkgsrc/math/py-numba/distinfo:1.8
--- pkgsrc/math/py-numba/distinfo:1.7   Mon Apr  8 16:41:45 2019
+++ pkgsrc/math/py-numba/distinfo       Sun Jun  2 09:04:33 2019
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2019/04/08 16:41:45 adam Exp $
+$NetBSD: distinfo,v 1.8 2019/06/02 09:04:33 adam Exp $
 
-SHA1 (numba-0.43.1.tar.gz) = 9c481eb42c57aa0c52388ff97f51d7db5ee81811
-RMD160 (numba-0.43.1.tar.gz) = 28137dbd32a3b8c3f7a91de867b7ce235517073e
-SHA512 (numba-0.43.1.tar.gz) = fd238611fed5c5dcb7c2d303c03c3d756e9c1b81e3c501858d03359683cf60b74a5bbd70615aa365419dbd55093c2fbff0c4ccf29bd209dca1f74b1f4465525e
-Size (numba-0.43.1.tar.gz) = 1646960 bytes
+SHA1 (numba-0.44.0.tar.gz) = c84ecfc0c5f5bf6873a3ad9cc734fdb11da941bc
+RMD160 (numba-0.44.0.tar.gz) = 69419353cc1bb337a4ba5f97513c09bed390c756
+SHA512 (numba-0.44.0.tar.gz) = d16d4bc06767d66751845a92b5017bc7f4bd9a3ab04626d759109d5091d7271fff4f6492701e989ffbc6d9bf21e1f8e44d4d3f36bb94a23060b7e68ad0376da3
+Size (numba-0.44.0.tar.gz) = 1691276 bytes
 SHA1 (patch-numba_npyufunc_workqueue.c) = 0bcbeff869174265a2d776f847e880a99676d812



Home | Main Index | Thread Index | Old Index