-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
ROS Humble needs to be rebuilt for Python 3.11 #227
Comments
Managed to rebuild the package myself, no major set-backs. Looks like there's an upstream update from pybind11_vendor that was required to be pulled (either that or I just missed it when I cloned the repo. Had a few other instances of missing |
Hi, would you like to share your modified PKGBUILD so we can build it for everyone? |
Good idea. I'll put the required changes into a patch and make sure everything is up to date with rolling. Give me a day or two and I'll make a pull request. |
Thanks in advanced! It's also OK to just upload the PKGBUILD to here or somewhere if you are not familiar with |
Had a good dig into this today. My attempt can be found on my branch. See PKGBUILDs and patches attached, prefixed with their parent packages. I have not had any experience with cactus, so thanks for that! -- Apologies that they are ros2-humble_PKGBUILD.txt The major change was actually working around the SIP4 issues. The current state of SIP from PyQt/riverbankcomputing is a bit of a mess, and a lot of the ROS packages are stuck on SIP4 on ubuntu (even for their rolling branch?). It seems that the PyQt group are trying to push people along, but there's been a slow uptake. What concerns me is that there is comments floating around from that team basically saying that support for SIP4 is dead and people need to move on. The only way I could get this to build effectively with my knowledge of SIP was to drop it entirely and switch to the pyside2 bindings. If anyone knows their way around PyQt better, then this can probably be avoided. I personally don't see the downside, but I would guess that there is licensing issues, etc. Apologies if this is not sufficient, and good luck to anyone that needs to fix that mess properly. For anyone going down that path, I think the specific changes needed are to update the upstream of python_qt_binding, specifically this file. The |
From further investigation of the Also noted that the longer term fix has had a pull request waiting for a few years now (ros-visualization/python_qt_binding#94). I imagine that the ros-visualization group is a bit under-powered as of late. Guess we'll see how this pans out. |
I managed to build humble in clean chroot using m2-farzan/ros2-humble-PKGBUILD#11. |
The current version seems to be built against Python3.10, Arch core has updated to Python3.11. Runtime error suggests that rclpy cannot find Python3.10 libraries anymore (which I believe is correct as they do not exist).
Link to related documentation
Runtime Error:
The text was updated successfully, but these errors were encountered: