-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
botocore version conflict between awscli, boto3, and moto #1813
Comments
- Updated version of botocore to allow awscli and boto3 to work with moto
I attempted to bump the moto requirement to anything less than 1.12 but this caused numerous NoCredential Exceptions in unit testing. After an hour of looking I was not able pinpoint the cause. At about botocore version 1.11.4(~) they did make some changes to auth and signatures, but I was not familiar enough with moto/botocore to resolve. I may look at when I have more time, but if anyone knows the projects better it would be nice to have additional input. I also had a question for devs that I didn't see in the documentation, How do the unit tests run locally? I was able to follow the travis setup to the point of running Thanks. |
We faced with slighty the same issue. btw, it seems like the same issue as in #1800. Isn't it, @matthew-craig-ncino? |
See #1793 |
Also hitting this when trying to install boto3 + moto today. Also as mentioned above tests which previously passed now fail, but I think possibly just due to changes in boto3 and not to do with moto itself? I mostly get stuff like this:
|
@aaron-trout |
This should be fixed with #1800 |
This seems to be a problem again. Installing s3fs with pip results in this warning/error:
|
Don't think that's a Moto issue, @DrNickBailey - we require botocore>=1.12.201, but nothing more specific |
Performing a side by side pip install of awscli, boto3, botocore, and moto results in an incompatible conflict.
To Reproduce run this in a terminal with a fresh machine:
pip install boto3 awscli moto botocore
Actual results yeild:
moto 1.3.5 has requirement botocore<1.11,>=1.9.16, but you'll have botocore 1.11.8 which is incompatible.
Performing a
pip list
confirms that the moto library is not installed after the above command.Expected results:
Successful install.
I am attempting to use the following versions:
I have tried this on the following versions of python:
The source of the problem is:
awscli requires: botocore>1.11.8
boto3 requires botocore>1.11.8
moto requires: botocore>=1.9.16,<1.11
This creates a grid lock that prevents moto from being installed.
I am running on Mac OSX High Sierra, Ubuntu Linux, and Alphine Linux.
The text was updated successfully, but these errors were encountered: