git: ac306692a333 - main - devel/py-joblib: Update to 1.6.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 10 Sep 2026 01:46:38 UTC
The branch main has been updated by skreuzer:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ac306692a333f3fc3b7968f52a1d8c60c12f8d93
commit ac306692a333f3fc3b7968f52a1d8c60c12f8d93
Author: Steven Kreuzer <skreuzer@FreeBSD.org>
AuthorDate: 2026-09-10 01:44:40 +0000
Commit: Steven Kreuzer <skreuzer@FreeBSD.org>
CommitDate: 2026-09-10 01:46:23 +0000
devel/py-joblib: Update to 1.6.0
Changelog: https://github.com/joblib/joblib/releases/tag/1.6.0
---
devel/py-joblib/Makefile | 5 ++---
devel/py-joblib/distinfo | 6 +++---
.../patch-joblib_externals_loky_backend_context.py | 17 ----------------
devel/py-joblib/files/patch-pyproject.toml | 23 ++++++++++++++++++++++
4 files changed, 28 insertions(+), 23 deletions(-)
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,6 +1,5 @@
PORTNAME= joblib
-PORTVERSION= 1.5.1
-PORTREVISION= 1
+PORTVERSION= 1.6.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,7 +16,7 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \
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
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" = [