diff --git a/devel/py-joblib/Makefile b/devel/py-joblib/Makefile index 11160ba66bb4..478b36ce1543 100644 --- a/devel/py-joblib/Makefile +++ b/devel/py-joblib/Makefile @@ -1,30 +1,29 @@ PORTNAME= joblib -PORTVERSION= 1.5.1 -PORTREVISION= 1 +PORTVERSION= 1.6.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= skreuzer@FreeBSD.org COMMENT= Lightweight pipelining using Python functions as jobs WWW= https://joblib.readthedocs.io/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} #TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}threadpoolctl>0:devel/py-threadpoolctl@${PY_FLAVOR} -USES= cpe python +USES= cpe python:3.10+ CPE_VENDOR= joblib_project USE_PYTHON= autoplist pep517 pytest NO_ARCH= yes 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 diff --git a/devel/py-joblib/distinfo b/devel/py-joblib/distinfo index af38c3d6b0c1..4321d3cacfa7 100644 --- a/devel/py-joblib/distinfo +++ b/devel/py-joblib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1748736368 -SHA256 (joblib-1.5.1.tar.gz) = f4f86e351f39fe3d0d32a9f2c3d8af1ee4cec285aafcb27003dda5205576b444 -SIZE (joblib-1.5.1.tar.gz) = 330475 +TIMESTAMP = 1788747666 +SHA256 (joblib-1.6.0.tar.gz) = 2ccc96785b12046c08fd6d55839c12857831b54a3c1673ffadd2f04bfc4eda03 +SIZE (joblib-1.6.0.tar.gz) = 327903 diff --git a/devel/py-joblib/files/patch-joblib_externals_loky_backend_context.py b/devel/py-joblib/files/patch-joblib_externals_loky_backend_context.py deleted file mode 100644 index 5782ed4dd74c..000000000000 --- a/devel/py-joblib/files/patch-joblib_externals_loky_backend_context.py +++ /dev/null @@ -1,17 +0,0 @@ ---- joblib/externals/loky/backend/context.py.orig 2025-06-01 15:05:29 UTC -+++ joblib/externals/loky/backend/context.py -@@ -247,6 +247,14 @@ def _count_physical_cores(): - cpu_count_physical = _count_physical_cores_win32() - elif sys.platform == "darwin": - cpu_count_physical = _count_physical_cores_darwin() -+ elif sys.platform.startswith("freebsd"): -+ cpu_info = subprocess.run( -+ "sysctl -n kern.smp.cores".split(), -+ capture_output=True, -+ text=True, -+ ) -+ cpu_info = cpu_info.stdout -+ cpu_count_physical = int(cpu_info) - else: - raise NotImplementedError(f"unsupported platform: {sys.platform}") - diff --git a/devel/py-joblib/files/patch-pyproject.toml b/devel/py-joblib/files/patch-pyproject.toml new file mode 100644 index 000000000000..b221987b13b5 --- /dev/null +++ b/devel/py-joblib/files/patch-pyproject.toml @@ -0,0 +1,23 @@ +--- pyproject.toml.orig 2026-09-07 00:00:00 UTC ++++ pyproject.toml +@@ -1,11 +1,10 @@ + [build-system] +-requires = ["setuptools>=77.0.3"] ++requires = ["setuptools>=63.1.0"] + build-backend = "setuptools.build_meta" + + [project] + name = "joblib" + authors = [{name = "Gael Varoquaux", email = "gael.varoquaux@normalesup.org"}] +-license = "BSD-3-Clause" + description = "Lightweight pipelining with Python functions" + classifiers = [ + "Development Status :: 5 - Production/Stable", +@@ -80,7 +79,6 @@ + ] + platforms = ["any"] + include-package-data = false +-license-files = ["LICENSE.txt"] + + [tool.setuptools.package-data] + "joblib.test" = [