-
Notifications
You must be signed in to change notification settings - Fork 11
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-pyqt5 dropped sip4-support patch #9
Comments
EDIT: This solution is outdated. See the alternative solution (via pip) below. |
Here's an alternative solution:
This is the error message (for future visitors):
We may need to take this discussion to upstream: https://github.com/ros-visualization/qt_gui_core Some potentially useful info here: https://groups.google.com/g/linux.debian.bugs.dist/c/FdgUVpZ4SWE Also related (from https://aur.archlinux.org/packages/ros2-foxy/#comment-845555):
|
Downgrading won't work, because the package is based on python-3.9 :(
|
Update: I did not want to overwrite my Python distribution using I find this workaround that you pointed out the best for installation, but did not try if ROS breaks or not during development:
So the steps are:
|
The problem is the sip4 support so Using the software manager: Install python-pyqt5-sip4-compat (this will install other required pyqt5 packages) |
Thanks @JorgeEdGG for sharing your solution. Unfortunately I can't find "python-pyqt5-sip4-compat" in AUR or Arch packages page. I've only found this Manjaro package. I suppose your solution can only be used by Manjaro users, am I right? |
@m2-farzan You are right, that |
If you are on If the official package has it fixed, might someone notify me? Thanks :). |
Is sip4 supported version of PyQT5 needed only at compiling time? or is it also needed in runtime? |
Both |
@mr-cn do you have the time to make a PR for the workaround you've found? Does it suffice to simply to replace |
By replacing `sip4` and `ros2-pyqt5-sip-compat` deps with `python-pyqt5-sip4` as suggested in issue m2-farzan#9.
@m2-farzan Can you please have a look at my PR addressing this issue when you have time? |
Sure. I'll merge it in a few days. Sorry, it's been a busy week...
|
By replacing `sip4` and `ros2-pyqt5-sip-compat` deps with `python-pyqt5-sip4` as suggested in issue #9.
By replacing `sip4` and `ros2-pyqt5-sip-compat` deps with `python-pyqt5-sip4` as suggested in issue #9.
Sorry for my late response.
I suggest We may move I will do some tests and share the result later. |
There is a patch here for sip4 which backports upstream sip module fixes rather than re-adding a previously dropped python patch: I rebased this on the latest 4.19.25 used in RHEL/Centos Stream 9 EPEL and it appears to work + be a better approach. (going forward with sip via backport instead of backwards with python-qt5 by re-adding a dropped patch). Both of these patches would be needed on top of sip 4.19.25: |
python-pyqt5 dropped sip4-support patch, so there is problem building qt_gui_cpp.
The text was updated successfully, but these errors were encountered: