python-poetry / python-poetry/poetry

Add configuration option to specify the build format in pyproject.toml or other config

Open
#8,742 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/feature
Dominant language
Python
Stars
34.3k
Forks
2.5k
Avg merge
2d 19h
Merged PRs (30d)
30

Description

Discussed in https://github.com/orgs/python-poetry/discussions/7612

Originally posted by Josverl March 6, 2023
It seems trivial, but I'd prefer to be able to configure poetry to only build wheels
rather than need to remember that all builds should be run as:
poetry build --format=wheel

I can't seem to find a way to specify this - neither in documentation nor through experimentation

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 reading discussion 7612 and the current poetry build --format=wheel behavior. Inspect how build settings are represented in pyproject.toml and documented, then define the configuration entry and verify that builds use it without requiring the command-line flag.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.