python-poetry / python-poetry/poetry
Consider adding support for more wheel tags.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.3k
- Forks
- 2.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 30
Description
- I have searched the issues of this repo and believe that this is not a duplicate. (tangentially related to #1820)
- I have searched the documentation and believe that my question is not covered.
Context: https://stackoverflow.com/q/60243191/6525260
For the package I'm currently developing, I'm considering switching to Poetry from setuptools. This package minimally supports Python 3.6, and I'd like to specify that in the wheel name. Currently, despite the python dependency in pyproject.toml being Python 3.6, the generated wheel still has a py3-none-any.whl tag. I want there to be a py36-none-any.whl tag instead. With setuptools, I would have specified this using
[bdist_wheel]
python-tag = py36
in setup.cfg. There doesn't seem to be an equivalent for Poetry. Is it possible that a config option could be added to support this use case?
Edit:
It seems that this should be generalized to other tags as well. Poetry lacks support for platform specific tags and feature support in that regard would be useful.
Perhaps there should be a simple string config option where you can manually specify what the tags should be?
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 package's pyproject.toml configuration and compare the requested behavior with the setup.cfg bdist_wheel example. Trace how Poetry generates the wheel name and tags, including Python-version and platform-specific tags. Done means a documented configuration can control the generated wheel tags for this use case and the broader tag cases described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100