-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Inconsistent behavior with poetry add
vs poetry install
for ome-zarr package
#7856
Comments
almost certainly basically the same as #7858 (comment) eg you have in your dependency tree something like: both urllib3 and boto3 (say), the latest versions of which are incompatible with one another
(I don't know if boto3 is actually the relevant package in your situation, adding You can improve things by explicitly requiring a recent version of boto3 (or whatever) so that the backtracking does not have to work through all of the thousands of possible versions |
Wow okay so it happens that ome-zarr depends on s3fs, but s3fs depends on botocore, which depends on boto3. So explicitly specifying s3fs resolves dependencies in <5s. Thanks so much! |
Also see #7858. (edit: not sure how I missed this in the above post 😞 ) |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Poetry version: 1.4.0
Python version: 3.10.6
OS version and name: ubuntu 22.04.02 LTS
I am on the latest stable Poetry version, installed using a recommended method.
I have searched the issues of this repo and believe that this is not a duplicate.
I have consulted the FAQ and blog for any relevant entries or release notes.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option) and have included the output below.Issue
Starting with this in the pyproject.toml:
For
poetry update
, resolving deps takes 2.5 s.Then for
poetry add distributed
, resolving deps takes 1.0 s.Then for
poetry update
, resolving deps takes >600 s (didn't wait longer).On the other hand, starting with this in the pyproject.toml:
For
poetry update
, resolving deps takes 0.7 s.Then for
poetry add ome-zarr
, resolving deps takes >600 s (didn't wait longer)Interestingly, starting with this in the pyproject.toml:
For
poetry update
, resolving deps takes 0.1 s.Then for
poetry add ome-zarr
, resolving deps takes 3.4 s.This may be an issue with ome-zarr, but I'm not sure where to begin with resolving this. Also please let me know if this should be better suited for ome-zarr's github repo.
Edit: hm, starting with this in the pyproject.toml:
For
poetry update
, resolving deps takes 0.4 s.Then for
poetry add ome-zarr
, resolving deps takes 3.1 s.Then for
poetry update
, resolving deps takes 3.2 s.It seems like the specific combination of the ome-zarr and distributed packages.
The text was updated successfully, but these errors were encountered: