Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-threadpoolctl for
openSUSE:Factory checked in at 2026-08-25 13:18:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-threadpoolctl (Old)
and /work/SRC/openSUSE:Factory/.python-threadpoolctl.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-threadpoolctl"
Tue Aug 25 13:18:05 2026 rev:12 rq:1373501 version:3.6.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-threadpoolctl/python-threadpoolctl.changes
2025-04-11 16:46:21.270153378 +0200
+++
/work/SRC/openSUSE:Factory/.python-threadpoolctl.new.1258/python-threadpoolctl.changes
2026-08-25 13:18:05.832745501 +0200
@@ -1,0 +2,6 @@
+Tue Aug 25 02:45:46 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-flit-core-4.patch:
+ * Use PEP 621 metadata to support flit-core >= 4.
+
+-------------------------------------------------------------------
New:
----
support-flit-core-4.patch
----------(New B)----------
New:
- Add patch support-flit-core-4.patch:
* Use PEP 621 metadata to support flit-core >= 4.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-threadpoolctl.spec ++++++
--- /var/tmp/diff_new_pack.jBlbkN/_old 2026-08-25 13:18:06.640773970 +0200
+++ /var/tmp/diff_new_pack.jBlbkN/_new 2026-08-25 13:18:06.641774005 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-threadpoolctl
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,15 +22,15 @@
Release: 0
Summary: Thread-pool Controls
License: BSD-3-Clause
-Group: Development/Languages/Python
URL: https://github.com/joblib/threadpoolctl
Source:
%{url}/archive/%{version}.tar.gz#/threadpoolctl-%{version}.tar.gz
-BuildRequires: %{python_module devel >= 3.8}
+# PATCH-FIX-UPSTREAM gh#joblib/threadpoolctl#226
+Patch0: support-flit-core-4.patch
+BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -42,7 +42,7 @@
and OpenMP implementations).
%prep
-%setup -q -n threadpoolctl-%{version}
+%autosetup -p1 -n threadpoolctl-%{version}
%build
%pyproject_wheel
@@ -58,6 +58,6 @@
%doc CHANGES.md README.md
%license LICENSE
%{python_sitelib}/threadpoolctl.py
-%pycache_only %{python_sitelib}/__pycache__/threadpoolctl.*.py*
-%{python_sitelib}/threadpoolctl-%{version}*info
+%pycache_only %{python_sitelib}/__pycache__/threadpoolctl.*.pyc
+%{python_sitelib}/threadpoolctl-%{version}.dist-info
++++++ support-flit-core-4.patch ++++++
>From 67a4fad92bbbdc5549b54073ef9530f37fe4bf48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= <[email protected]>
Date: Tue, 11 Aug 2026 11:34:24 +0200
Subject: [PATCH 1/2] Use PEP 621 metadata to fix building with flit-core>=4
---
pyproject.toml | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index c0ea1696..7784cf55 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,20 +1,16 @@
[build-system]
-requires = ["flit_core >=2,<4"]
+requires = ["flit_core >=3.2,<5"]
build-backend = "flit_core.buildapi"
-# TODO: replace the following section by the standard [project] section to be
able
-# to use flit v4.
-[tool.flit.metadata]
-module = "threadpoolctl"
-author = "Thomas Moreau"
-author-email = "[email protected]"
-home-page = "https://github.com/joblib/threadpoolctl"
-description-file = "README.md"
+[project]
+name = "threadpoolctl"
+author = [{name = "Thomas Moreau", email = "[email protected]"}]
+readme = "README.md"
requires-python = ">=3.9"
license = "BSD-3-Clause"
+dynamic = ["version", "description"]
classifiers = [
"Intended Audience :: Developers",
- "License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
@@ -24,6 +20,9 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
]
+[project.url]
+homepage = "https://github.com/joblib/threadpoolctl"
+
[tool.black]
line-length = 88
target_version = ['py39', 'py310', 'py311', 'py312', 'py313']
>From 378dd9a260d1aab901a52727fb76c24e005c06dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= <[email protected]>
Date: Tue, 11 Aug 2026 11:39:19 +0200
Subject: [PATCH 2/2] fix
---
pyproject.toml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 7784cf55..f7a95ccd 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
[project]
name = "threadpoolctl"
-author = [{name = "Thomas Moreau", email = "[email protected]"}]
+authors = [{name = "Thomas Moreau", email = "[email protected]"}]
readme = "README.md"
requires-python = ">=3.9"
license = "BSD-3-Clause"
@@ -20,7 +20,7 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
]
-[project.url]
+[project.urls]
homepage = "https://github.com/joblib/threadpoolctl"
[tool.black]