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

awscli: 2.15.5 #157990

Merged
merged 2 commits into from
Dec 29, 2023
Merged

awscli: 2.15.5 #157990

merged 2 commits into from
Dec 29, 2023

Conversation

philipfischer
Copy link
Contributor

As described here, awscli stops working when there is a version of pyOpenSSL >= 23.2 installed on the system. Since this formula already comes with all dependencies of awscli installed into its own virtualenv, this pr will prohibit awscli from using system site packages. This will prevent libraries installed by other tools from breaking awscli in the future.

Reproduction Steps

  • Install AWS CLI v2 via homebrew

  • Install pyOpenSSL >= 23.2. in system site packages


  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

@github-actions github-actions bot added autosquash Automatically squash pull request commits according to Homebrew style. python Python use is a significant feature of the PR or issue rust Rust use is a significant feature of the PR or issue labels Dec 21, 2023
@github-actions github-actions bot removed the autosquash Automatically squash pull request commits according to Homebrew style. label Dec 21, 2023
Copy link
Member

@branchvincent branchvincent left a comment

Choose a reason for hiding this comment

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

SGTM, thanks!

Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Dec 29, 2023
awscli: ignore system site packages in virtualenv

Configure the virtualenv created by this formula to ignore system site packages as all dependencies are installed in the virtualenv and having certain packages in the system site packages breaks awscli as described here: aws/aws-cli#7942.
@bevanjkay bevanjkay removed the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Dec 29, 2023
@bevanjkay bevanjkay changed the title awscli: ignore system site packages in virtualenv awscli: 2.15.5 Dec 29, 2023
@bevanjkay bevanjkay disabled auto-merge December 29, 2023 06:31
@bevanjkay
Copy link
Member

Thank you @philipfischer

@bevanjkay bevanjkay added the ready to merge PR can be merged once CI is green label Dec 29, 2023
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Dec 29, 2023
@BrewTestBot BrewTestBot added this pull request to the merge queue Dec 29, 2023
Merged via the queue into Homebrew:master with commit e44a717 Dec 29, 2023
12 checks passed
@github-actions github-actions bot added the outdated PR was locked due to age label Jan 29, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. outdated PR was locked due to age python Python use is a significant feature of the PR or issue ready to merge PR can be merged once CI is green rust Rust use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants