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

py shim module breaks module resolution in venvs with --system-site-packages enabled #10603

Closed
crazyfermions opened this issue Dec 21, 2022 · 1 comment

Comments

@crazyfermions
Copy link

If pytest is installed in a venv which has system-site-packages enabled and py is installed in the system-site-packages, the shim module provided by pytest is preferred over the one from the system (contrary of what is stated in the shim module's comment). This leads to code breaking the venv which otherwise would run fine.

Possibly related to #10428 (comment further down in thread).

@nicoddemus
Copy link
Member

Thanks @crazyfermions, but closing as duplicate of #10520. 👍

@nicoddemus nicoddemus closed this as not planned Won't fix, can't repro, duplicate, stale Dec 21, 2022
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

No branches or pull requests

2 participants