python-poetry / python-poetry/poetry

Allow for specifying per-dependency archive format to use

Open
#3,847 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/feature status/triage
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.