python-poetry / python-poetry/poetry
Allow for specifying per-dependency archive format to use
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.3k
- Forks
- 2.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 30
Description
In certain cases it would be useful to specify what format to use when installing a particular dependency. This is also a useful escape hatch when the preferred bdist archives have platform compatibility errors (eg: new mac M1 machines). This could look something like one of the following:
package = { version = "1.2.3", format = "sdist" }
package = { version = "1.2.3", allow_bdist = false, allow_sdist = true }
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 by reviewing how dependency archive formats are currently selected and how the TOML dependency declarations are represented. Compare the proposed per-dependency format and allow_bdist/allow_sdist forms, and consider the M1 compatibility case; done means one clear configuration approach supports selecting the usable archive format for an individual dependency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100