git: e4099de3488e - main - misc/py-datasets: update 2.20.0 → 2.21.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Sep 2024 03:03:43 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e4099de3488e18dd3fafe1604df659f26ddacec2
commit e4099de3488e18dd3fafe1604df659f26ddacec2
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-21 02:00:32 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-21 03:03:32 +0000
misc/py-datasets: update 2.20.0 → 2.21.0
Reported by: portscout
---
misc/py-datasets/Makefile | 4 ++--
misc/py-datasets/distinfo | 6 +++---
misc/py-datasets/files/patch-setup.py | 11 -----------
.../py-datasets/files/patch-src_datasets_features_features.py | 10 ----------
4 files changed, 5 insertions(+), 26 deletions(-)
diff --git a/misc/py-datasets/Makefile b/misc/py-datasets/Makefile
index 7e969039db0f..2ca8b8793306 100644
--- a/misc/py-datasets/Makefile
+++ b/misc/py-datasets/Makefile
@@ -1,5 +1,5 @@
PORTNAME= datasets
-DISTVERSION= 2.20.0
+DISTVERSION= 2.21.0
CATEGORIES= misc python # machine-learning
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fsspec>=2023.1.0:devel/py-fsspec@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}huggingface-hub>0.21.2:misc/py-huggingface-hub@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}multiprocess>0:devel/py-multiprocess@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}numpy>=1.17:math/py-numpy@${PY_FLAVOR} \
+ ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyarrow>=15.0.0:databases/py-pyarrow@${PY_FLAVOR} \
diff --git a/misc/py-datasets/distinfo b/misc/py-datasets/distinfo
index 6a0baa6a8083..062a337e1a62 100644
--- a/misc/py-datasets/distinfo
+++ b/misc/py-datasets/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1722803032
-SHA256 (datasets-2.20.0.tar.gz) = 3c4dbcd27e0f642b9d41d20ff2efa721a5e04b32b2ca4009e0fc9139e324553f
-SIZE (datasets-2.20.0.tar.gz) = 2225757
+TIMESTAMP = 1726883526
+SHA256 (datasets-2.21.0.tar.gz) = 998f85a8460f1bd982e5bd058f8a0808eef424249e3df1e8cdd594ccd0dc8ba2
+SIZE (datasets-2.21.0.tar.gz) = 2215317
diff --git a/misc/py-datasets/files/patch-setup.py b/misc/py-datasets/files/patch-setup.py
deleted file mode 100644
index d28e71a481c8..000000000000
--- a/misc/py-datasets/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig 2024-08-05 18:50:31 UTC
-+++ setup.py
-@@ -115,8 +115,6 @@ REQUIRED_PKGS = [
- # Backend and serialization.
- # Minimum 15.0.0 to be able to cast dictionary types to their underlying types
- "pyarrow>=15.0.0",
-- # As long as we allow pyarrow < 14.0.1, to fix vulnerability CVE-2023-47248
-- "pyarrow-hotfix",
- # For smart caching dataset processing
- "dill>=0.3.0,<0.3.9", # tmp pin until dill has official support for determinism see https://github.com/uqfoundation/dill/issues/19
- # For performance gains with apache arrow
diff --git a/misc/py-datasets/files/patch-src_datasets_features_features.py b/misc/py-datasets/files/patch-src_datasets_features_features.py
deleted file mode 100644
index 9a4e24c28ec6..000000000000
--- a/misc/py-datasets/files/patch-src_datasets_features_features.py
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/datasets/features/features.py.orig 2024-08-05 18:52:07 UTC
-+++ src/datasets/features/features.py
-@@ -32,7 +32,6 @@ import pyarrow.types
- import pyarrow as pa
- import pyarrow.compute as pc
- import pyarrow.types
--import pyarrow_hotfix # noqa: F401 # to fix vulnerability on pyarrow<14.0.1
- from pandas.api.extensions import ExtensionArray as PandasExtensionArray
- from pandas.api.extensions import ExtensionDtype as PandasExtensionDtype
-