-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpixi.toml
More file actions
106 lines (85 loc) · 2.25 KB
/
Copy pathpixi.toml
File metadata and controls
106 lines (85 loc) · 2.25 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
[workspace]
name = "rasterix-dev"
channels = ["conda-forge"]
platforms = ["linux-64", "osx-arm64"]
[dependencies]
python = ">=3.11"
[pypi-dependencies]
rasterix = { path = ".", editable = true }
# ===== Tasks =====
[tasks]
test = "pytest -nauto --cov-config=pyproject.toml --cov=src --cov-report xml --junitxml=junit.xml -o junit_family=legacy"
test-no-cov = "pytest -nauto"
list-env = "pip list"
type-check = "mypy src"
# ===== Python version features =====
[feature.py311.dependencies]
python = "3.11.*"
[feature.py314.dependencies]
python = "3.14.*"
# ===== Test base: shared across all test environments =====
[feature.test-base.dependencies]
netcdf4 = "*"
exactextract = "*"
dask-geopandas = "*"
pyogrio = "*"
sparse = "*"
coverage = "*"
geodatasets = "*"
hypothesis = "*"
pooch = "*"
pytest = "*"
pytest-cov = "*"
pytest-xdist = "*"
# ===== Backend-specific test features =====
[feature.with-rasterio.dependencies]
rasterio = "*"
[feature.with-rusterize.pypi-dependencies]
rusterize = ">=0.8.1"
# ===== Docs feature =====
[feature.docs.dependencies]
python = "3.12.*"
netcdf4 = "*"
rasterio = "*"
exactextract = "*"
dask-geopandas = "*"
rioxarray = "*"
sparse = "*"
geodatasets = "*"
pooch = "*"
sphinx = "*"
sphinx-autoapi = "*"
sphinx-autobuild = ">=2021.3.14"
sphinx-copybutton = "*"
sphinx-remove-toctrees = "*"
sphinx-codeautolink = "*"
myst-parser = "*"
myst-nb = "*"
furo = "*"
numpydoc = "*"
sphinxext-opengraph = "*"
xvec = "*"
polars = "*"
[feature.docs.pypi-dependencies]
rusterize = ">=0.8.1"
[feature.docs.tasks]
docs-build = { cmd = "sphinx-build -b html . _build/html", cwd = "docs" }
docs-live = { cmd = "sphinx-autobuild -b html . _build/html", cwd = "docs" }
docs-clean = { cmd = "rm -rf _build/* generated/*", cwd = "docs" }
# ===== Dev feature =====
[feature.dev-tools.dependencies]
ipykernel = "*"
snakeviz = "*"
py-spy = "*"
memray = "*"
[feature.dev-tools.pypi-dependencies]
pdbpp = "*"
watermark = "*"
# ===== Environments =====
[environments]
test-py311 = ["test-base", "with-rasterio", "py311"]
test-py314 = ["test-base", "with-rasterio", "py314"]
test-rusterize-py311 = ["test-base", "with-rusterize", "py311"]
test-rusterize-py314 = ["test-base", "with-rusterize", "py314"]
dev = ["test-base", "with-rasterio", "py314", "dev-tools"]
docs = ["docs"]