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

Pin awscli to v1.19.12 #549

Merged
merged 1 commit into from
Mar 1, 2021
Merged

Pin awscli to v1.19.12 #549

merged 1 commit into from
Mar 1, 2021

Conversation

jorgeazevedo
Copy link
Contributor

What does this change?

This is the last version supported by Python 3.4/3.5, which aws has deprecated.

See deprecation warning https://aws.amazon.com/blogs/developer/announcing-the-end-of-support-for-python-3-4-and-3-5-in-the-aws-sdk-for-python-and-aws-cli-v1/

On February 1, 2021, the AWS SDK for Python (Boto3 and Botocore) and the AWS Command Line Interface (AWS CLI) v1 will no longer support Python 3.4 and Python 3.5. We encourage you to upgrade to Python 3.6 or later (this deprecation doesn’t affect customers using Python 2.7).

And the issue being reported on the awscli github project. Essentially the version of pip being used (v8) installs the awscli package even though it now depends on an rsa package version that doesn't run in Python 3.5 Charming

[awscli v1.19.15 adjusted] our dependencies for rsa. We've moved our range to versions that no longer support Python 3.5. The AWS CLI did a deprecation campaign last year for dropping support of 3.4/3.5 at the beginning of Feb 2021.

What's interesting is modern versions of pip for the last several years prevent what's happening here by refusing to install awscli-1.19.0+ on Python 3.5. Do you know offhand what version of pip your environment is using?

In the meantime, we'd encourage you to either migrate to the AWS CLI v2, Python 3.6+, or pin to awscli<1.19.

How to test

How can we measure success?

Have we considered potential risks?

Images

See deprecation warning for these python versions https://aws.amazon.com/blogs/developer/announcing-the-end-of-support-for-python-3-4-and-3-5-in-the-aws-sdk-for-python-and-aws-cli-v1/

> On February 1, 2021, the AWS SDK for Python (Boto3 and Botocore) and the AWS Command Line Interface (AWS CLI) v1 will no longer support Python 3.4 and Python 3.5. We encourage you to upgrade to Python 3.6 or later (this deprecation doesn’t affect customers using Python 2.7).

Issue - our version of pip installs the awscli package even though it now depends on an rsa package version that doesn't run in Python 3.5 Charming

> [awscli v1.19.15 adjusted] our dependencies for rsa. We've moved our range to versions that no longer support Python 3.5. The AWS CLI did a deprecation campaign last year for dropping support of 3.4/3.5 at the beginning of Feb 2021.
>
> What's interesting is modern versions of pip for the last several years prevent what's happening here by refusing to install awscli-1.19.0+ on Python 3.5. Do you know offhand what version of pip your environment is using?
>
> In the meantime, we'd encourage you to either migrate to the AWS CLI v2, Python 3.6+, or pin to awscli<1.19.
@jorgeazevedo jorgeazevedo changed the title Pin awscli to v1.19.14 Pin awscli to v1.19.12 Mar 1, 2021
@jorgeazevedo jorgeazevedo merged commit e983f3a into main Mar 1, 2021
@jorgeazevedo jorgeazevedo deleted the ja-aws-cli-quickfix branch March 1, 2021 10:04
JamieB-gu added a commit that referenced this pull request Jul 21, 2023
This is the current latest version of the awscli.

Attempts to solve a problem where the awscli was failing to install correctly. The problem was fixed in a recent version of the awscli: aws/aws-cli#8036 (comment)

The awscli was previously pinned to a specific version due to a lack of support for Python 3.4/3.5: #549
JamieB-gu added a commit that referenced this pull request Jul 21, 2023
Changes the `awscli` install step to always install the latest version. Essentially the inverse change to #549 where the `awscli` was pinned to a specific version due to a lack of support for Python 3.4/3.5

Attempts to solve a problem where the awscli was failing to install correctly. The problem was fixed in a recent version of the `awscli`: aws/aws-cli#8036 (comment)
JamieB-gu added a commit that referenced this pull request Jul 21, 2023
Changes the `awscli` install step to always install the latest version. Essentially the inverse change to #549 where the `awscli` was pinned to a specific version due to a lack of support for Python 3.4/3.5

Attempts to solve a problem where the awscli was failing to install correctly. The problem was fixed in a recent version of the `awscli`: aws/aws-cli#8036 (comment)
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.

2 participants