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.

Allow latest version of botocore

See original GitHub issue

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Please do not leave “+1” or “me too” comments, they generate extra noise for issue followers and do not help prioritize the request. If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Tell us about your request

Please expand the range of botocore versions that the eb-cli is compatible with to include the latest version of botocore (1.23).

Tell us about the problem you’re trying to solve. What are you trying to do, and why is it hard?

The eb-cli currently requires 'botocore>=1.21.0,<1.22.0'. This tight range on botocore is fairly limiting for compatibility with other libraries. In particular, this library is incompatible with the current version of the aws-cli, which depends on 'botocore==1.23.31'.

Are you currently working around this issue?

Yes

How are you currently solving this problem?

This requires the different CLIs into different virtual environments, such as doing one CLI as a global install and the other in the project virtual environment. This is challenging for onboarding new developers.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:7
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
joshfriendcommented, Feb 7, 2022

I can understand the need to avoid version specs that are too loose where you might accidentally resolve a dependency that is too old/new and causes things to not work. however in those cases, an end user can pin the problematic versions on their app’s side.

When package dependency versions conflict with each other, poetry/pipenv will just not let you install them at all and you don’t really have any recourse besides developing an entirely separate install process for these tools.

1reaction
joshfriendcommented, Feb 7, 2022

>1.23.41,<1.24.0 is still an extremely narrow range. It was updated recently with commit 4c2fe06026da45e226994e9e5b6904fa88c51d73 which said: Update CHANGES.rst and increment version to 3.20.3. No explanation of why the minimum version increase makes a difference for the EB CLI.

It’s also not just botocore, it’s other dependencies too. six (#85, #38, #61), PyYAML (#5, #6), for example both have an excessively narrow version spec that prevents it from being installed along other tools like awscli or aws-sam-cli.

Read more comments on GitHub >

github_iconTop Results From Across the Web

botocore 1.29.33 documentation - Amazon AWS
Welcome to botocore​​ x project. The botocore package is compatible with Python versions Python 3.7 and higher.
Read more >
botocore - PyPI
A low-level interface to a growing number of Amazon Web Services. The botocore package is the foundation for the AWS CLI as well...
Read more >
Installing botocore - Amazon Elastic File System
Upgrading botocore. To upgrade to the latest compatible version of botocore, use the --upgrade option. For example:.
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 >
How to Check 'botocore' Package Version in Python? - Finxter
Integrated Development Environments (IDEs) such as VSCode or PyCharm provide a built-in terminal where you can run pip show botocore to check the...
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