Fix Pytest 8/9 compatibility in launch_testing_ros hooks (backport #540)#541
Fix Pytest 8/9 compatibility in launch_testing_ros hooks (backport #540)#541mergify[bot] wants to merge 2 commits intolyricalfrom
Conversation
Rename deprecated path argument to module_path to avoid warnings and failures in newer pytest versions. Assisted-by: Gemini CLI:2.0-Flash [run_shell_command, replace, git, gh] Signed-off-by: Michael Carroll <mjcarroll.oss@gmail.com> (cherry picked from commit 5ba9fa4)
|
CI: Note that I expect this to fail on Windows (it wasn't tested there before). That will eventually be fixed by #544 |
|
Pulls: ros2/launch#973, #541 |
We need this compatibility because Windows pixi is still using an older pytest. This doesn't really hurt anything either. While we are in here, fix a pep257 warning that I noticed in the tests. Signed-off-by: Chris Lalancette <clalancette@gmail.com>
|
I just cherry-picked #543 onto here, since they need to go in together. Now I'm going to run CI again. |
|
Holding off on this until we figure out the situation in ros2/launch#974 and can backport it. |
|
Full CI with this PR, ros2/launch#973, and ament/ament_lint#582 all in: |
This PR fixes deprecated hook signatures in launch_testing_ros that cause failures in newer pytest versions (e.g. Pytest 9.0).
Related: ros2/launch#972
This is an automatic backport of pull request #540 done by Mergify.