-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
pytest: do not store .pytest_cache in $out #40273
Comments
Occurrences:
|
Quoting from #40259 (comment):
|
…lder, fixes #40273 When `py.test` was run with a folder as argument, it would not only search for tests in that folder, but also create a .pytest-cache folder. Not only is this state we don't want, but it was also causing collisions.
Fix in 610485f |
Seems like the issue is still present (#44479):
|
Looks like a typo; it should be |
This doesn't seem to fix the problem, because |
It is indeed the incorrect phase, I forgot about the order. The solution is to use |
New solution adding a new phase: #45898 |
Latest fix landed in master. Now, it still needs to be backported. |
I've pushed the fixes to |
Looks to now have landed. |
@matthewbauer , are you sure? I do not see |
The related #47285 is still an issue on 18.09. |
Issue description
In #40259 a collision of
.pytest_cache
files was reported. These files should not exist in the first place.They only seem to be introduced when running
pytest
with$out
as target, soThe text was updated successfully, but these errors were encountered: