aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2023-08-26 14:58:19 +0000
committerThierry Thomas <thierry@FreeBSD.org>2023-08-28 19:42:48 +0000
commit8d1d87e5ef24394f6336a5f8746a11962f1e4e9f (patch)
tree0cb920b9940897db6cad64a29b78d8c7e6d13336
parentf14f291a6dfea6d167aa9800a5ea05125c4b776f (diff)
downloadports-8d1d87e5ef24394f6336a5f8746a11962f1e4e9f.tar.gz
ports-8d1d87e5ef24394f6336a5f8746a11962f1e4e9f.zip
devel/py-joblib: upgrade to 1.3.2
This solves CVE-2022-21797. Releases notes available at <https://github.com/joblib/joblib/releases>. Remark: devel/py-threadpoolctl is not listed as a RUN dependency, but several tests fail without it. Security: CVE-2022-21797 PR: 273363 Approved by: skreuzer (maintainer)
-rw-r--r--devel/py-joblib/Makefile22
-rw-r--r--devel/py-joblib/distinfo6
2 files changed, 11 insertions, 17 deletions
diff --git a/devel/py-joblib/Makefile b/devel/py-joblib/Makefile
index a1eadd21d98d..834e4c30b4c4 100644
--- a/devel/py-joblib/Makefile
+++ b/devel/py-joblib/Makefile
@@ -1,32 +1,26 @@
PORTNAME= joblib
-PORTVERSION= 1.1.0
+PORTVERSION= 1.3.2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Lightweight pipelining using Python functions as jobs
-WWW= https://github.com/joblib/joblib
+WWW= https://joblib.readthedocs.io/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4>0:devel/py-pytest4@${PY_FLAVOR}
+TEST_DEPENDS= ${PYNUMPY}
+#TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}threadpoolctl>0:devel/py-threadpoolctl@${PY_FLAVOR}
-USES= python
+USES= pytest python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
-TEST_ENV= PYTHON_PATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
-
-# Skip some tests as they're known to fail. See also:
-#
-# https://github.com/joblib/joblib/issues/57
-# https://github.com/joblib/joblib/issues/1115
-# https://github.com/joblib/joblib/issues/1141
-do-test:
- @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= \
- -k 'not test_disk_used and not defined_in_jupyter'
+PYTEST_IGNORED_TESTS= test_disk_used \
+ test_parallel_call_cached_function_defined_in_jupyter
+PYTEST_BROKEN_TESTS= test_memmapping_on_large_enough_dev_shm
.include <bsd.port.mk>
diff --git a/devel/py-joblib/distinfo b/devel/py-joblib/distinfo
index ac2dbcc7344e..6e588c33dbb0 100644
--- a/devel/py-joblib/distinfo
+++ b/devel/py-joblib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1633704592
-SHA256 (joblib-1.1.0.tar.gz) = 4158fcecd13733f8be669be0683b96ebdbbd38d23559f54dca7205aea1bf1e35
-SIZE (joblib-1.1.0.tar.gz) = 2063601
+TIMESTAMP = 1693055944
+SHA256 (joblib-1.3.2.tar.gz) = 92f865e621e17784e7955080b6d042489e3b8e294949cc44c6eac304f59772b1
+SIZE (joblib-1.3.2.tar.gz) = 1987720