Repository navigation
Comparing changes
Open a pull request
base repository: ros2/rosidl_python
base: lyrical
head repository: ros2/rosidl_python
compare: rolling
- 13 commits
- 10 files changed
- 8 contributors
Commits on May 5, 2026
-
Configuration menu - View commit details
-
Copy full SHA for ebca44a - Browse repository at this point
Copy the full SHA ebca44aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e210dc3 - Browse repository at this point
Copy the full SHA e210dc3View commit details
Commits on Aug 25, 2026
-
Skip redundant find_package(Python3) in generator extensions (#266)
Every rosidl generator extension calls find_package(Python3 REQUIRED COMPONENTS ...) unconditionally. Because ament_execute_extensions includes each extension into the same scope, a single interface package runs that search once per registered generator -- 13 times for a default rolling workspace. CMake does not memoize this. Each repeat re-enters FindPython/Support.cmake and re-interrogates the interpreter with roughly seven subprocesses. On Windows, where CreateProcess for python.exe costs ~60ms locally and far more on a CI runner, the repeats dominate configure time. Guard each call on the imported target, exactly as ament_cmake_core's python.cmake already does. Imported targets are directory scoped, so the target created by the first search is visible to every later extension. Companion to ros2/rosidl. With all four repos patched, configure of builtin_interfaces drops from 17.6s to 13.1s on Windows (median of 5), python.exe spawns from 92 to 22, and the generated build.ninja is byte identical. Signed-off-by: Michael Carroll <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3100e99 - Browse repository at this point
Copy the full SHA 3100e99View commit details
Commits on Sep 23, 2026
-
feat: Cache internal string 3x speedup (#265)
* feat: Cache internal string 3x speedup Signed-off-by: Janosch Machowinski <[email protected]> * Build converted messages without calling ``__init__``. ``convert_to_py`` now allocates the Python message directly and writes to the ``_field`` slots instead of calling the class and assigning through the property setters. ``__init__`` used to recursively construct a default value for every field, all of which were immediately overwritten. ``convert_from_py`` reads the slots directly for the same reason. On a ``visualization_msgs/MarkerArray`` with 500 markers holding 200 nested elements each, ``convert_to_py`` went from 110 ms to 30 ms and ``convert_from_py`` from 22 ms to 9 ms. Behavior change: because the property setters are bypassed, ``ROS_PYTHON_CHECK_FIELDS=1`` no longer runs its type assertions when a message is converted from C to Python. It still applies to messages that user code constructs or assigns to. The values produced by the conversion are built by the generated C code itself and cannot have the wrong type. Assisted-by: Claude Opus 5 Signed-off-by: Janosch Machowinski <[email protected]> * fix: Addressed comments Signed-off-by: Janosch Machowinski <[email protected]> * fix: Set correct path for test case for windows Signed-off-by: Janosch Machowinski <[email protected]> * fix: Next try to fix the windows python path issues Signed-off-by: Janosch Machowinski <[email protected]> --------- Signed-off-by: Janosch Machowinski <[email protected]> Co-authored-by: Janosch Machowinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 184673f - Browse repository at this point
Copy the full SHA 184673fView commit details
Commits on Sep 25, 2026
-
Use the SPDX identifier Apache-2.0 in package.xml license tags (#267)
The <license> tags spelled the license as prose ("Apache License 2.0", "Apache 2.0"). Use the SPDX identifier instead so the declaration can be matched mechanically. The license itself does not change. Assisted-by: Claude Code:claude-opus-5 [git, gh] Signed-off-by: Michael Carroll <[email protected]>Configuration menu - View commit details
-
Copy full SHA for 31ab16f - Browse repository at this point
Copy the full SHA 31ab16fView commit details
Commits on Sep 30, 2026
-
Fix test library dirs for single config generators (#270)
CMAKE_CURRENT_BINARY_DIR/$<CONFIG> only exists under a multi config generator. Ninja writes the libraries directly into the binary directory, so the PATH entry pointed at a directory that does not exist. Assisted-by: Claude Code (Claude Opus 5) Signed-off-by: Michael Carroll <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b9ed378 - Browse repository at this point
Copy the full SHA b9ed378View commit details
Commits on Oct 6, 2026
-
Signed-off-by: Michael Carlstrom <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fb4cb9a - Browse repository at this point
Copy the full SHA fb4cb9aView commit details
Commits on Oct 26, 2026
-
Use rosidl_find_package_idl() to find .idl file paths (#268)
This was introduced as an abstracted and centralized function in ros2/rosidl#754 to replace all the various reimplemented logic across the various rosidl packages. Signed-off-by: Nathan Wiebe Neufeldt <[email protected]> Co-authored-by: Alejandro Hernandez Cordero <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f99517a - Browse repository at this point
Copy the full SHA f99517aView commit details
Commits on Nov 2, 2026
-
Remove custom ament_cppcheck usage. (#274)
ament_cppcheck has been effectively dead since 2022, when it was disabled for the 2.x versions having very long scan times. We haven't seemed to miss it in the intervening 4 years, so I think it is time to stop using it at all. Remove the custom ament_cppcheck setup in this repository. Signed-off-by: Chris Lalancette <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d7cc8ab - Browse repository at this point
Copy the full SHA d7cc8abView commit details
Commits on Nov 3, 2026
-
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f34652 - Browse repository at this point
Copy the full SHA 1f34652View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4bfbec - Browse repository at this point
Copy the full SHA d4bfbecView commit details
Commits on Nov 13, 2026
-
Stop using deprecated SourceFileLoader.load_module (#278)
The SourceFileLoader.load_module function was deprecated in Python 3.6 and was removed in Python 3.15. Assisted-by: Gemini 3.8 Flash <[email protected]> Signed-off-by: Scott K Logan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f0da496 - Browse repository at this point
Copy the full SHA f0da496View commit details
Commits on Nov 16, 2026
-
Fix linter coverage of bin/rosidl_generator_py (#279)
Because this file doesn't have a `.py` extension, it needs to be explicitly added to the linter command line arguments. Also fix the linter violations so the tests pass. Assisted-by: Gemini 4 Argon <[email protected]> Signed-off-by: Scott K Logan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 807b238 - Browse repository at this point
Copy the full SHA 807b238View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff lyrical...rolling