Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2023 19:44:50 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8d1d87e5ef24 - main - devel/py-joblib: upgrade to 1.3.2
Message-ID:  <202308281944.37SJiom9095816@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8d1d87e5ef24394f6336a5f8746a11962f1e4e9f

commit 8d1d87e5ef24394f6336a5f8746a11962f1e4e9f
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-08-26 14:58:19 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-08-28 19:42:48 +0000

    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)
---
 devel/py-joblib/Makefile | 22 ++++++++--------------
 devel/py-joblib/distinfo |  6 +++---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308281944.37SJiom9095816>