Skip to content

chore(pyproject): modernize Python version and license metadata - #897

Merged
tschm merged 2 commits into
mainfrom
chore/python-version-classifiers
Jul 25, 2026
Merged

chore(pyproject): modernize Python version and license metadata#897
tschm merged 2 commits into
mainfrom
chore/python-version-classifiers

Conversation

@tschm

@tschm tschm commented Jul 25, 2026

Copy link
Copy Markdown
Member

Modernizes the [project] metadata in pyproject.toml.

Python versions — one explicit trove classifier per supported version instead of the generic Programming Language :: Python :: 3 rows. requires-python is 3.11", so the classifiers are: 3.11,3.12,3.13,3.14.

License — dropped the License :: ... classifiers, which PEP 639 deprecates in favour of the license SPDX expression plus license-files. Backends implementing PEP 639 reject a project that declares both.

Metadata only — no source, dependency, or tooling changes.

🤖 Generated with Claude Code

List one trove classifier per supported Python version, clamped to the
range that requires-python actually admits, and drop the generic
"Programming Language :: Python :: 3" / ":: 3 :: Only" rows.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 25, 2026 18:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the package’s PyPI trove classifiers to be explicit per supported Python version, aligning metadata with requires-python >=3.11 for distribution/packaging consumers.

Changes:

  • Removes the Programming Language :: Python :: 3 :: Only classifier.
  • Declares explicit per-version Python classifiers (3.11–3.14) without generic Python 3 classifiers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

PEP 639 deprecates the "License :: ..." trove classifiers; the license is
expressed by the [project] license SPDX expression and license-files
instead. Backends implementing PEP 639 reject a project that declares
both, so remove the classifier rows.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 25, 2026 18:37
@tschm tschm changed the title chore(pyproject): declare explicit Python version classifiers chore(pyproject): modernize Python version and license metadata Jul 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@tschm
tschm merged commit f444b9f into main Jul 25, 2026
64 checks passed
@tschm
tschm deleted the chore/python-version-classifiers branch July 25, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants