pkgsrc-WIP-changes archive

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

py-sparse: Update to 0.15.4



Module Name:	pkgsrc-wip
Committed By:	Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Sat Jun 29 13:07:33 2024 -0600
Changeset:	9a8a77b5a44119692f43314eafb1845043dbc554

Modified Files:
	py-sparse/Makefile
	py-sparse/PLIST
	py-sparse/distinfo

Log Message:
py-sparse: Update to 0.15.4

(Partial Changelog)

0.15.1 / 2024-01-10
    Fix regression where with XArray by supporting all API functions via the Array API standard. (PR #622 thanks @hameerabbasi)

0.15.0 / 2024-01-09
    Fix regression where DeprecationWarning`s were being fired unexpectedly. (:pr:`581 thanks @hameerabbasi)
    Extended sparse.einsum support (PR #579 thanks @HadrienNU)
    General code clean-up (PR #586 thanks @MHRasmy, PR #598 thanks @jamestwebber)
    Bug fixes with respect to NumPy compatibility (PR #598 thanks @hameerabbasi, PR #609 thanks @Illviljan, PR #620 thanks @mtsokol)
    Bug fixes with respect to GCXS (PR #611 thanks @EuGig, PR #601 thanks @jamestwebber)
    Array API standard support (PR #612, PR #613, PR #614, PR #615, PR #619, PR #620 thanks @mtsokol)
    matrepr support for display of sparse data (PR #605, PR #606 thanks @alugowski).
    Larger code clean-up with Ruff formatter and linter (PR #617, PR #621 thanks @hameerabbasi)
    Packaging and maintenance (PR #616, b5954e68d3d6e35a62f7401d1d4fb84ea04414dd, dda93d3ea9521881c721c3ba875c769c9c5a79d4 thanks @hameerabbasi)

0.14.0 / 2023-02-24
    sparse.einsum support (PR #564 thanks @jcmgray)
    Some bug-fixes (PR #524, PR #527, PR #555 thanks @hameerabbasi, PR #569, thanks @jamestwebber, PR #534, thanks @sarveshbhatnagar)
    Some performance improvements (PR #570, thanks @jamestwebber, PR #540, thanks @smldub).
    Miscellaneous maintenance fixes.

0.13.0 / 2021-08-28
    GCXS improvements and changes. (PR #448, PR #450, PR #455, thanks @sayandip18).
    Maintainence fixes (PR #462, PR #466, 1ccb85da581be65a0345b399e00fd3c325700d95, 5547b4e92dc8d61492e9dc10ba00175c1a6637fa 00c0e5514de2aab8b9a0be16b5da470b091d9eb9, fcd3020dd08c7022a44f709173fe23969d3e8f7c, thanks @hameerabbasi)
    sparse.DOK.from_scipy_sparse method (PR #464, Issue #463, thanks @hameerabbasi).
    Black re-formatting (PR #471, PR #484, thanks @GenevieveBuckley, @sayandip18)
    Add sparse.pad (PR #474, Issue #438, thanks @H4R5H1T-007)
    Switch to GitHub Actions (5547b4e92dc8d61492e9dc10ba00175c1a6637fa..a332f22c96a96e5ab9b4384342df67e8f3966f85)
    Fix a number of bugs in format conversion. (PR #504, Issue #503, thanks @hameerabbasi)
    Fix bug in sparse.matmul for higher-dimensional arrays. (PR #508, Issue #506, thanks @sayandip18).
    Fix scalar conversion to COO (Issue #510, PR #511, thanks @hameerabbasi)
    Fix OOB memory accesses (Issue #515, 1e24a7e29786e888dee4c02153309986ae4b5dde thanks @hameerabbasi)
    Fixes element-wise ops with scalar COO array. (Issue #505, 5211441ec685233657ab7156f99eb67e660cee86, thanks @hameerabbasi)
    Fix scalar broadcast_to with nnz==0. (Issue #513, bfabaa0805e811884e79c4bdbfd14316986d65e4, thanks @hameerabbasi)
    Add order parameter to {zero, ones, full}[_like]. (Issue #514, 37de1d0141c4375962ecdf18337c2dd0f667b60c, thanks @hameerabbasi)
    Fix tensordot typing bugs. (Issue #493, Issue #499, 37de1d0141c4375962ecdf18337c2dd0f667b60c, thanks @hameerabbasi).

0.12.0 / 2021-03-19
There are a number of large changes in this release. For example, we have implemented the GCXS type, and its specializations CSR and CSC. We plan on gradually improving the performance of these.
    A number of GCXS fixes and additions (PR #409, PR #407, PR #414, PR #417, PR #419 thanks @daletovar)
    Ability to change the index dtype for better storage characteristics. (PR #441, thanks @daletovar)
    Some work on DOK arrays to bring them closer to the other formats (PR #435, PR #437, PR #439, PR #440, thanks @DragaDoncila)
    CSR and CSC specializations of GCXS (PR #442, thanks @ivirshup) For now, this is experimental undocumented API, and subject to change.
    Fix a number of bugs (PR #407, Issue #406)
    Add nnz parameter to sparse.random (PR #410, thanks @emilmelnikov)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9a8a77b5a44119692f43314eafb1845043dbc554

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

diffstat:
 py-sparse/Makefile | 18 +++++++++++++---
 py-sparse/PLIST    | 61 +++++++++++++++++++++++++++++++++++++++++++++---------
 py-sparse/distinfo |  6 +++---
 3 files changed, 69 insertions(+), 16 deletions(-)

diffs:
diff --git a/py-sparse/Makefile b/py-sparse/Makefile
index f20e09b3f9..6bc8aafb24 100644
--- a/py-sparse/Makefile
+++ b/py-sparse/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	sparse-0.11.2
+DISTNAME=	sparse-0.15.4
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	math
 MASTER_SITES=	${MASTER_SITE_PYPI:=s/sparse/}
@@ -10,10 +10,22 @@ HOMEPAGE=	https://sparse.pydata.org/
 COMMENT=	Sparse multi-dimensional arrays for the PyData ecosystem
 LICENSE=	2-clause-bsd
 
+PYTHON_VERSIONS_INCOMPATIBLE=	27 38 312
+
+TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 DEPENDS+=	${PYPKGPREFIX}-numba>=0.51.2:../../math/py-numba
+DEPENDS+=	${PYPKGPREFIX}-numpy>=1.21:../../math/py-numpy
 DEPENDS+=	${PYPKGPREFIX}-scipy>=1.5.2:../../math/py-scipy
 
-BUILDLINK_API_DEPENDS.pynumpy+=	${PYPKGPREFIX}-numpy>=1.0
+BUILDLINK_API_DEPENDS.py-numpy+=     ${PYPKGPREFIX}-numpy>=1.17
+
+TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+=	${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
+TEST_DEPENDS+=	${PYPKGPREFIX}-scipy-[0-9]*:../../math/py-scipy
+TEST_DEPENDS+=	${PYPKGPREFIX}-dask-[0-9]*:../../wip/py-dask
+TEST_DEPENDS+=	${PYPKGPREFIX}-pre-commit-[0-9]*:../../wip/py-pre-commit
+
+.include "../../lang/python/wheel.mk"
 .include "../../math/py-numpy/buildlink3.mk"
-.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-sparse/PLIST b/py-sparse/PLIST
index d3e651bf8d..794eb6d345 100644
--- a/py-sparse/PLIST
+++ b/py-sparse/PLIST
@@ -1,11 +1,10 @@
 @comment $NetBSD$
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/sparse/__init__.py
 ${PYSITELIB}/sparse/__init__.pyc
 ${PYSITELIB}/sparse/__init__.pyo
@@ -42,9 +41,6 @@ ${PYSITELIB}/sparse/_coo/indexing.pyo
 ${PYSITELIB}/sparse/_coo/numba_extension.py
 ${PYSITELIB}/sparse/_coo/numba_extension.pyc
 ${PYSITELIB}/sparse/_coo/numba_extension.pyo
-${PYSITELIB}/sparse/_coo/umath.py
-${PYSITELIB}/sparse/_coo/umath.pyc
-${PYSITELIB}/sparse/_coo/umath.pyo
 ${PYSITELIB}/sparse/_dok.py
 ${PYSITELIB}/sparse/_dok.pyc
 ${PYSITELIB}/sparse/_dok.pyo
@@ -63,9 +59,54 @@ ${PYSITELIB}/sparse/_slicing.pyo
 ${PYSITELIB}/sparse/_sparse_array.py
 ${PYSITELIB}/sparse/_sparse_array.pyc
 ${PYSITELIB}/sparse/_sparse_array.pyo
+${PYSITELIB}/sparse/_umath.py
+${PYSITELIB}/sparse/_umath.pyc
+${PYSITELIB}/sparse/_umath.pyo
 ${PYSITELIB}/sparse/_utils.py
 ${PYSITELIB}/sparse/_utils.pyc
 ${PYSITELIB}/sparse/_utils.pyo
 ${PYSITELIB}/sparse/_version.py
 ${PYSITELIB}/sparse/_version.pyc
 ${PYSITELIB}/sparse/_version.pyo
+${PYSITELIB}/sparse/tests/conftest.py
+${PYSITELIB}/sparse/tests/conftest.pyc
+${PYSITELIB}/sparse/tests/conftest.pyo
+${PYSITELIB}/sparse/tests/test_array_function.py
+${PYSITELIB}/sparse/tests/test_array_function.pyc
+${PYSITELIB}/sparse/tests/test_array_function.pyo
+${PYSITELIB}/sparse/tests/test_compressed.py
+${PYSITELIB}/sparse/tests/test_compressed.pyc
+${PYSITELIB}/sparse/tests/test_compressed.pyo
+${PYSITELIB}/sparse/tests/test_compressed_2d.py
+${PYSITELIB}/sparse/tests/test_compressed_2d.pyc
+${PYSITELIB}/sparse/tests/test_compressed_2d.pyo
+${PYSITELIB}/sparse/tests/test_compressed_convert.py
+${PYSITELIB}/sparse/tests/test_compressed_convert.pyc
+${PYSITELIB}/sparse/tests/test_compressed_convert.pyo
+${PYSITELIB}/sparse/tests/test_conversion.py
+${PYSITELIB}/sparse/tests/test_conversion.pyc
+${PYSITELIB}/sparse/tests/test_conversion.pyo
+${PYSITELIB}/sparse/tests/test_coo.py
+${PYSITELIB}/sparse/tests/test_coo.pyc
+${PYSITELIB}/sparse/tests/test_coo.pyo
+${PYSITELIB}/sparse/tests/test_coo_numba.py
+${PYSITELIB}/sparse/tests/test_coo_numba.pyc
+${PYSITELIB}/sparse/tests/test_coo_numba.pyo
+${PYSITELIB}/sparse/tests/test_dask_interop.py
+${PYSITELIB}/sparse/tests/test_dask_interop.pyc
+${PYSITELIB}/sparse/tests/test_dask_interop.pyo
+${PYSITELIB}/sparse/tests/test_dok.py
+${PYSITELIB}/sparse/tests/test_dok.pyc
+${PYSITELIB}/sparse/tests/test_dok.pyo
+${PYSITELIB}/sparse/tests/test_dot.py
+${PYSITELIB}/sparse/tests/test_dot.pyc
+${PYSITELIB}/sparse/tests/test_dot.pyo
+${PYSITELIB}/sparse/tests/test_einsum.py
+${PYSITELIB}/sparse/tests/test_einsum.pyc
+${PYSITELIB}/sparse/tests/test_einsum.pyo
+${PYSITELIB}/sparse/tests/test_elemwise.py
+${PYSITELIB}/sparse/tests/test_elemwise.pyc
+${PYSITELIB}/sparse/tests/test_elemwise.pyo
+${PYSITELIB}/sparse/tests/test_io.py
+${PYSITELIB}/sparse/tests/test_io.pyc
+${PYSITELIB}/sparse/tests/test_io.pyo
diff --git a/py-sparse/distinfo b/py-sparse/distinfo
index 2a2562be5c..81d3e90201 100644
--- a/py-sparse/distinfo
+++ b/py-sparse/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-RMD160 (sparse-0.11.2.tar.gz) = a26cb5d287bb17ebfee02e35f67370c3ccd4dd75
-SHA512 (sparse-0.11.2.tar.gz) = 21e171f53ced639cf86a11fe7c254367c16c90045934c641ac06e99c3d0c88e701b50cac4d95ec7f1d3610b4bf4f7407b2fb0b9b3d850def3c802b5c2247dc14
-Size (sparse-0.11.2.tar.gz) = 338671 bytes
+BLAKE2s (sparse-0.15.4.tar.gz) = aeab05f6bd0a7e745e76eb936e36903e186c82243a4cea6e2c706a669f310cf3
+SHA512 (sparse-0.15.4.tar.gz) = 589b3628ede507d6e84f0857304706e964d8c99b09d4dcda98da632014b35ca89fe57d7fa9568359a5081182ac5fe264a547c9333701c595b37517a7cf71d3d5
+Size (sparse-0.15.4.tar.gz) = 359721 bytes


Home | Main Index | Thread Index | Old Index