Open elliot-100 opened 3 hours ago
it's not saying that playwright 3.0.3 requires greenlet, it's saying that playwright requires greenlet at exactly version 3.0.3
it's not saying that playwright 3.0.3 requires greenlet, it's saying that playwright requires greenlet at exactly version 3.0.3
It is still confusing (confused me too). Issue is valid as bad UX.
sure, no disagreement, just pointing out what it is that poetry is actually telling you
it's not saying that playwright 3.0.3 requires greenlet, it's saying that playwright requires greenlet at exactly version 3.0.3
From my point of view, it's not saying that at all, and I'm not sure that anyone could reasonably say it does. The documentation has no detail at all here. But it's good to have the intended behaviour confirmed.
I will try to submit a PR to add to the documentation.
What if the command output said:
> poetry show my-package
name : my-package
version : 1.2.3
description : Example
required by:
- another-package requires my-package 1.2.3
?
might as well just tweak the code directly, rather than leave it confusing but documented-as-confusing.
fwiw requiring an exact version is unusual - playwright is likely wrong to do this, though I know nothing about that project.
The current output is somewhat less confusing when it says something like
required by
- playwright >=2.3.4
- another >=3,<4
Description
Here's an example.
Extract from my project's
poetry.lock
:Playwright's latest version is 1.47; it looks like the locked version of greenlet is being shown here instead.
Notes:
Workarounds
Examining
poetry.lock
and not trustingpoetry show [package]
.Poetry Installation Method
install.python-poetry.org
Operating System
Windows 11
Poetry Version
1.8.3
Poetry Configuration
Example pyproject.toml
Poetry Runtime Logs