public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pylast] rawhide: Drop Python 3.16 trove classifier for consistent builds across branches
@ 2026-11-20 16:08 Peter Lemenkov
  0 siblings, 0 replies; only message in thread
From: Peter Lemenkov @ 2026-11-20 16:08 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/pylast
            Branch : rawhide
            Commit : 38b92f996deded8802f29fec78268f8d3cb90ee4
            Author : Peter Lemenkov <lemenkov@gmail.com>
            Date   : 2026-11-20T17:08:14+01:00
            Stats  : +26/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/pylast/c/38b92f996deded8802f29fec78268f8d3cb90ee4?branch=rawhide

            Log:
            Drop Python 3.16 trove classifier for consistent builds across branches

pylast 7.3.0 advertises "Programming Language :: Python :: 3.16" in
project.classifiers. f44's python-trove-classifiers (2026.1.14.14) predates the
3.16 entry (added upstream in the 2026.09 release), so hatchling rejects the
unknown classifier and aborts %generate_buildrequires with:

    ValueError: Unknown classifier in field `project.classifiers`:
                Programming Language :: Python :: 3.16

Drop that one cosmetic classifier via a downstream patch rather than touching
another maintainer's python-trove-classifiers. Applied and built on all active
branches (rawhide/f45/f44) to keep the Release scheme monotonic across branches,
even though only f44 strictly needs it. Revert once every branch's
python-trove-classifiers knows 3.16.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

---
diff --git a/pylast-drop-py316-classifier.patch b/pylast-drop-py316-classifier.patch
new file mode 100644
index 0000000..e7116b6
--- /dev/null
+++ b/pylast-drop-py316-classifier.patch
@@ -0,0 +1,24 @@
+Drop the "Programming Language :: Python :: 3.16" trove classifier.
+
+f44's python-trove-classifiers (2026.1.14.14) predates the 3.16 entry, which was
+added upstream in the 2026.09 release (present in rawhide). hatchling validates
+every project.classifiers entry against the installed trove-classifiers data and
+aborts %generate_buildrequires with:
+
+    ValueError: Unknown classifier in field `project.classifiers`:
+                Programming Language :: Python :: 3.16
+
+Purely cosmetic metadata; dropping it on the stable branch unblocks the build
+without touching another maintainer's package. Revert once f44's
+python-trove-classifiers catches up. Not sent upstream (upstream is correct).
+
+--- a/pyproject.toml	2026-11-20 16:57:47.995377428 +0100
++++ b/pyproject.toml	2026-11-20 16:57:47.997174801 +0100
+@@ -28,7 +28,6 @@
+   "Programming Language :: Python :: 3.13",
+   "Programming Language :: Python :: 3.14",
+   "Programming Language :: Python :: 3.15",
+-  "Programming Language :: Python :: 3.16",
+   "Programming Language :: Python :: Implementation :: CPython",
+   "Programming Language :: Python :: Implementation :: PyPy",
+   "Topic :: Internet",

diff --git a/pylast.spec b/pylast.spec
index f47f1ca..4dbc912 100644
--- a/pylast.spec
+++ b/pylast.spec
@@ -8,6 +8,8 @@ License:	Apache-2.0
 URL:		https://github.com/pylast/pylast
 VCS:		git:%{url}.git
 Source:		%{pypi_source %{pypi_name}}
+# Drop the Python 3.16 trove classifier unknown to f44's trove-classifiers (FTBFS).
+Patch0:		pylast-drop-py316-classifier.patch
 BuildArch:	noarch
 BuildSystem:	pyproject
 BuildOption(install):	-l %{pypi_name}

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

only message in thread, other threads:[~2026-11-20 16:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 16:08 [rpms/pylast] rawhide: Drop Python 3.16 trove classifier for consistent builds across branches Peter Lemenkov

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