-
Notifications
You must be signed in to change notification settings - Fork 579
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
Python 2 compiled without wide unicode support #23
Comments
Seeing the same on azure pipelines (which is presumably the same backend) |
Seems like this is broken again on the latest python available in a ubuntu-18.04 (2.7.17). |
Yup, looks like it's busted. Thanks for the heads up 😢 Confirmed: https://github.com/konradpabjan/TestPython/runs/414015432?check_suite_focus=true @miketimofeev I know there has been some recent work in terms of how Python gets installed on our hosted runners. Could you take a look |
Thanks! To unblock my project (inkstitch/inkstitch) I switched to installing python through apt but it'd be great if I could switch back to the already-installed one in the runner. |
This is needed for GitHub Actions, see actions/setup-python#23
Since Python 3.3 all builds are wide, so avoid dealing with that for now. See actions/setup-python#23 See #2201
Hi there 👋
Not sure if this is the right forum for this (maybe a GitHub Actions VM image issue), but the version of Python 2.7 when running in a VM is not compiled with wide unicode support (
--enable-unicode=ucs4
during the configure step).This seems the same on both
ubuntu-18.04
andubuntu-16.04
images.Python installed from the Ubuntu repos does include wide unicode support, and so do the official Python Docker images.
This has the subtle effect that you can only install wheels built without wide unicode support (
cp27m
packages), rather than the more common wide unicode support (cp27mu
). Some popular packages (e.g.pandas
) only build wheels with wide unicode support and so will fail to install (for various reasons) on Python 2.7 in a GitHub Actions VM. Here is some code showing this.The text was updated successfully, but these errors were encountered: