Skip to content

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

@yuji38kwmt

Description

@yuji38kwmt

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...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions