-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpixi.toml
More file actions
103 lines (89 loc) · 2.8 KB
/
pixi.toml
File metadata and controls
103 lines (89 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
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
[workspace]
name = "reproducible-builds-rattler-build"
version = "0.1.0"
description = "Add a short description here"
authors = ["nichmor <nmorkotilo@gmail.com>"]
channels = ["conda-forge"]
platforms = ["osx-arm64", "linux-64", "osx-64", "win-64"]
[tasks]
# Rewrite the html with the updated data
generate-html = { cmd = "repror generate-html", inputs = [
"src/repror/**",
"repro.local.db",
], outputs = [
"docs.local/index.html",
] }
generate-html-prod = { cmd = "repror generate-html", env = { REPRO_DB_NAME = "repro.db" }, inputs = [
"src/repror/**",
"repro.db",
], outputs = [
"docs.local/index.html",
] }
# Used to generate build matrix for githubgenerate-html = "repror generate-html"
generate-recipes = "repror --no-output generate-recipes"
# Build recipes in the recipes folder
build-recipe = "repror build-recipe"
# Same as above but skip rattler-build setup
build-recipe-skip = "repror --skip-setup-rattler-build build-recipe"
# Build an rebuild a recipe
reproduce = "repror build-recipe --rebuild"
# Check recipe status
check = "repror check"
# Rebuild a single recipe using the python script
rebuild-recipe = "repror rebuild-recipe"
# Same as above but skip rattler-build setup
rebuild-recipe-skip = "repror --skip-setup-rattler-build rebuild-recipe"
# Convert a meta.yaml to a recipe.yaml
convert-recipe = "convert-conda-recipe"
# Run tests
test = "pytest tests"
# V1 recipe commands
v1-sample = "repror v1 sample"
v1-stats = "repror v1 stats"
v1-list = "repror v1 list-v1"
v1-check = "repror v1 check"
[feature.html.dependencies]
livereload = ">=2.6.3,<2.7"
[feature.html.tasks]
# Serve html locally
serve-html = { cmd = "livereload -d ./docs.local/", depends-on = "generate-html" }
serve-html-prod = { cmd = "livereload -d ./docs.local/", depends-on = "generate-html-prod" }
[feature.fmt.dependencies]
# Formatting python
ruff = ">=0.4.7,<0.5"
[feature.profile.dependencies]
# Profiling in python
pyinstrument = ">=4.6.2,<4.7"
[feature.fmt.tasks]
# Format recipes using ruff
fmt = "ruff format"
check-fmt = "ruff check --fix"
# Default dependencies
[dependencies]
python = "~=3.12"
rattler-build = "*"
pyyaml = "*"
pytest = "*"
typer = ">=0.12.3,<0.13"
jinja2 = "*"
python-dotenv = "*"
pandas = "*"
sqlmodel = "*"
pydantic = "*"
pygraphviz = "*"
conda-recipe-manager = "*"
# Platform-specific dependencies (diffoscope not available on Windows)
[target.linux-64.dependencies]
diffoscope = "*"
[target.osx-arm64.dependencies]
diffoscope = "*"
[target.osx-64.dependencies]
diffoscope = "*"
[pypi-dependencies]
repror = { path = ".", editable = true }
pytest-depends = "*"
[environments]
default = { features = [], solve-group = "default" }
fmt = { features = ["fmt"], no-default-feature = true }
profile = { features = ["profile"], solve-group = "default" }
html = { features = ["html"], no-default-feature = true }