public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Lemenkov <lemenkov@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/pylast] f45: Drop Python 3.16 trove classifier for consistent builds across branches
Date: Fri, 20 Nov 2026 16:15:01 GMT	[thread overview]
Message-ID: <179519130191.1.6313519036302846101.rpms-pylast-38b92f996ded@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/pylast
            Branch : f45
            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=f45

            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}

                 reply	other threads:[~2026-11-20 16:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179519130191.1.6313519036302846101.rpms-pylast-38b92f996ded@fedoraproject.org \
    --to=lemenkov@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox