sdist: include misc/{diff-cache,apply-cache-diff}.py for mypy/test/test_diff_cache.py#21096
Conversation
|
To confirm this PR |
This comment has been minimized.
This comment has been minimized.
|
Did you check if the scripts work when distributed like this (i.e. can the imports be resolved)? |
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 |
|
this PR only adds the scripts to the source distribution, not the wheel |
7528f13 to
9a9d686
Compare
|
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅ |
…/test_diff_cache.py` (#21096) In Debian, we build the `mypy` Debian package from the Python package source dists published to https://pypi.org/project/mypy/ ; so to support running the `mypy/test/test_diff_cache.py` tests, include `misc/{diff-cache,apply-cache-diff}.py` in the `MANIFEST.in`
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