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

Isolate AWS CLI (v1) into its own Python venv #215

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Conversation

tsibley
Copy link
Member

@tsibley tsibley commented Jun 11, 2024

Otherwise, the awscli → botocore dependency is broken by the subsequent installation of the nextstrain-cli → botocore dependency, which results in --no-sign-request not working as it should.

This approach seemed like the option of least change. Alternatives to and/or additional improvements to this include a) installing Nextstrain CLI in its own venv instead/as well, b) upgrading to AWS CLI v2 (which is always isolated) or c) updating the nextstrain-cli → botocore dependency to not conflict.

Resolves: #213
Related-to: #214

Checklist

  • Checks pass

Otherwise, the awscli → botocore dependency is broken by the subsequent
installation of the nextstrain-cli → botocore dependency, which results
in --no-sign-request not working as it should.

This approach seemed like the option of least change.  Alternatives to
and/or additional improvements to this include a) installing Nextstrain
CLI in its own venv instead/as well, b) upgrading to AWS CLI v2 (which
is always isolated) or c) updating the nextstrain-cli → botocore
dependency to not conflict.

Resolves: <#213>
Related-to: <#214>
@tsibley tsibley requested a review from joverlee521 June 11, 2024 23:52
@joverlee521 joverlee521 mentioned this pull request Jun 11, 2024
1 task
Copy link
Contributor

@joverlee521 joverlee521 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks you @tsibley! Confirmed that this fixes the --no-sign-request issue for me!

@tsibley tsibley merged commit 286136b into master Jun 12, 2024
38 checks passed
@tsibley tsibley deleted the trs/aws-cli-in-venv branch June 12, 2024 23:07
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.

awscli --no-sign-request option not working
2 participants