Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want the poetry add command to output information to the log so that it can be seen that the wheel file is being built. #9865

Open
yuji38kwmt opened this issue Nov 22, 2024 · 0 comments
Labels
good first issue kind/feature Feature requests/implementations

Comments

@yuji38kwmt
Copy link

Issue Kind

Change in current behaviour

Description

$ python --version
Python 3.12.4
$ poetry --version
Poetry (version 1.8.4)

For pandas 2.0.1, there is no wheel file built with Python 3.12.

https://pypi.org/project/pandas/2.0.1/#files

Therefore, poetry tries to build a wheel file with Python 3.12.
But the log only shows "Preparing...", so it is not clear that poetry build a wheel file.
This message alone doesn't tell me why it's taking so long.

$ poetry add "pandas=2.0.1"

Updating dependencies
Resolving dependencies... (0.1s)

Package operations: 0 installs, 1 update, 0 removals

  - Downgrading pandas (2.0.3 -> 2.0.1): Preparing...

I would like a message like "Building a wheel file" to be output to the log.

Impact

Once users know what you're building, users can take action, such as changing the version of Pandas you're using.

Workarounds

When adding the "-vvv" option, the message "Getting build dependencies for wheel..." will be output to the log.

$ poetry add "pandas=2.0.1" -vvv

[build:build] Getting build dependencies for wheel...

@yuji38kwmt yuji38kwmt added kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels Nov 22, 2024
@radoering radoering added good first issue and removed status/triage This issue needs to be triaged labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue kind/feature Feature requests/implementations
Projects
None yet
Development

No branches or pull requests

2 participants