Skip to content
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

Fix botocore/boto3 dependency version mismatch #1801

Merged
merged 1 commit into from
Sep 22, 2018

Conversation

meneal
Copy link

@meneal meneal commented Aug 29, 2018

Pinning boto3 to this version would remove the mismatch between
boto3 and the botocore dependency in setup.py.

Closes #1800

@meneal
Copy link
Author

meneal commented Aug 29, 2018

This fixes the problem in #1800 without breaking the temporary fix for #1793.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 92.413% when pulling aa5e4a5d2f7f3b008a06bdbb2c0bb5074d0700bf on meneal:fix/mismatch into e8c65d3 on spulec:master.

@coveralls
Copy link

coveralls commented Aug 29, 2018

Coverage Status

Coverage increased (+0.1%) to 92.339% when pulling 50f8d5e on meneal:fix/mismatch into e8c65d3 on spulec:master.

setup.py Outdated
@@ -8,7 +8,7 @@
install_requires = [
"Jinja2>=2.7.3",
"boto>=2.36.0",
"boto3>=1.6.16",
"boto3==1.7.84",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it will force the tested app installs [email protected] which may be unexpected.

What about "boto3>=1.6.16,<1.8",?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about just <1.8?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 1.6.16 minimum was set in #1535 so Moto has some dependencies on at least that version. @shawnzhu's suggestion looks good to me until this botocore issue can be resolved.

Pinning boto3 to this version would remove the mismatch between
boto3 and the botocore dependency in setup.py.

Closes getmoto#1800
@meneal
Copy link
Author

meneal commented Aug 29, 2018

@tomelliff comments addressed.

Copy link

@shawnzhu shawnzhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 the PR subject should be updated as well

@meneal meneal changed the title Pin boto3 version to 1.7.84 Fix botocore/boto3 dependency version mismatch Aug 30, 2018
Copy link

@justineyster justineyster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for doing this.

@decentral1se
Copy link

🔥 🔥 🔥

@shawnzhu
Copy link

shawnzhu commented Sep 4, 2018

@spulec would you please take a look at this PR to fix broken moto? see details under #1800 Thank you!

@joshua-alday
Copy link

please make this merge.... I'm working on aws and I can't just use a previous version of boto. This breaks my tests to the point where I have to manually mock the resources myself, which defeats the purpose of using this lib. Hopefully you can get this pulled in asap so we can get over this problem.

@trickstyler
Copy link

Joining @joshua-alday , this is needed ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants