-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpixi.toml
More file actions
162 lines (154 loc) · 6.36 KB
/
pixi.toml
File metadata and controls
162 lines (154 loc) · 6.36 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
[workspace]
name = "pixi_ros2_rolling"
version = "0.1.0"
description = "Dependencies to build ROS 2"
authors = ["Chris Lalancette <clalancette@gmail.com>"]
channels = ["conda-forge"]
platforms = ["win-64", "linux-64"]
[tasks]
clone = { cmd = "vcs import --input ros2.repos src", description = "Clone ROS 2 source repositories", outputs = [ "src/ros2/rcl/README.md"] }
pull = { cmd = "vcs pull src", description = "Pull latest changes from all source repositories", depends-on = ["clone"] }
build = { cmd = "scripts/colcon_wrapper.py build {{ packages }}", description = "Build packages and their dependencies", clean-env = true, args = [{arg = "packages", default = ""}], depends-on = ["clone"] }
test = { cmd = "scripts/colcon_wrapper.py test {{ packages }} {% if tests_to_run %}--tests-to-run {{ tests_to_run }}{% endif %}", description = "Run tests for specific packages", clean-env = true, args = [{arg = "packages", default = ""}, {arg = "tests_to_run", default = ""}], depends-on = [{task = "build", args = [{packages = "{{ packages }}"}]}] }
test-up-to = { cmd = "scripts/colcon_wrapper.py test-up-to {{ packages }} {% if tests_to_run %}--tests-to-run {{ tests_to_run }}{% endif %}", description = "Test packages and their dependencies", clean-env = true, args = [{arg = "packages", default = ""}, {arg = "tests_to_run", default = ""}], depends-on = [{task = "build", args = [{packages = "{{ packages }}"}]}] }
compile-commands = { cmd = "compdb -p build list > compile_commands.json", description = "Generate compile_commands.json for IDE integration", args = [{arg = "packages", default = ""}], depends-on = [{task = "build", args = [{packages = "{{ packages }}"}]}] }
list = { cmd = "colcon list --names-only", description = "List all available packages", depends-on = ["clone"] }
clean = { cmd = "rm -rf build install log", description = "Remove build artifacts" }
distclean = { cmd = "scripts/distclean.py", description = "Clean build artifacts and source repositories" }
[target.linux-64.activation.env]
LDFLAGS="$LDFLAGS -L$CONDA_PREFIX/x86_64-conda-linux-gnu/sysroot/lib64 -Wl,--no-as-needed -lpthread"
PYTHONPYCACHEPREFIX="$PIXI_PROJECT_ROOT/build/__pycache__"
[target.win-64.activation.env]
QT_QPA_PLATFORM_PLUGIN_PATH="%cd%\\.pixi\\envs\\default\\Library\\plugins\\platforms"
[dependencies]
# The following are "tooling" dependencies, used to install or initiate builds.
# We pin them less aggressively since they will presumably continue to their job,
# and we don't rely on any particular API or ABI for them to be stable.
colcon-cmake = ">=0.2.28,<0.3"
colcon-core = ">=0.17.1,<0.18"
colcon-defaults = ">=0.2.8,<0.3"
colcon-library-path = ">=0.2.1,<0.3"
colcon-metadata = ">=0.2.5,<0.3"
colcon-mixin = ">=0.2.3,<0.3"
colcon-output = ">=0.2.13,<0.3"
colcon-package-information = ">=0.4.0,<0.5"
colcon-package-selection = ">=0.2.10,<0.3"
colcon-parallel-executor = ">=0.2.4,<0.3"
colcon-pkg-config = ">=0.1.0,<0.2"
colcon-powershell = ">=0.4.0,<0.5"
colcon-python-setup-py = ">=0.2.7,<0.3"
colcon-recursive-crawl = ">=0.2.3,<0.3"
colcon-ros = ">=0.5.0,<0.6"
colcon-ros-domain-id-coordinator = ">=0.2.1,<0.3"
colcon-test-result = ">=0.3.8,<0.4"
# The rest of the dependencies here are used by one or more ROS packages. We aggressively
# pin them to particular versions that are as close as possible to their counterparts in Ubuntu.
argcomplete = "==3.1.4"
asio = "==1.28.1"
assimp = "==5.3.1"
benchmark = "==1.8.3"
bullet = "==3.25" # TODO: Conda has 3.24, but it is not installable with Python 3.12
catkin_pkg = "==1.0.0"
cli11 = "==2.4.1"
clang-format = "==18.1.8"
cmake = "==3.28.3"
console_bridge = "==1.0.1"
coverage = "==7.4.4"
cppcheck = "==2.15.0" # TODO: This version doesn't actually work, so we should just remove ament_cppcheck
cryptography = "==41.0.7"
cunit = "==2.1.3"
curl = "==8.5.0"
distlib = "==0.3.8"
docutils = "==0.20.1"
eigen = "==3.4.0"
empy = "==3.3.4"
flake8 = "==7.0.0"
flake8-blind-except = "==0.2.1"
flake8-builtins = "==2.1.0"
flake8-class-newline = "==1.6.0"
flake8-comprehensions = "==3.14.0"
flake8-deprecated = "==2.2.1"
flake8-import-order = "==0.18.2"
flake8-quotes = "==3.4.0"
freetype = "==2.13.3"
git = "==2.43.0"
graphviz = "==9.0.0" # TODO: pygraphviz 1.11 needs at least graphviz 9.0.0
importlib-metadata = "==4.13.0" # TODO: Conda doesn't have 4.12.0
iniconfig = "==1.1.1"
lark = "==1.1.9"
libcurl = "==8.5.0"
lxml = "==5.2.1"
lz4-c = "==1.9.4"
mccabe = "==0.7.0"
mypy = "==1.9.0"
mypy_extensions = "==1.0.0"
nlohmann_json = "==3.11.3"
numpy = "==1.26.4"
opencv = "==4.9.0" # TODO: Conda has 4.6.0, but it is not installable with Python 3.12
openssl = "==3.3.2" # TODO: Conda has 3.0.13, but it is not installable with Python 3.12
orocos-kdl = "==1.5.1"
osrf_pycommon = "==0.2.1"
packaging = "==24.0"
pathspec = "==0.12.1"
pip = "==24.0"
pluggy = "==1.4.0"
psutil = "==5.9.8"
pybind11 = "==2.11.1"
pycodestyle = "==2.11.1"
pydantic = "==1.10.14"
pydocstyle = "==6.3.0"
pydot = "==1.4.2"
pyflakes = "==3.2.0"
pygraphviz = "==1.11" # TODO: conda doesn't have pygraphviz 1.7 built for Python 3.12
pyparsing = "==3.1.1"
pyqt = "==5.15.9" # TODO: Conda doesn't have 5.15.10
pyqt5-sip = "==12.12.2" # TODO: Conda doesn't have pyqt5-sip 12.13.0
pytest = "==7.4.4"
pytest-cov = "==4.1.0"
pytest-mock = "==3.12.0"
pytest-repeat = "==0.9.3"
pytest-rerunfailures = "==12.0"
pytest-runner = "==6.0.0" # TODO: Conda has 2.11.1, but it is not installable with Python 3.12
pytest-timeout = "==2.2.0"
python = "==3.12.3"
python-dateutil = "==2.8.2"
python-fastjsonschema = "==2.19.0"
python-orocos-kdl = "==1.5.1"
pyyaml = "==6.0.1"
qt = "==5.15.8" # TODO: Conda doesn't have 5.15.13
rosdistro = "==1.0.0"
rust = "==1.75.0"
setuptools = "==68.1.2"
six = "==1.16.0"
snowballstemmer = "==2.2.0"
spdlog = "==1.12.0"
sqlite = "==3.45.2" # TODO: Conda has 3.45.1, but it is not installable with Python 3.12
tinyxml2 = "==10.0.0"
types-pyyaml = "==6.0.1"
typing_extensions = "==4.10.0"
uncrustify = "==0.78.1"
vcstool = "==0.3.0"
yaml-cpp = "==0.8.0"
yamllint = "==1.33.0"
yaml = "==0.2.5"
zipp = "==1.0.0"
zstd = "==1.5.6"
[pypi-dependencies]
compdb = "==0.2.0"
[target.linux-64.dependencies]
bash = "==5.2.37"
coreutils = "==9.5"
make = "==4.4.1"
sed = "==4.9"
libacl = "==2.3.2"
gcc_linux-64 = "==13.4.0"
gxx_linux-64 = "==13.4.0"
binutils_linux-64 = "==2.45"
libglvnd-devel = "*"
sysroot_linux-64 = ">=2.28"
lttng-ust = "==2.13.9"
xorg-libxt = "==1.3.0"
xorg-libxaw = "==1.0.14"
pthread-stubs = "==0.4"
[target.win-64.dependencies]
7zip = ">=23.1,<24"