easy_install boto3 1.18.60 broken dependency on botocore 1.21.60
See original GitHub issueDescribe the bug
AWS Elastic Beanstalk deployments are trying (and failing) to run easy_install boto3:
No local packages or working download links found for botocore<1.22.0,>=1.21.60
It’s checking the pypi repo (https://pypi.org/simple/botocore/) which has the whl but is missing a tar.gz for the latest (1.21.60) release.
I don’t know if this is more a boto3 problem or a botocore problem, but it seemed right to put it here
Steps to reproduce
- Execute
easy_install boto3
Expected behavior Install!
Debug Logs
$ sudo easy_install boto3
Password:
Searching for boto3
Reading https://pypi.org/simple/boto3/
Downloading https://files.pythonhosted.org/packages/27/98/c9f627e7017ab4191818ef08a345390689b66e45d6fa3f4a57d1aa8c9a25/boto3-1.18.60.tar.gz#sha256=45709a04ec5fb67ce5a8eaade3eb0ab24d6eb08d9a9ca6bdb2153047896197fc
Best match: boto3 1.18.60
Processing boto3-1.18.60.tar.gz
Writing /tmp/easy_install-tipgbV/boto3-1.18.60/setup.cfg
Running boto3-1.18.60/setup.py -q bdist_egg --dist-dir /tmp/easy_install-tipgbV/boto3-1.18.60/egg-dist-tmp-uZK9pK
zip_safe flag not set; analyzing archive contents...
boto3.session: module references __file__
boto3.docs.service: module references __file__
creating /Library/Python/2.7/site-packages/boto3-1.18.60-py2.7.egg
Extracting boto3-1.18.60-py2.7.egg to /Library/Python/2.7/site-packages
Adding boto3 1.18.60 to easy-install.pth file
Installed /Library/Python/2.7/site-packages/boto3-1.18.60-py2.7.egg
Processing dependencies for boto3
Searching for s3transfer<0.6.0,>=0.5.0
Reading https://pypi.org/simple/s3transfer/
Downloading https://files.pythonhosted.org/packages/88/ef/4d1b3f52ae20a7e72151fde5c9f254cd83f8a49047351f34006e517e1655/s3transfer-0.5.0.tar.gz#sha256=50ed823e1dc5868ad40c8dc92072f757aa0e653a192845c94a3b676f4a62da4c
Best match: s3transfer 0.5.0
Processing s3transfer-0.5.0.tar.gz
Writing /tmp/easy_install-y7Qz1i/s3transfer-0.5.0/setup.cfg
Running s3transfer-0.5.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-y7Qz1i/s3transfer-0.5.0/egg-dist-tmp-7um8Q3
zip_safe flag not set; analyzing archive contents...
Copying s3transfer-0.5.0-py2.7.egg to /Library/Python/2.7/site-packages
Adding s3transfer 0.5.0 to easy-install.pth file
Installed /Library/Python/2.7/site-packages/s3transfer-0.5.0-py2.7.egg
Searching for botocore<1.22.0,>=1.21.60
Reading https://pypi.org/simple/botocore/
No local packages or working download links found for botocore<1.22.0,>=1.21.60
error: Could not find suitable distribution for Requirement.parse('botocore<1.22.0,>=1.21.60')```
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
AWS Boto3 Compatibility Issue, How can I install an older ...
The problem is when I am installing Boto3 i am getting this message in red. awsebcli 3.20.3 requires botocore<1.24.0,>1.23.41, but you have ...
Read more >Build fails installing awsebcli because of botocore version
Description We are trying to install awsebcli using the command pip3 install awsebcli --upgrade and it's failing: Could not find a version that...
Read more >Quickstart — Boto3 Docs 1.26.33 documentation - AWS
This guide details the steps needed to install or update the AWS SDK for Python. The SDK is composed of two key Python...
Read more >boto3 - PyPI
Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python, ... and support for SDK major versions and their underlying...
Read more >Install Python AWS SDK Boto3 - Medium
This post is about installing AWS SDK boto3 on Mac. ... pip 21.1.3 is already the active version in easy-install.pth
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The releases for the past couple of days have had both the sdist and wheel available at the same time so we’re fairly confident the changes we made to our release process have alleviated
simple
index caching issue. Will leave this issue open over the weekend.We’ve made some additional changes today to help reduce the
simple
index cache sync time. That should hopefully prevent the delay seen this week and solve this in the short term. Longer term, we’ll likely want to work with ElasticBeanstalk to move off easy_install as it’s been unsupported for a few years now and doesn’t work nicely with the rest of Python’s packaging infrastructure.