-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
WIP: #9298 - add testing and debugging for the pycache_prefix #9317
WIP: #9298 - add testing and debugging for the pycache_prefix #9317
Conversation
82c3d31
to
fa3e08d
Compare
@The-Compiler accrording to the output, it seems like for some reason the complete set of path parents is replicated @nicoddemus any idea/suggestion (its potentially a windows flag thats enabled in the CI and not enabled on normal systems) |
Here's the output paths, cleaned up:
You mean the full path is being appended to the original path? That's the expected behavior of pytest/src/_pytest/assertion/rewrite.py Line 1131 in cd49075
The path after Let me push a commit to this branch to further try to isolate the problem. |
Ahh interesting, running that test in isolation still fails on CI. |
Interesting, here are the paths in which version: py38
py39 No files at all. py310
So the problem is not some file name mismatching, we are not writing |
Ahh OK got to the actual error! It is happening in
I suspect long paths. |
Yep! The parent folder exists, but we can't write the file. Pretty sure that's to long paths not working there. Will try a quick hack to confirm this. |
Yes, the problem is long paths, I changed This is related to Python 3.9.8: Seems this will solve itself next week with Python 3.9.9. |
I suggest we keep the xfail but add |
closing this as we learned it was a python deployment issue |
adding debugging first, then potentially a xfail for the affected combination (python 3.9 + windows)