Public bug reported: Recent changes to Python which have been backported to Python 3.11 and 3.12 break colcon argument parsing due to a dependency on private API in argparse.
A fix has been released in colcon-core 0.16.1 which should be backported to any platforms which will receive the updated Python releases. The python3-colcon-core package currently in Ubuntu Noble is suffering from this issue now. https://github.com/colcon/colcon-core/pull/635 ** Affects: ros2-colcon-core (Ubuntu) Importance: Undecided Status: Confirmed ** Patch added: "0001-Fix-argument-parsing-in-newer-Python.patch" https://bugs.launchpad.net/bugs/2060717/+attachment/5762890/+files/0001-Fix-argument-parsing-in-newer-Python.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060717 Title: colcon-core argument parsing is broken by recent changes to Python 3.11+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ros2-colcon-core/+bug/2060717/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
