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

Update Python to 3.10 on Humble and Rolling #44

Open
wants to merge 3 commits into
base: latest
Choose a base branch
from

Conversation

sloretz
Copy link
Contributor

@sloretz sloretz commented Apr 19, 2022

Matches version on Jammy

https://packages.ubuntu.com/jammy/python3

Alternative to #16

ros-infrastructure/rep#349

Requires #43

@clalancette
Copy link
Contributor

I'm all for this, though I do think we want to switch CI over to using this before we go ahead with this and the connected PRs. Can you open a corresponding PR to https://github.com/ros2/ci, and run CI with it (including Windows Debug)?

@sloretz
Copy link
Contributor Author

sloretz commented Apr 22, 2022

Started CI: ros2/ci#660 (comment)

@sloretz sloretz force-pushed the sloretz__humble__python branch from 2938218 to 428dda8 Compare April 25, 2022 22:38
Copy link

@audrow audrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but we should wait on ros2/ci#660 (comment) before merging, correct?

@sloretz sloretz force-pushed the sloretz__humble__python branch from 428dda8 to e805e9a Compare April 28, 2022 15:52
sloretz added a commit to ros2/ci that referenced this pull request Apr 28, 2022
sloretz added 2 commits April 28, 2022 10:51
Signed-off-by: Shane Loretz <[email protected]>
Signed-off-by: Shane Loretz <[email protected]>
@sloretz
Copy link
Contributor Author

sloretz commented Apr 28, 2022

I may need to be back to my Windows machine to get further. I think this answer on SO describes the problem.

PyQt5 is failing to install on Windows because the release of 5.15.0 on PyPI doesn't have binaries for Python 3.10. Pip tries to build it from source, but seems to raise an exception that qmake isn't found. I tried moving the install step of Qt5 above pip installs, but that didn't seem to make qmake available to pip. I'm currently trying PyQt5 5.15.6 because that version uses cPython's stable abi, so maybe it will work with Python 3.10.

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

Successfully merging this pull request may close these issues.

3 participants