We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The recently added PEP660 support for editable package installs seems to interfere with assert rewriting. I get the following warning:
PytestAssertRewriteWarning: Module already imported so cannot be rewritten: __editable__...
This seems to be caused by the new __editable__* files in site-packages.
__editable__*
site-packages
If I install the editable packages with --no-use-pep517 the __editable__* files aren't generated and the warnings are gone.
--no-use-pep517
The text was updated successfully, but these errors were encountered:
closing as dupe of #10230 , which is easy to miss as the same
Sorry, something went wrong.
I actually saw that and didn't realize it has the same cause.
Successfully merging a pull request may close this issue.
The recently added PEP660 support for editable package installs seems to interfere with assert rewriting. I get the following warning:
PytestAssertRewriteWarning: Module already imported so cannot be rewritten: __editable__...
This seems to be caused by the new
__editable__*
files insite-packages
.If I install the editable packages with
--no-use-pep517
the__editable__*
files aren't generated and the warnings are gone.The text was updated successfully, but these errors were encountered: