Update PEP 561 examples with modern packaging
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 20.6k
- Forks
- 3.3k
- PR merge metrics
- PR metrics pending
Description
Documentation
https://mypy.readthedocs.io/en/stable/installed_packages.html#creating-pep-561-compatible-packages as noted in https://github.com/pypa/hatch/discussions/554 only mentions setup.py which is deprecated for simply defining metadata, see PEP 621
It would be nice to mention the Hatchling way as that is now the default in the official Python packaging tutorial.
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 the “Creating PEP 561-compatible packages” section at the linked mypy documentation page, then read the linked PEP 621, Hatchling discussion, and Python packaging tutorial. Update the examples to mention the modern Hatchling and metadata approach alongside or instead of setup.py, and verify that the documentation accurately reflects current packaging guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100