Repository navigation
Fix sdist and wheel - #4079
Merged
Merged
Fix sdist and wheel#4079
Conversation
DimitriPapadopoulos
force-pushed
the
fix_dists
branch
9 times, most recently
from
November 28, 2026 20:03
f1c4408 to
2539c81
Compare
Make sure tests are not part of the wheel. This requires moving `tests` outside the source directory `codespell_lib`, flit is strict about this and does not seem to provide an option to skip files within the source directory.. Besides, that's the standard for small Python projects.
I chose to run none of them since pre-commit is run by CI anyway. This way, a consistent version of MyPy shall be used.
DimitriPapadopoulos
force-pushed
the
fix_dists
branch
from
November 28, 2026 20:08
2539c81 to
e47f2fb
Compare
DimitriPapadopoulos
marked this pull request as ready for review
November 28, 2026 20:11
DimitriPapadopoulos
requested review from
larsoner and
peternewman
as code owners
November 28, 2026 20:11
Make sure files useful for development and testing are part of the sdist. Also, get rid of the now obsolete `MANIFEST.in` file.
DimitriPapadopoulos
force-pushed
the
fix_dists
branch
from
November 28, 2026 20:35
e47f2fb to
235357f
Compare
Collaborator
Author
|
@larsoner I have cleaned up sdist and wheel contents:
Should I add these files (the instructions for agents are new)?
|
WARNING "/home/runner/work/codespell/codespell" is shallow and may cause errors
DimitriPapadopoulos
force-pushed
the
fix_dists
branch
from
November 28, 2026 20:42
235357f to
fdd0b34
Compare
Member
|
I don't think it matters much if we distribute those with the sdist, I think this is good enough. Thanks @DimitriPapadopoulos ! |
larsoner
added a commit
to qianeric-backup/codespell
that referenced
this pull request
Nov 30, 2026
…file-arguments * upstream/main: Fix sdist and wheel (codespell-project#4079) setuptools → flit (codespell-project#4075) Update conflicting lint rules (codespell-project#4074) Stop correcting the valid word requeried dictionary: offer re-queried as well as required for requeried Offer the requested alternatives for marcos Add marcos -> macros to the names dictionary [pre-commit.ci] pre-commit autoupdate Remove Python minor version classifiers Run tests on Python 3.15 Update project.classifiers to include Python 3.14 and Python 3.15 Add brodacast->broadcast to the dictionary Add leaded->loaded
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.
This is a follow-up of #4075.
Fixes #4075 (comment) and #4075 (comment).