question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Requirements? botocore, boto3, and awscli downgrades?

See original GitHub issue

We’re looking at using aws-adfs @ REI.

As it stands, aws-adfs forces downgrades of awscli, botocore, and boto3. The downgrade is a problem for us.

I think this is unnecessary. I just made a change in setup.py to >= and it all works fine in a venv. Is there a reason for the older versions that I am missing? Thoughts on changing it to just allow for current releases?

setup.py

install_requires = [
    'lxml',
    'click',
    # defined by the specific awscli version - see its setup.py
    'botocore>=1.8.26',
    # corresponding to botocore awscli version
    'awscli>=1.14.22',
    # corresponding to botocore version
    'boto3>=1.5.12',
    'requests[security]',
    'configparser',
]

Here’s my pip freeze

asn1crypto==0.24.0
-e git+https://github.com/jimweller/aws-adfs.git@db327564144eed56342e4c9ce814dadeeedb7c77#egg=aws_adfs
awscli==1.14.46
boto3==1.5.36
botocore==1.8.50
certifi==2018.1.18
cffi==1.11.4
chardet==3.0.4
click==6.7
colorama==0.3.7
configparser==3.5.0
cryptography==2.1.4
docutils==0.14
idna==2.6
jmespath==0.9.3
lxml==4.1.1
pyasn1==0.4.2
pycparser==2.18
pyOpenSSL==17.5.0
pypiwin32==220
python-dateutil==2.6.1
PyYAML==3.12
requests==2.18.4
requests-negotiate-sspi==0.3.4
rsa==3.4.2
s3transfer==0.1.13
six==1.11.0
urllib3==1.22

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jimwellercommented, Mar 5, 2018

Yes. Thank you!

0reactions
venthcommented, Mar 5, 2018

Can I close this one?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Quickstart — Boto3 Docs 1.26.35 documentation - Amazon 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 >
How to upgrade botocore1.2.6 to 1.4 or above present with ...
How to upgrade to botocore present within boto3 to 1.4 or latest version? In case I need to downgrade botocore 1.4 to botocore...
Read more >
1656445 – awscli is missing botocore dependency
I'm investigating this as we're hitting the issue as well. In order to get a working awscli package, one either need to downgrade...
Read more >
AWS Command Line Interface - LocalStack Docs
To work around this issue, you have 2 options: Downgrade to the v1 AWS CLI (this is the recommended approach); There is an...
Read more >
How to downgrade the boto3 version in an AWS Lambda ...
pip freeze > requirements.txt which would yield this file: # requirements.txt boto3==1.9.138 botocore==1.12.138 docutils==0.14 jmespath==0.9.4 python ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found