-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Windows CI builds broken #12460
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
The only suspicious thing I saw in the output is |
I can take a look at the issue a little later. |
last pass was https://github.com/python/mypy/runs/5694572863?check_suite_focus=true The last pass was on windows server 2022, so I don't think that is the root cause. Sample failed output
Here are the details from "Set up job": Successful job
Failed job
Additional analysisunknown option '/O0'`There is a warning:
Line 246 in 1480344
And being used here: Lines 525 to 529 in 1480344
#12462 Changed |
In #12462 I tried to fix the |
setuptools had some releases around the time CI started failing, and since the bug seems to be related to the names of the generated extension modules and I think we use setuptools to handle the compilation, a setuptools change could cause a failure there. The last pass in #12460 (comment) seems to be using setuptools 61.0.0, and the first fail seems to be using 61.1.0. I haven't looked too much into what the cause of the failures is, but it seems worth trying to pin setuptools to 61.0.0 for now to see if that fixes the CI. |
I started looking into it last night, but it seems that the test suite hangs and I cannot Ctrl+C when it fails for me, which is unfortunate. I will try to run things with failfast and see if using an older setuptools fixes things. (Hopefully it fixes the test hanging as well, but that may be another issue). |
https://github.com/python/mypy/runs/5714129295?check_suite_focus=true Doesn't seem like its setuptools? |
virtualenv==20.13.4 went to virtualenv==20.14.0? |
#12471 that didn't help either |
I'm doing some experiments in #12476. The first result is that a running single test case still fails ( |
Allow extension file names such as `native.pyd` in addition to `native.<python-version>.<ext>`. I'm not sure why the file names have changed, but the new file names seem okay as well. Fixes #12460.
Allow extension file names such as `native.pyd` in addition to `native.<python-version>.<ext>`. I'm not sure why the file names have changed, but the new file names seem okay as well. Fixes #12460.
Seems to be fixed now. Thanks for the help! It would be great if somebody could install the latest Windows wheel from https://github.com/mypyc/mypy_mypyc-wheels (once it's ready) and check that it works and is compiled. |
It looks like this is an instance of pypa/setuptools#3219, and setuptools upgrading was what broke the CI. I think #12471 didn't help because the CI run still appears to be using setuptools version 61.2.0 because there are 2 |
I will test this once I am back in front of my computer in about an hour. |
Things seem to be working as expected! |
Currently all Windows CI builds seem to be broken.
Example failure: https://github.com/python/mypy/actions/runs/2044190861
This might be caused by the switch to a new CI image with Windows Server 2022: actions/runner-images#4856
We could try falling back to Windows-2019 temporarily while we investigate what is going on.
Any help with investigating the failures would be appreciated, since I don't do much development in Windows.
The text was updated successfully, but these errors were encountered: