-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
pip packages on windows have started failing #27
Comments
That's so strange. It is also happening on the master CI. 🤷♂️ Maybe related to this. It seems they have broken python |
Looks like it is fixed if you upgrade to setup-python 2.3.2 actions/setup-python#328 (comment) or just use |
@lefticus I updated v1 branch. Could you try this in another project? Maybe the issue is fixed, but my tests fail because of the environment. |
Same error still, it looks like it's still using the pip installed by github, instead of the one you are trying to use from chocolatey. I'll fork this and see if I can learn anything. |
I am trying to debug the issue, but its failure does not give any useful messages. Did you try manually adding setup-python before setup-cpp? - uses: actions/setup-python@v2
with:
python-version: '3.x' |
I did try that, and still get a failure. I haven't tried doing that and disabling your install of python |
setup-cpp originally did not install pip if it found it pre-installed. But because the pre-installed pip3 is broken, I added this exception for windows to install it. However, it does not help, and pip3 is still broken. setup-cpp/src/utils/setup/setupPipPack.ts Lines 21 to 24 in dabb2db
I have opened an issue for GitHub |
I can now confirm that if I manually install That is, I have been able to isolate it to whatever setup-cpp is doing with pip. https://github.com/lefticus/json2cpp/runs/5078807626?check_suite_focus=true#step:4:1 |
More reasons for this issue: exec breakage: pip breakage |
Fixed in b7f10af The pre-installed pip executable is broken on Windows images. The workaround is to use |
See here : https://github.com/lefticus/json2cpp/runs/5071314373?check_suite_focus=true#step:4:24
These packages were succeeded 2 days ago, failing now. I cannot tell what (if anything) changed in setup-cpp or github action configurations. I also don't see a meaningful message.
The text was updated successfully, but these errors were encountered: