Skip to content
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.7 setup runtime unable to successfully install packages #28

Closed
matthewfeickert opened this issue Sep 27, 2019 · 9 comments
Closed
Assignees

Comments

@matthewfeickert
Copy link

matthewfeickert commented Sep 27, 2019

Hi. In a recent PR on a project I work on I tried to move testing of Python 2.7 from Travis CI to GitHub Actions. In doing so I found that the Python 2.7 runtime setup by setup-python has the tests fail as it is unable to install TensorFlow during the the Install dependencies step.

I've made a minimal failing example in the following repo: test-setup-python-action. Here I show that if I only have setup-python setup Python 3.6 and Python 3.7 runtimes the installation is able to succeed and the GitHub Action finishes. If I then also ask for setup-python to setup Python 2.7 it fails quickly. Unless I've misunderstood something about how setup-python works this seems to show that there is something about the Python 2.7 runtime that is setup which is causing installation issues. Additionally, I have checked that the installation with Python 2.7 works fine in the Python 2.7 Docker image.

I realize I'm simply reporting information rather then actually pointing to anything specific. If I can be of help in trying to fix this in any way please let me know, as my project would love to be able to fully move our testing to GitHub Actions.

Also, thanks for making the setup-python action! It is great!

cc @kratsg @lukasheinrich

@matthewfeickert
Copy link
Author

I'm tagging @bryanmacfarlane as this comment makes it seem like they are now in charge of the setup-python Action.

@JayH5
Copy link

JayH5 commented Oct 28, 2019

You may have hit the same problem I did with #23

@matthewfeickert
Copy link
Author

You may have hit the same problem I did with #23

Very possibly. Thanks for alerting me to your issue!

@bryanmacfarlane
Copy link
Member

@madhurig team owns

@konradpabjan konradpabjan self-assigned this Nov 6, 2019
@madhurig madhurig removed their assignment Nov 6, 2019
@konradpabjan
Copy link
Collaborator

Python 2.7 on ubuntu 1604 and 1804 is being rebuilt with ucs4 so it should fix any packages that fail to install

@matthewfeickert
Copy link
Author

Python 2.7 on ubuntu 1604 and 1804 is being rebuilt with ucs4 so it should fix any packages that fail to install

Sounds good. So watch this space/check back in a few weeks?

@konradpabjan
Copy link
Collaborator

New version of 2.7 is compiled and it's just awaiting deployment to all vms.

Nov 18th-20th is my rough estimate for when it should roll out everywhere. Normally we do weekly deployments but due to Github Universe happening next week we're not going to be pushing out any new changes.

@konradpabjan
Copy link
Collaborator

#23 has been closed out so it should be possible to install all types of packages with 2.7 that required wide-character support

image

@matthewfeickert
Copy link
Author

Thanks @konradpabjan!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants