question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not installing extras / Behavior change from 1.0.10

See original GitHub issue
  • 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 with poetry 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 .

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
abncommented, Oct 13, 2020

@razorx89 I am waiting on reviews for the fixes; unfortunately the team is a small group of folks volunteering spare time. 😃

1reaction
razorx89commented, Oct 13, 2020

Thank you for reporting this @Qu4tro. I might try get a release out soon. Hopefully not many projects get impacted by the dependabot update. 😦

Any updates on this? I ran into this issue today, but unfortunately I cannot downgrade to 1.0.10 due to another bug.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding a default extra_require environment - Packaging
Possible default extras/dependency categories? Somehow related, I opened yesterday an issue on Github with a potential workaround which ...
Read more >
History | Poetry - Python dependency management and ...
Clarify that poetry install removes dependencies of non-installed extras (#6229). ... Changed the build script behavior to create an ephemeral build ...
Read more >
Mako 1.2.4 Documentation - Changelog
Changed setup.py to skip installing markupsafe if Python version is < 2.6 or is between 3.0 and less than 3.3, as Markupsafe now...
Read more >
Databricks Runtime 7.0 (Unsupported)
This section lists behavior changes from Databricks Runtime 6.6 to Databricks ... above do not install libraries configured to be installed on all...
Read more >
Red Hat Enterprise Linux 4 Update 2 Release Notes
Changes to the Red Hat Enterprise Linux installation program (Anaconda) ... Do not copy the Extras CD-ROM, or any of the layered product...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found