python-poetry / python-poetry/poetry

Poetry 2.1 hiding any stdout output of tool.poetry.build.script during build

Open
#10,210 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area/docs status/triage
Dominant language
Python
Stars
34.3k
Forks
2.5k
Avg merge
2d 19h
Merged PRs (30d)
30

Description

Issue Kind

Missing documentation

Existing Link

https://python-poetry.org/docs/main/building-extension-modules/

Description

With Poetry 2.1, any output made to stdout in the execution of the tool.poetry.build.script is not outputted to the terminal. This seems to be on purpose because as an error occurs, the output is fully displayed. However, there is no documentation on it, neither on this being intentional nor on how to forward an output directly.

Using the obvious verbose or debug flags (v/vv/vvv) does not change anything.

Documentation or even a hint on how to enable output to stdout would be highly appreciated

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 with the linked building extension modules documentation page and review how tool.poetry.build.script behavior is described. Document whether stdout suppression during builds is intentional and explain how users can forward output directly; the page is done when it answers both questions without relying on verbose or debug flags.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.