Fix Pytest 8/9 compatibility in hooks#972
Conversation
66af3cc to
d86b699
Compare
|
Pulls: #972 |
This commit addresses two issues: 1. Renames deprecated path argument to module_path/collection_path in pytest hooks to support Pytest 8/9. 2. Ensures LaunchService run_async task is always awaited by registering the finalizer earlier and passing the task explicitly. Assisted-by: Gemini CLI:2.0-Flash [run_shell_command, replace, git, gh] Signed-off-by: Michael Carroll <mjcarroll.oss@gmail.com>
d86b699 to
6d7358b
Compare
|
Pulls: #972, ros2/launch_ros#540 |
|
https://github.com/Mergifyio backport lyrical |
✅ Backports have been createdDetails
|
…s2#972) This commit addresses two issues: 1. Renames deprecated path argument to module_path/collection_path in pytest hooks to support Pytest 8/9. 2. Ensures LaunchService run_async task is always awaited by registering the finalizer earlier and passing the task explicitly. Assisted-by: Gemini CLI:2.0-Flash [run_shell_command, replace, git, gh] Signed-off-by: Michael Carroll <mjcarroll.oss@gmail.com>
This PR fixes deprecated hook signatures in launch and launch_testing that cause failures in newer pytest versions (e.g. Pytest 9.0).