-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
area/solverRelated to the dependency resolverRelated to the dependency resolverkind/bugSomething isn't working as expectedSomething isn't working as expected
Description
-
I am on the latest Poetry version.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
OS version and name: Not relevant
-
Poetry version: Latest
-
Link of a Gist with the contents of your pyproject.toml file: Not relevant
Issue
Hey. Heads up, it might be a duplicate, because there are multiple extra
related issues and it's not trivial for me to parse them all. I'll however try to document my issue with a minimal and reproducible setup, so hopefully it will add some value here.
Let's start.
A story of two poetry
❯ ls
poetry1010 poetry1102
❯ ./poetry1010 -V && ./poetry1102 -V
Poetry version 1.0.10
Poetry version 1.1.2
❯ ./poetry1010 new help0 && ./poetry1102 new help1
Created package help0 in help0
Created package help1 in help1
❯ diff -u <(cd help0/ && ../poetry1010 add "dramatiq[rabbitmq]") <(cd help1/ && ../poetry1102 add "dramatiq[rabbitmq]" | tr -s "•" "-")
--- /proc/self/fd/12 2020-10-07 19:26:21.998079921 +0100
+++ /proc/self/fd/14 2020-10-07 19:26:21.998079921 +0100
@@ -1,18 +1,16 @@
-Creating virtualenv help0-oFs3ajBR-py3.8 in /home/quatro/.cache/pypoetry/virtualenvs
+Creating virtualenv help1-uRfcpVMu-py3.8 in /home/quatro/.cache/pypoetry/virtualenvs
Using version ^1.9.0 for dramatiq
Updating dependencies
Resolving dependencies...
-
-Package operations: 12 installs, 0 updates, 0 removals
+Package operations: 11 installs, 0 updates, 0 removals
- Installing pyparsing (2.4.7)
- Installing six (1.15.0)
- Installing attrs (20.2.0)
- Installing more-itertools (8.5.0)
- Installing packaging (20.4)
- - Installing pika (1.1.0)
- Installing pluggy (0.13.1)
- Installing prometheus-client (0.8.0)
- Installing py (1.9.0)
We can observe pika
is no longer installed in the latest version.
- This later bit can be piped into
diff-so-fancy
for a better visual. - I use
rm -rf ~/.cache/pypoetry/virtualenvs/help*
to reset the virtualenvs. - You can replace
poetry 1.1.2
withpoetry master
and it's the same outcome.
Let me know if there's anything else I can do to help or if I'm misunderstanding some new requirements .
tamuhey
Metadata
Metadata
Assignees
Labels
area/solverRelated to the dependency resolverRelated to the dependency resolverkind/bugSomething isn't working as expectedSomething isn't working as expected