Skip to content

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

Merged
tsibley merged 1 commit intomasterfrom
trs/aws-cli-in-venv
Jun 12, 2024
Merged

Isolate AWS CLI (v1) into its own Python venv#215
tsibley merged 1 commit intomasterfrom
trs/aws-cli-in-venv

Conversation

@tsibley
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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!

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