sdist: include misc/{diff-cache,apply-cache-diff}.py for mypy/test/test_diff_cache.py#21096
Open
mr-c wants to merge 1 commit intopython:masterfrom
Open
sdist: include misc/{diff-cache,apply-cache-diff}.py for mypy/test/test_diff_cache.py#21096mr-c wants to merge 1 commit intopython:masterfrom
misc/{diff-cache,apply-cache-diff}.py for mypy/test/test_diff_cache.py#21096mr-c wants to merge 1 commit intopython:masterfrom
Conversation
Contributor
Author
|
To confirm this PR |
Contributor
|
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅ |
Collaborator
|
Did you check if the scripts work when distributed like this (i.e. can the imports be resolved)? |
Contributor
Author
Yes Both at build time: https://debusine.debian.net/debian/developers/artifact/3476216/raw/mypy_1.20.0~1dev.7528f132eee6c3686ff9b2b685e7631af4cf83d4-1_amd64-2026-03-24T10:59:04Z.build ( search for |
Contributor
Author
|
this PR only adds the scripts to the source distribution, not the wheel |
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.
In Debian, we build the
mypyDebian package from the Python package source dists published to https://pypi.org/project/mypy/ ; so to support running themypy/test/test_diff_cache.pytests, includemisc/{diff-cache,apply-cache-diff}.pyin theMANIFEST.in