-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
poetry: S3 feature is incompatible with latest boto3 version #7767
Comments
Possibly related: fsspec/s3fs#615 |
Can also reproduce with
|
Unfortunately, it seems that until
|
Another thread discussing the problems with s3fs's dependency on aiobotocore: fsspec/s3fs#357 From what I gather the aiobotocore developers are unlikely to relax the version constraints because it's hacking the internals in ways that are likely to break from version to version. s3fs depends on aiobotocore, which also makes a problem for anyone that depends on s3fs. At this point it seems like the easier solution for me is just to install dvc globally using pipx. It's the easiest way to avoid this path into version hell :-) Except I tried that and it didn't work for me either! See #7777 . As for this specific issue, if the way to solve it is to wait for aiobotocore and botocore proper to sort themselves out then I suppose you can just close this. |
@iainelder Could you try installing globally via a system package manager (i.e. https://dvc.org/doc/install/linux#install-from-repository ) ? |
Wow, how did I miss that in the documentation? Installing from a Debian repository is my preferred way of installing anything, as long as the versions are kept up to date. The version I see in your repo matches the version on PyPI: 2.10.2. So that solves my installation problem and makes the problem reported here irrelevant. Thanks so much for your help @daavoo ! |
Bug Report
This time the bug isn't in a DVC command but in how its dependencies are declared. Feel free to rename the issue to match the preferred format.
Description
I've installed the latest version of the boto3 package for my application.
I want to use it together with DVC's S3 feature.
When I try to install the S3 feature, I get a SolverProblemError from poetry.
Reproduce
Expected
No error message. I expect that the S3 feature will be installed with whatever version version of boto3 I'm using in my application.
Environment information
The text was updated successfully, but these errors were encountered: