feat: add --local-version option to wheel pack - #694
Merged
agronholm merged 6 commits intoJul 19, 2026
Conversation
for more information, see https://pre-commit.ci
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #694 +/- ##
==========================================
+ Coverage 55.60% 56.70% +1.10%
==========================================
Files 15 15
Lines 1223 1252 +29
==========================================
+ Hits 680 710 +30
+ Misses 543 542 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
check-sdist's --inject-junk check (bumped to v1.5.0 in a recent pre-commit autoupdate) caught that [tool.flit.sdist]'s tests/**/*.py include glob is untracked-file-blind: an injected junk file under a tests/**/*.egg-info/ dir leaked into the sdist even though .egg-info is already gitignored. Add a matching exclude.
pctablet505
marked this pull request as ready for review
July 17, 2026 12:47
agronholm
reviewed
Jul 19, 2026
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.
Fixes #570
Add a
--local-versionoption towheel packthat appends, replaces, or removes a PEP 440 local version identifier from the wheel. The command renames the.dist-infodirectory and updates theVersionfield inMETADATAaccordingly.