Skip to content

Modernize packaging metadata and GitHub Actions - #51

Merged
czue merged 2 commits into
mainfrom
packaging-updates
Nov 10, 2026
Merged

czue merged 2 commits into
mainfrom
packaging-updates

Conversation

@czue

@czue czue commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Packaging (147c81c)

  • Use an SPDX license expression (license = "Apache-2.0") and license-files instead 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 requires setuptools>=77; uv build is warning-free.
  • Drop Python 3.10 (end of life October 2026): requires-python = ">=3.11". The relock just removes the 3.10-only tomli and typing-extensions backports.
  • Add Python 3.11–3.14, Framework :: Django and Environment :: Console classifiers.

GitHub Actions (8ef29f8)

  • Bump to actions/checkout v7.0.1, astral-sh/setup-uv v10.3.3 and pypa/gh-action-pypi-publish v1.14.3, pinned to commit SHAs. setup-uv stopped publishing major version tags in v8, so @v10 doesn't exist.
  • publish.yml now reuses test.yml via workflow_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: false on checkout.
  • Add Dependabot for GitHub Actions (monthly, grouped) to keep the SHA pins current.

Testing

  • CI passes on 3.11–3.14 on this branch.
  • Tests pass locally on 3.11 and 3.14; actionlint is clean; wheel metadata checked.
  • The publish workflow (including the workflow_call reuse) only runs on release, so it's untested until the next release.
  • uv.lock was rewritten from revision 3 to 5 by a newer uv.

🤖 Generated with Claude Code

czue and others added 2 commits November 10, 2026 14:58
- 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>
@czue
czue merged commit e2a7cc4 into main Nov 10, 2026
8 checks passed
@czue
czue deleted the packaging-updates branch November 10, 2026 13:01
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.

1 participant