Repository navigation
Expand file tree
/
Copy pathpixi.toml
More file actions
48 lines (43 loc) · 2.8 KB
/
Copy pathpixi.toml
File metadata and controls
48 lines (43 loc) · 2.8 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
[workspace]
name = "robostack"
description = "RoboStack: conda packages for all ROS 2 distributions, from one repository"
authors = ["Tobias Fischer <tobias.fischer@qut.edu.au>", "Wolf Vollprecht <w.vollprecht@gmail.com>", "Silvio Traversaro <silvio@traversaro.it>", "Daisuke Nishimatsu <daisuke.nishimatsu1021@gmail.com>"]
channels = ["https://prefix.dev/conda-forge"]
platforms = [
"osx-arm64",
# 2.17 is the glibc version used in CentOS 7
{ platform = "linux-64", glibc = "2.17" },
"osx-64",
{ platform = "linux-aarch64", glibc = "2.17" },
"win-64",
]
[target.win.activation.env]
PYTHONIOENCODING = "utf-8"
[dependencies]
python = ">=3.14.0,<3.15"
rattler-build = ">=0.80.0,<0.81"
cmake = "<4.0"
setuptools = "<82.0"
rattler-index = ">=0.27.16"
pyyaml = "*"
# Some git repos need git-lfs, see https://github.com/RoboStack/ros-jazzy/issues/118
git-lfs = "*"
pytest = ">=9.1.1,<10"
# gh for the workflows: one version everywhere (the runner's is not on PATH on Windows)
gh = ">=2.102.0,<3"
[target.win-64.dependencies]
# patch is required by rattler-build
m2-patch = "*"
# git is required by rattler-build
git = "*"
[pypi-dependencies]
# One vinca for all distributions.
vinca = { git = "https://github.com/RoboStack/vinca.git", rev = "74d1e856d5b00c0cb5ee0c1be41dac4afcae7bf5" }
# For local development, temporarily use (and regenerate pixi.lock):
# vinca = { path = "../vinca", editable = true }
[tasks]
rs = { cmd = "python tools/robostack.py", description = "Run a task for one distribution: `pixi run rs <distro> <task>` (generate-recipes, build, build-one, check-patches, check-deps, create-snapshot, render-pinning, sort, ...)." }
sort = { cmd = "sh -lc 'vinca-sort-vinca-lists $@ shared/vinca.yaml && vinca-sort-yaml-keys $@ shared/robostack.yaml shared/pkg_additional_info.yaml shared/patch/dependencies.yaml && for d in distros/*/; do (cd $d && vinca-sort-vinca-lists $@ vinca.yaml && vinca-sort-yaml-keys $@ pkg_additional_info.yaml rosdistro_additional_recipes.yaml $(ls patch/dependencies.yaml 2>/dev/null)) || exit 1; done' --", description = "Sort the YAML files of all distributions (`--check` to only check)." }
test = { cmd = "python -m pytest tools/tests", description = "Unit tests of the repository tooling (tools/tests)." }
abi-check = { cmd = "pixi exec -s python=3.14 -s zstandard -s pyyaml -s pyelftools python tools/abi_check.py", description = "Compare the ABI of package builds with libabigail (Linux only): `pixi run abi-check --distro jazzy --latest-pairs 30`, `--old a.conda --new b.conda`, or `--pr-builds <dir>` (a pull request's builds against the released ones)." }
render-pinning = { cmd = "sh -lc 'for d in distros/*/; do python tools/robostack.py $(basename $d) render-pinning || exit 1; done'", description = "Regenerate every distribution's conda_build_config.yaml from shared/pinning and its distro.yaml." }