Repository navigation
Modernize packaging metadata and GitHub Actions - #51
Merged
Merged
Conversation
- Use an SPDX license expression and license-files instead of the deprecated license table and classifier (setuptools removes the table form on 2027-02-18), and require setuptools>=77 to build. - Drop Python 3.10, which reached end of life in October 2026. - Add Python version, Django and console classifiers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Pin actions to commit SHAs and bump to checkout v7.0.1, setup-uv v10.3.3 and gh-action-pypi-publish v1.14.3. setup-uv no longer publishes major version tags. - Reuse the test workflow from publish so both use the same matrix (publish previously only tested up to 3.12), and drop 3.10. - Don't persist checkout credentials. - Add Dependabot for GitHub Actions to keep the SHA pins up to date. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Packaging (
147c81c)license = "Apache-2.0") andlicense-filesinstead of the deprecated license table and license classifier. setuptools removes the table form on 2027-02-18, and since the build backend was unpinned, releases would have started failing then. Now requiressetuptools>=77;uv buildis warning-free.requires-python = ">=3.11". The relock just removes the 3.10-onlytomliandtyping-extensionsbackports.Framework :: DjangoandEnvironment :: Consoleclassifiers.GitHub Actions (
8ef29f8)actions/checkoutv7.0.1,astral-sh/setup-uvv10.3.3 andpypa/gh-action-pypi-publishv1.14.3, pinned to commit SHAs. setup-uv stopped publishing major version tags in v8, so@v10doesn't exist.publish.ymlnow reusestest.ymlviaworkflow_call, so releases are tested on the same matrix as PRs (it previously only tested 3.10–3.12). Build runs on 3.14.persist-credentials: falseon checkout.Testing
workflow_callreuse) only runs on release, so it's untested until the next release.uv.lockwas rewritten from revision 3 to 5 by a newer uv.🤖 Generated with Claude Code