set ROS_PYTHON_VERSION for rosdep
Metadata
Current evaluation
Merged PR #3324 (commit 886da09ca) set ROS_PYTHON_VERSION=2 for rosdep, eliminating the unset-variable warning. PR #3346 later refined ROS 2 handling to use version 3.
Resolution: closed resolved
Reason: The approved change was merged in PR #3324 as commit 886da09ca, explicitly configuring rosdep's environment and resolving the warning.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Sets `ROS_PYTHON_VERSION = 2` for the env used by `rosdep` to fix an harmless but annoying warning:
```terminal
WARNING: ROS_PYTHON_VERSION is unset. Defaulting to 2
```
Signed-off-by: artivis <deray.jeremie@gmail.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3324 (commit 886da09ca) set ROS_PYTHON_VERSION=2 for rosdep, eliminating the unset-variable warning. PR #3346 later refined ROS 2 handling to use version 3. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3324 as commit 886da09ca, setting ROS_PYTHON_VERSION=2 for rosdep to silence the unset-variable warning. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/snapcraft#3324 via commit 886da09ca, setting ROS_PYTHON_VERSION=2 for rosdep to suppress its unset-variable warning. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3324 in commit 886da09ca, setting ROS_PYTHON_VERSION=2 for rosdep to suppress its unset-variable warning. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in PR #3324 via commit 886da09ca, setting ROS_PYTHON_VERSION=2 for rosdep and eliminating the unset-variable warning. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3324 in commit 886da09ca, setting ROS_PYTHON_VERSION=2 for rosdep to suppress the unset-variable warning. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a two-line update setting ROS_PYTHON_VERSION=2 for the rosdep environment, resolving a harmless defaulting warning. Approved by two reviewers and passed CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes setting ROS_PYTHON_VERSION=2 in the rosdep environment. This eliminates a harmless warning about the variable being unset, preventing automatic defaulting and ensuring consistent execution. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft#3346
(confidence 95%)
Follow-up PR #3346, merged as d388938c7, refined the ROS 2 rosdep path to use ROS_PYTHON_VERSION=3.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3346 Fix rosdep ROS_PYTHON_VERSION | snapcraft | merged | Merged PR #3346 (commit d388938c7) fixes the v1 ROS 2 colcon/rosdep path by setting ROS_PYTHON_VERSION=3. |