Skip to content

Commit 8b6d4ed

Browse files
committed
Update to Jazzy
The jazzy-dev image is [based off Ubuntu 24.04](https://github.com/athackst/dockerfiles/blob/9c7fbd67a5c7dbe041558ce10e3c9c1717b816f0/ros2/jazzy.Dockerfile#L8), which uses [python3.12](https://packages.ubuntu.com/noble/python3) (vs. humble / Ubuntu 22.04, which used [python3.10](https://packages.ubuntu.com/noble/python3)).
1 parent 7c91849 commit 8b6d4ed

File tree

8 files changed

+13
-12
lines changed

8 files changed

+13
-12
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM althack/ros2:humble-dev
1+
FROM althack/ros2:jazzy-dev
22

33
# ** [Optional] Uncomment this section to install additional packages. **
44
#

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
PYTHONPATH=src:install/lib/python3.10/site-packages
1+
PYTHONPATH=src:install/lib/python3.12/site-packages

.github/workflows/ros.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
branches:
77
- humble*
88
- iron*
9+
- jazzy*
910
- rolling*
1011
workflow_dispatch:
1112

.vscode/c_cpp_properties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "Linux",
55
"includePath": [
66
"${workspaceFolder}/**",
7-
"/opt/ros/humble/include/**"
7+
"/opt/ros/jazzy/include/**"
88
],
99
"defines": [],
1010
"compilerPath": "/usr/bin/gcc",

.vscode/settings.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
"*.xacro": "xml"
1010
},
1111
"python.analysis.extraPaths": [
12-
"/opt/ros/humble/lib/python3.10/site-packages/"
12+
"/opt/ros/jazzy/lib/python3.12/site-packages/"
1313
],
1414
// Autocomplete from ros python packages
1515
"python.autoComplete.extraPaths": [
16-
"/opt/ros/humble/lib/python3.10/site-packages/"
16+
"/opt/ros/jazzy/lib/python3.12/site-packages/"
1717
],
1818
// Environment file lets vscode find python files within workspace
1919
"python.envFile": "${workspaceFolder}/.env",
@@ -24,7 +24,7 @@
2424
],
2525
"C_Cpp.default.intelliSenseMode": "linux-gcc-x86",
2626
"C_Cpp.formatting": "disabled",
27-
"uncrustify.configPath.linux": "/opt/ros/humble/lib/python3.10/site-packages/ament_uncrustify/configuration/ament_code_style.cfg",
27+
"uncrustify.configPath.linux": "/opt/ros/jazzy/lib/python3.12/site-packages/ament_uncrustify/configuration/ament_code_style.cfg",
2828
"[cpp]": {
2929
"editor.defaultFormatter": "zachflower.uncrustify"
3030
},
@@ -71,5 +71,5 @@
7171
".vscode-insiders",
7272
".devcontainer/devcontainer.json"
7373
],
74-
"ament-task-provider.envSetup": "source /opt/ros/humble/setup.bash",
75-
}
74+
"ament-task-provider.envSetup": "source /opt/ros/jazzy/setup.bash",
75+
}

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"label": "source",
5959
"detail": "Source workspace",
6060
"type": "shell",
61-
"command": "source /opt/ros/humble/setup.bash",
61+
"command": "source /opt/ros/jazzy/setup.bash",
6262
"problemMatcher": []
6363
},
6464
// Linting and static code analysis tasks

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ See [how I develop with vscode and ros2](https://www.allisonthackston.com/articl
1111
ROS2-approved formatters are included in the IDE.
1212

1313
* **c++** uncrustify; config from `ament_uncrustify`
14-
* **python** autopep8; vscode settings consistent with the [style guide](https://docs.ros.org/en/humble/The-ROS2-Project/Contributing/Code-Style-Language-Versions.html)
14+
* **python** autopep8; vscode settings consistent with the [style guide](https://docs.ros.org/en/jazzy/The-ROS2-Project/Contributing/Code-Style-Language-Versions.html)
1515

1616
### Tasks
1717

@@ -52,7 +52,7 @@ Click on "use this template"
5252
5353
### Create your repository
5454
55-
On the next dialog, name the repository you would like to start and decide if you want all of the branches, or just the latest LTS: humble.
55+
On the next dialog, name the repository you would like to start and decide if you want all of the branches, or just the latest LTS: jazzy.
5656
5757
![template_new](https://user-images.githubusercontent.com/6098197/91332035-713ee980-e780-11ea-81d3-13b170f568b0.png)
5858

src/ros2.repos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ repositories:
77
examples:
88
type: git
99
url: https://github.com/ros2/examples.git
10-
version: humble
10+
version: jazzy

0 commit comments

Comments
 (0)