-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpixi.toml
More file actions
165 lines (152 loc) · 4.97 KB
/
pixi.toml
File metadata and controls
165 lines (152 loc) · 4.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
[workspace]
name = "ros2_medkit"
description = "SOVD-compatible ROS 2 diagnostics gateway (experimental Pixi environment)"
channels = ["https://prefix.dev/conda-forge"]
platforms = ["linux-64"]
# Common (non-ROS) dependencies shared across all environments
[dependencies]
nlohmann_json = "*"
openssl = "*"
brotli = "*"
sqlite = "*"
cmake = "*"
ninja = "*"
make = "*"
pkg-config = "*"
compilers = "*"
python = "*"
numpy = "*"
git = "*"
curl = "*"
requests = "*"
colcon-common-extensions = "*"
# --- Jazzy environment ---
# Core ROS packages pinned to major version ranges to guard against breaking
# changes on `pixi update`. The lockfile (pixi.lock) pins exact versions for
# day-to-day reproducibility; these ranges are a safety net.
[feature.jazzy]
channels = [
"https://prefix.dev/robostack-jazzy",
"https://prefix.dev/conda-forge",
]
[feature.jazzy.dependencies]
# ROS 2 core (pinned to Jazzy-era major versions)
ros-jazzy-ros-base = ">=0.11,<1"
ros-jazzy-rclcpp = ">=28,<30"
ros-jazzy-rclcpp-action = ">=28,<30"
# Messages
ros-jazzy-std-msgs = "*"
ros-jazzy-std-srvs = "*"
ros-jazzy-sensor-msgs = "*"
ros-jazzy-diagnostic-msgs = "*"
ros-jazzy-rcl-interfaces = "*"
ros-jazzy-action-msgs = "*"
ros-jazzy-builtin-interfaces = "*"
ros-jazzy-geometry-msgs = "*"
ros-jazzy-example-interfaces = "*"
ros-jazzy-test-msgs = "*"
# Build infrastructure
ros-jazzy-ament-cmake = "*"
ros-jazzy-ament-cmake-python = "*"
ros-jazzy-ament-index-cpp = "*"
# Serialization / IDL
ros-jazzy-rosidl-typesupport-cpp = "*"
ros-jazzy-rosidl-typesupport-introspection-cpp = "*"
ros-jazzy-rosidl-typesupport-introspection-c = "*"
ros-jazzy-rosidl-runtime-c = "*"
ros-jazzy-rosidl-runtime-cpp = "*"
ros-jazzy-rosidl-runtime-py = "*"
ros-jazzy-rosidl-parser = "*"
ros-jazzy-rosidl-default-generators = "*"
ros-jazzy-rosidl-default-runtime = "*"
# Utilities
ros-jazzy-rcutils = "*"
ros-jazzy-rcpputils = "*"
ros-jazzy-yaml-cpp-vendor = "*"
# Rosbag
ros-jazzy-rosbag2-cpp = "*"
ros-jazzy-rosbag2-storage = "*"
ros-jazzy-rosbag2-storage-mcap = "*"
# Testing
ros-jazzy-launch-testing = "*"
ros-jazzy-launch-testing-ament-cmake = "*"
ros-jazzy-launch-testing-ros = "*"
ros-jazzy-launch-ros = "*"
ros-jazzy-ament-lint-auto = "*"
ros-jazzy-ament-lint-common = "*"
ros-jazzy-ament-cmake-gtest = "*"
ros-jazzy-ament-cmake-clang-format = "*"
ros-jazzy-ament-cmake-clang-tidy = "*"
ros-jazzy-ament-index-python = "*"
# --- Humble environment ---
# Same pinning strategy as Jazzy - major version ranges for core packages.
[feature.humble]
channels = [
"https://prefix.dev/robostack-humble",
"https://prefix.dev/conda-forge",
]
[feature.humble.dependencies]
# ROS 2 core (pinned to Humble-era major versions)
ros-humble-ros-base = ">=0.10,<1"
ros-humble-rclcpp = ">=16,<18"
ros-humble-rclcpp-action = ">=16,<18"
# Messages
ros-humble-std-msgs = "*"
ros-humble-std-srvs = "*"
ros-humble-sensor-msgs = "*"
ros-humble-diagnostic-msgs = "*"
ros-humble-rcl-interfaces = "*"
ros-humble-action-msgs = "*"
ros-humble-builtin-interfaces = "*"
ros-humble-geometry-msgs = "*"
ros-humble-example-interfaces = "*"
ros-humble-test-msgs = "*"
# Build infrastructure
ros-humble-ament-cmake = "*"
ros-humble-ament-cmake-python = "*"
ros-humble-ament-index-cpp = "*"
# Serialization / IDL
ros-humble-rosidl-typesupport-cpp = "*"
ros-humble-rosidl-typesupport-introspection-cpp = "*"
ros-humble-rosidl-typesupport-introspection-c = "*"
ros-humble-rosidl-runtime-c = "*"
ros-humble-rosidl-runtime-cpp = "*"
ros-humble-rosidl-runtime-py = "*"
ros-humble-rosidl-parser = "*"
ros-humble-rosidl-default-generators = "*"
ros-humble-rosidl-default-runtime = "*"
# Utilities
ros-humble-rcutils = "*"
ros-humble-rcpputils = "*"
ros-humble-yaml-cpp-vendor = "*"
# Rosbag
ros-humble-rosbag2-cpp = "*"
ros-humble-rosbag2-storage = "*"
ros-humble-rosbag2-storage-mcap = "*"
# Testing
ros-humble-launch-testing = "*"
ros-humble-launch-testing-ament-cmake = "*"
ros-humble-launch-testing-ros = "*"
ros-humble-launch-ros = "*"
ros-humble-ament-lint-auto = "*"
ros-humble-ament-lint-common = "*"
ros-humble-ament-cmake-gtest = "*"
ros-humble-ament-cmake-clang-format = "*"
ros-humble-ament-cmake-clang-tidy = "*"
ros-humble-ament-index-python = "*"
# --- Tasks ---
[tasks]
prep = "bash scripts/pixi-install-cpp-httplib.sh"
build = { cmd = "colcon build --symlink-install --cmake-args -DPython3_FIND_VIRTUALENV=ONLY -DPython_FIND_VIRTUALENV=ONLY", depends-on = ["prep"] }
test = { cmd = "colcon test --return-code-on-test-failure --ctest-args -LE 'linter|integration' --event-handlers console_direct+", depends-on = ["build"] }
test-integ = { cmd = "colcon test --return-code-on-test-failure --ctest-args -L integration --event-handlers console_direct+", depends-on = ["build"] }
test-results = "colcon test-result --verbose"
start = { cmd = "ros2 launch ros2_medkit_gateway gateway.launch.py", depends-on = ["build"] }
smoke = { cmd = "bash scripts/pixi-smoke-test.sh", depends-on = ["build"] }
# --- Environments ---
[environments]
jazzy = ["jazzy"]
humble = ["humble"]
# --- Activation ---
[activation]
scripts = ["scripts/pixi-activate.sh"]