python_qt_bindings: switch to qt6#708
Conversation
|
Thanks! On the first sight it looks good and fixes many problems: https://hydra.iid.ciirc.cvut.cz/eval/6872?compare=lopsided98-develop&full=0. I'll look in more detail later. |
|
It seems the patch is taken from somewhere else. Can you fetch it with |
|
Sure, this is a wget of the .patch of the PR in… wait, I thought I had documented that, sorry. Anyways, that is ros-visualization/python_qt_binding#143 Should I fetchpatch the 3 commits ? |
|
Yes, fetch all three. If you fetch the whole PR, its hash can change if a commit is added to the PR and it would cause build failures. |
|
> -- SIP binding generator NOT available.
┃ > -- Python binding generators:
┃ > CMake Error at CMakeLists.txt:66 (message):
┃ > No Python binding generator found.Maybe one of you knows how to fix that? |
|
I guess ros-visualization/qt_gui_core#293 is relevant, following ros-visualization/python_qt_binding#143 |
|
Yes, qt-gui-cpp = rosSuper.qt-gui-cpp.overrideAttrs (
{
patches ? [ ],
propagatedBuildInputs ? [ ],
...
}:
{
patches = patches ++ [
# ref. https://github.com/ros-visualization/qt_gui_core/pull/309, just to allow the other patch to apply
(self.fetchpatch {
url = "https://github.com/ros-visualization/qt_gui_core/commit/d07b80eac7657fe56b6581e94fa67b91056715a2.patch";
hash = "sha256-99nUTiYqUm6R+YmM0hfk3+C3uyzHqmW8b8xkb+oM6TY=";
stripLen = 1;
revert = true;
})
# Qt 5 -> 6
# ref. https://github.com/ros-visualization/qt_gui_core/pull/293
(self.fetchpatch {
url = "https://github.com/ros-visualization/qt_gui_core/commit/21941697c5584dc73968a8b50c51df2aef929562.patch";
hash = "sha256-4MO4X0AyK9X7UsVBxVosR9bx+62tZgXgJ3a6n2q5E1A=";
stripLen = 1;
})
];
propagatedBuildInputs = propagatedBuildInputs ++ [ rosSuper.tinyxml2-vendor ];
}
);But it would be better to rebase 293 instead of reverting 309 x) |
Thanks for that. This only works for rolling but not for the other distros. It seems like some more work would be needed to get that working for all distros. |
It thought this was already done in lopsided98#708
It thought this was already done in lopsided98#708
It thought this was already done in lopsided98#708
Hi,
python_qt_bindings refuse to evaluate (
shiboken2-5.15.17marked broken for python >= 3.13).ref. https://wiki.qt.io/Qt_for_Python#Python_compatibility_matrix
So I guess we need to switch this to Qt6.
There are probably a ton of other implications, but right now this at least fix eval + build on humble/jazzy/kilted/rolling :)
Or should we pin python 3.12 ?