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.

constraint on botocore is unfulfillable on Amazon Linux 2.

See original GitHub issue

Describe the bug

I have a build that pulls down the latest version of boto3, and the v1.26.21 release which just went out the door specifies a version constraint on botocore which can’t be fulfilled on Amazon Linux 2 platform.

https://github.com/boto/boto3/blame/develop/setup.py#L16

'botocore>=1.29.21,<1.30.0'

Expected Behavior

I should be able to python3 -m pip install boto3 and have it succeed.

Current Behavior

I get an error:

ERROR: Could not find a version that satisfies the requirement botocore<1.30.0,>=1.29.21 (from boto3->axiom-sender==2.0.0->-r requirements.txt (line 1))

Reproduction Steps

On fresh system with python3 installed, run python3 -m pip install boto3 and watch it fail.

Possible Solution

Don’t pin to versions of a dependency that don’t exist yet. 😛

Additional Information/Context

No response

SDK version used

v1.26.21

Environment details (OS name and version, etc.)

amazon linux 2

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:5
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

9reactions
tim-finnigancommented, Dec 1, 2022

Hi all thanks for reporting this issue. A related one was recently opened in the CLI repo as well: https://github.com/aws/aws-cli/issues/7493. This appears to be the same issue as https://github.com/boto/boto3/issues/3271. As mentioned there:

…this is caused by a CDN caching issue [in PyPI] that we don’t have control over. That issue is being tracked here: https://github.com/pypi/warehouse/issues/10390

Botocore 1.29.21 was published on PyPI at 2022-12-01 13:16:20 (-07:00) and boto3 1.26.21 at 2022-12-01 13:16:38 (-07:00). But there is a delay in those packages being available in the simple index.

3reactions
AustinShalitcommented, Dec 1, 2022

Although PyPI’s index not updating is the root cause here, can we update the boto3 publishing logic to wait for botocore to exist before pushing to PyPI?

Read more comments on GitHub >

github_iconTop Results From Across the Web

EC2 instance launch failures - Amazon EC2 Auto Scaling
This page provides information about your EC2 instances that fail to launch, potential causes, and the steps you can take to resolve the...
Read more >
6 Causes of Amazon Unfulfillable Inventory and How to Fix ...
When those items are unfulfillable, it means they are unavailable for purchase, and that's bad for your business. Worse, if you forget to...
Read more >
aws cli - Can't Install AWS Client Through Pip Because of of ...
The reason why you're running into these circular dependencies is because the aws-sam-cli package that you're trying to install is the ...
Read more >
botocore 1.29.32 documentation - AWS
Botocore serves as the foundation for the AWS-CLI command line utilities. It will also play an important role in the boto3.x project. The...
Read more >
How Does an Item Become Unfulfillable on Amazon (Beginner)
https://myrefundguy.com/FBA unfulfillable settings ...
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