rosgraph: add patch to fix hang with Python 3.11

This patch is included in an upstream PR but it has not been merged yet.
This commit is contained in:
Ben Wolsieffer 2024-04-10 20:47:52 -04:00
parent cdb7956e95
commit e239e71fd2

View file

@ -91,6 +91,20 @@ rosSelf: rosSuper: with rosSelf.lib; {
roscpp = patchBoostSignals rosSuper.roscpp;
rosgraph = rosSuper.rosgraph.overrideAttrs ({
patches ? [], ...
}: {
patches = patches ++ [
# Fix infinite loop with Python 3.11
# From https://github.com/ros/ros_comm/pull/2297
(self.fetchpatch {
url = "https://github.com/ros/ros_comm/commit/2dc0ee9290012ee4674284f077355a39cc94c459.patch";
hash = "sha256-Z96KUsKv1LvEPnTXl+Icz89bEhkxfoETbvPasNPO6AY=";
stripLen = 2;
})
];
});
rqt-console = rosSuper.rqt-console.overrideAttrs ({
postFixup ? "", ...
}: {