sdist is missing dump_all_version_info.py
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6k
- Forks
- 1.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 10
Description
Describe the incorrect behavior you saw
The tox.ini file as included in sdist at PyPI refers to dump_all_version_info.py, but dump_all_version_info.py is not included in the sdist. https://github.com/twisted/twisted/blob/twisted-22.10.0/tox.ini#L91
Describe how to cause this behavior
Any attempt to run tox fails with:
$(BLDDIR)/Twisted-22.10.0/.tox/lint/bin/python: can't open file '$(BLDDIR)/Twisted-22.10.0/admin/dump_all_version_info.py': [Errno 2] No such file or directory
Describe the correct behavior you'd like to see
Either the dump_all_version_info.py should be added to sdist, or tox.ini should not use it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with tox.ini and admin/dump_all_version_info.py, then inspect how the source distribution is assembled. Build an sdist and verify that tox no longer fails because the script is missing; done when the packaged project either includes the script or no longer references it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100