public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-joblib] main: New upstream source 1.6.0
@ 2026-09-07 14:16 Sergio Pascual
  0 siblings, 0 replies; only message in thread
From: Sergio Pascual @ 2026-09-07 14:16 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-joblib
Branch : main
Commit : 19d0b25855984b1b386a768425a6d7895c770c51
Author : Sergio Pascual <sergiopr@fedoraproject.org>
Date   : 2026-09-07T16:16:13+02:00
Stats  : +4/-111 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/python-joblib/c/19d0b25855984b1b386a768425a6d7895c770c51?branch=main

Log:
New upstream source 1.6.0

---
diff --git a/.gitignore b/.gitignore
index 7c76c66..9994e0e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,4 @@
 /joblib-1.5.1.tar.gz
 /joblib-1.5.2.tar.gz
 /joblib-1.5.3.tar.gz
+/joblib-1.6.0.tar.gz

diff --git a/joblib-unbundle-cloudpickle.patch b/joblib-unbundle-cloudpickle.patch
deleted file mode 100644
index d8200cb..0000000
--- a/joblib-unbundle-cloudpickle.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-diff --git a/joblib/externals/loky/backend/reduction.py b/joblib/externals/loky/backend/reduction.py
-index c6f9297..6084157 100644
---- a/joblib/externals/loky/backend/reduction.py
-+++ b/joblib/externals/loky/backend/reduction.py
-@@ -79,7 +79,7 @@ else:
- 
- # global variable to change the pickler behavior
- try:
--    from joblib.externals import cloudpickle  # noqa: F401
-+    import cloudpickle  # noqa: F401
- 
-     DEFAULT_ENV = "cloudpickle"
- except ImportError:
-@@ -107,7 +107,7 @@ def set_loky_pickler(loky_pickler=None):
-         return
- 
-     if loky_pickler == "cloudpickle":
--        from joblib.externals.cloudpickle import CloudPickler as loky_pickler_cls
-+        from cloudpickle import CloudPickler as loky_pickler_cls
-     else:
-         try:
-             from importlib import import_module
-diff --git a/joblib/externals/loky/cloudpickle_wrapper.py b/joblib/externals/loky/cloudpickle_wrapper.py
-index 90e5d10..bdeac65 100644
---- a/joblib/externals/loky/cloudpickle_wrapper.py
-+++ b/joblib/externals/loky/cloudpickle_wrapper.py
-@@ -1,6 +1,6 @@
- import inspect
- from functools import partial
--from joblib.externals.cloudpickle import dumps, loads
-+from cloudpickle import dumps, loads
- 
- 
- WRAP_CACHE = {}
-diff --git a/pyproject.toml b/pyproject.toml
-index 332f59b..9cd8835 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -27,6 +27,9 @@ classifiers = [
- ]
- requires-python = ">=3.9"
- dynamic = ["version"]
-+dependencies = [
-+  "cloudpickle>=2.2.0",
-+]
- 
- [project.readme]
- file = "README.rst"
-@@ -42,7 +45,6 @@ packages = [
-     "joblib.test",
-     "joblib.test.data",
-     "joblib.externals",
--    "joblib.externals.cloudpickle",
-     "joblib.externals.loky",
-     "joblib.externals.loky.backend",
- ]

diff --git a/python-3.15-resource-tracker.patch b/python-3.15-resource-tracker.patch
deleted file mode 100644
index 518980e..0000000
--- a/python-3.15-resource-tracker.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-diff --git a/joblib/externals/loky/backend/resource_tracker.py b/joblib/externals/loky/backend/resource_tracker.py
-index 144efe2..3aa06ff 100644
---- a/joblib/externals/loky/backend/resource_tracker.py
-+++ b/joblib/externals/loky/backend/resource_tracker.py
-@@ -43,6 +43,13 @@ import shutil
- import sys
- import signal
- import warnings
-+# Python 3.15+ uses JSON format for resource tracker messages
-+try:
-+    from multiprocessing.resource_tracker import _decode_message
-+    _HAS_DECODE_MESSAGE = True
-+except ImportError:
-+    _HAS_DECODE_MESSAGE = False
-+
- from multiprocessing import util
- from multiprocessing.resource_tracker import (
-     ResourceTracker as _ResourceTracker,
-@@ -284,14 +291,21 @@ def main(fd, verbose=0):
-         with open(fd, "rb") as f:
-             for line in f:
-                 try:
--                    splitted = line.strip().decode("ascii").split(":")
--                    # name can potentially contain separator symbols (for
--                    # instance folders on Windows)
--                    cmd, name, rtype = (
--                        splitted[0],
--                        ":".join(splitted[1:-1]),
--                        splitted[-1],
--                    )
-+                    # Python 3.15+ uses a new JSON format for messages
-+                    # Use _decode_message if available, otherwise fall back to manual parsing
-+                    if _HAS_DECODE_MESSAGE:
-+                        # _decode_message returns (cmd, rtype, name)
-+                        cmd, rtype, name = _decode_message(line)
-+                    else:
-+                        # Old format: CMD:name:rtype
-+                        splitted = line.strip().decode("ascii").split(":")
-+                        # name can potentially contain separator symbols (for
-+                        # instance folders on Windows)
-+                        cmd, name, rtype = (
-+                            splitted[0],
-+                            ":".join(splitted[1:-1]),
-+                            splitted[-1],
-+                        )
- 
-                     if rtype not in _CLEANUP_FUNCS:
-                         raise ValueError(

diff --git a/python-joblib.spec b/python-joblib.spec
index bb6170d..71a4513 100644
--- a/python-joblib.spec
+++ b/python-joblib.spec
@@ -3,7 +3,7 @@
 %global srcname joblib
 
 Name:  python-%{srcname}
-Version: 1.5.3
+Version: 1.6.0
 Release: %autorelease
 Summary: Lightweight pipelining: using Python functions as pipeline jobs
 
@@ -11,10 +11,6 @@ License: BSD-3-Clause
 URL: https://joblib.readthedocs.io
 Source0: %{pypi_source}
 
-Patch: joblib-unbundle-cloudpickle.patch
-# https://github.com/joblib/loky/issues/624
-Patch: python-3.15-resource-tracker.patch
-
 BuildArch:      noarch
 BuildRequires:  python3-devel
 
@@ -44,7 +40,7 @@ BuildRequires:  %{py3_dist threadpoolctl}
 Recommends:     %{py3_dist lz4}
 Recommends:     %{py3_dist numpy}
 Recommends:     %{py3_dist psutil}
-Provides:       bundled(python3dist(loky)) = 3.5.6
+Provides:       bundled(python3dist(loky)) = 3.6.0
 
 %description -n python3-%{srcname} %_description
 

diff --git a/sources b/sources
index c3c109a..4bba468 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (joblib-1.5.3.tar.gz) = 221fe426aa4c90d75080b63bf6bb0b9c61e4ae90bd2a734d2b658013e9a00125bc14574d475789b4d8d246a1a5b5c6f67754e639080de6ecb9a481d1d124c0ed
+SHA512 (joblib-1.6.0.tar.gz) = 9b5a92ed5403a586dea4b54d051cfd0f15af2e74acae6783301cf8c50762190b37e873b892c3514686d8f070d5b98048065f0b9ce37dcb521644915f952cee5f

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-07 14:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07 14:16 [rpms/python-joblib] main: New upstream source 1.6.0 Sergio Pascual

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox