Repository navigation
Modernize pyproject.toml in repo and template - #35
Merged
Merged
Conversation
- Drop EOL Python 3.8/3.9; require >=3.10 and add 3.12/3.13 classifiers - Switch to dynamic versioning (VERSION file for repo, __version__ attr for template) - Add content-type to readme field for correct PyPI markdown rendering - Fix missing https:// on changelog and documentation URLs - Tighten packages.find to exclude tests and template dir - Add coverage config to generated project template Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Drop EOL 3.8/3.9 (and 3.7 in template), add 3.12 and 3.13 to match pyproject.toml classifiers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
actions/checkout v2 -> v4, actions/setup-python v2 -> v5 across repo and template workflows. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <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.
Summary
requires-pythonto>=3.10and add 3.12/3.13 classifiers in both repo and templateVERSIONfile, generated projects use__version__attr from__init__.pycontent-type = "text/markdown"toreadmefield for correct PyPI markdown renderinghttps://onchangeloganddocumentationURLs in repo'spyproject.tomlpackages.findtoinclude = ["hooks*"]/exclude = ["tests*"]so tests and the template dir aren't picked up as installable packages[tool.coverage.run]and[tool.coverage.report]sections to the generated project templateTest plan
make test-unit— hook helper tests passmake test-integration— baked project assertions passmake test-e2e— generated project installs, passes CI, and builds cleanlypython -m buildworks for this repo with dynamic versioning🤖 Generated with Claude Code