public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-dateutil] rawhide: Drop redundant BuildRequires for python3-wheel
@ 2026-06-29 15:47
0 siblings, 0 replies; only message in thread
From: @ 2026-06-29 15:47 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-dateutil
Branch : rawhide
Commit : ec07b80fdaed4727c340a6a0cf9a786de63f1443
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-06-29T13:57:57+02:00
Stats : +28/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-dateutil/c/ec07b80fdaed4727c340a6a0cf9a786de63f1443?branch=rawhide
Log:
Drop redundant BuildRequires for python3-wheel
---
diff --git a/e081f672.patch b/e081f672.patch
new file mode 100644
index 0000000..8ef12ca
--- /dev/null
+++ b/e081f672.patch
@@ -0,0 +1,23 @@
+From e081f6725fbb49cae6eedab7010f517e8490859b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
+Date: Mon, 28 Jul 2025 13:00:45 +0200
+Subject: [PATCH] Do not require wheel for building
+
+ - current version of setuptools (70.1+) does not need wheel at all
+ - older versions of setuptools would fetch wheel when building wheels (but not sdists)
+---
+ pyproject.toml | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index b60971760..9e5511cff 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -2,7 +2,6 @@
+ requires = [
+ "setuptools; python_version != '3.3'",
+ "setuptools<40.0; python_version == '3.3'",
+- "wheel",
+ "setuptools_scm<8.0"
+ ]
+ build-backend = "setuptools.build_meta"
diff --git a/python-dateutil.spec b/python-dateutil.spec
index 31592b2..1a4f426 100644
--- a/python-dateutil.spec
+++ b/python-dateutil.spec
@@ -18,6 +18,10 @@ Source: %{pypi_source python-dateutil}
# https://fedoraproject.org/wiki/Changes/DeprecatePython-dateutil
Provides: deprecated()
+# Drop redundant BuildRequires for python3-wheel
+# https://github.com/fedora-eln/eln/issues/284
+Patch: https://github.com/dateutil/dateutil/commit/e081f672.patch
+
# Allow setuptools-scm dependency greater than v8.0
Patch: relax-setuptools_scm-requires.patch
diff --git a/relax-setuptools_scm-requires.patch b/relax-setuptools_scm-requires.patch
index 4547a36..41b422d 100644
--- a/relax-setuptools_scm-requires.patch
+++ b/relax-setuptools_scm-requires.patch
@@ -1,10 +1,9 @@
diff -U 3 -dHrN a/pyproject.toml b/pyproject.toml
--- a/pyproject.toml 2024-03-01 19:35:19.000000000 +0100
+++ b/pyproject.toml 2025-05-08 17:56:27.011526557 +0200
-@@ -3,7 +3,7 @@
+@@ -3,6 +3,6 @@
"setuptools; python_version != '3.3'",
"setuptools<40.0; python_version == '3.3'",
- "wheel",
- "setuptools_scm<8.0"
+ "setuptools_scm"
]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-29 15:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 15:47 [rpms/python-dateutil] rawhide: Drop redundant BuildRequires for python3-wheel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox