-
-
Notifications
You must be signed in to change notification settings - Fork 141
CI failing on Windows. #240
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
Comments
I have a hunch that poetry upgrading is the cause of this issue, so I am trying to pin poetry to a working version. Based on issues reported in github, it seems there are issues with poetry 1.2.0 all over the place. |
I pinned the poetry version and it passed, so trying merging your current versions with latest main and see if it makes CI work @bashtage |
Thought that the change to poetry version would work, but still failing. |
It's not |
Could try windows-2019 as host. |
I've simplified it to having something to do with where poetry installs packages . I have a simple workflow now where if I use |
On mac/linux we have a cached poetry.lock but on windows we do not have a cache hit! Maybe mac/linux would also fail if they have a cache miss? |
It's still fails if I comment out all the stuff that looks for the cached |
Yeah, just tested it here https://github.com/pandas-dev/pandas-stubs/runs/8125630234?check_suite_focus=true :( The weird thing is that poetry's verbose output claims it installs loguru! |
Take a look at this one https://github.com/Dr-Irv/pandas-stubs/runs/8125585160?check_suite_focus=true I made the script print out the path to python, called a simple thing to import pandas, and it is not using the python in the poetry virtual environment. |
So it seems if you refer to |
Does that mean it is likely that something about github's windows machines changed? There is no new version of cpython, no new version of loguru, not related to caching, and it also fails with older versions of poetry. |
I tried |
There wasn't a recent release of setup-python tools either. In the meantime, I would feel comfortable merging PRs if the linux/mac tests succeed. |
I think I have it working now with the action for installing poetry. |
Well, it worked if I had changed |
Why not just disable windows until we think it is working normally? Are there any important scenarios where a windows CI would fail while Linux/OSX would not? |
I've seen it happen for legitimate reasons, possibly due to I/O, but I can't remember. |
Describe the bug
loguru is breaking windows
To Reproduce
Run CI on windows
Should use standard logging for now since it is a minimal dependency.
The text was updated successfully, but these errors were encountered: