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

{Packaging} Set system_site_packages: false in Homebrew formula #19663

Merged
merged 2 commits into from
Oct 8, 2021

Conversation

jiasli
Copy link
Member

@jiasli jiasli commented Sep 23, 2021

Description

Fix #19027

Incorporate the change from

Homebrew made a breaking change in

that the created virtual environment now has access to system site_packages. This causes conflicts with libraries installed to system site-packages (/usr/local/lib/python3.9/site-packages), mainly ansible-collections/azure:

This issue is reported to Homebrew at

Homebrew has now added a switch system_site_packages:

We need to set system_site_packages: false to avoid conflicts with libraries installed to system site-packages.

Additional Context

This conflict has also been reported to ansible-collections/azure and got fixed already:

@yonzhan
Copy link
Collaborator

yonzhan commented Sep 23, 2021

Packaging

@yonzhan yonzhan added this to the Sep 2021 (2021-10-12) milestone Sep 23, 2021
@carlocab
Copy link

FYI, Homebrew/homebrew-core#85719 has been merged so it would be good to have this merged before the next release of azcli.

@jiasli jiasli merged commit c0e7bb2 into Azure:dev Oct 8, 2021
@carlocab
Copy link

carlocab commented Oct 8, 2021

Thanks @jiasli!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No module named azure.cli.__main__;
4 participants