|
A change to setuptools yesterday broke myriad builds around the globe. One such breakage was alembic_utils installed via poetry. One confusing aspect of the entire situation is that setuptools has been emitting a warning about using a hyphenated key (in the case of alembic_utils, Is there a config to surface setuptools warnings during poetry install? I'm unable to find one in https://python-poetry.org/docs/main/. |
Answered by
radoering
Mar 30, 2025
Replies: 1 comment 3 replies
|
There is no standard mechanism for backends to communicate warnings/errors (except for hard errors that fail the process) with frontends like Poetry. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IIRC, we capture stdout/stderr and only print it if there is an error. It might make sense to print it in verbose mode. However, you also have to consider that an sdist is only build once and cached afterwards so that you will only get warnings on the first run anyway.
If someone is interested in taking a deeper look, a good starting point might be
poetry/src/poetry/utils/isolated_build.py
Lines 192 to 209 in 2950bd6