-
Notifications
You must be signed in to change notification settings - Fork 25
/
pixi.toml
108 lines (89 loc) · 2.66 KB
/
pixi.toml
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
[project]
name = "spatialpandas"
channels = ["pyviz/label/dev", "conda-forge"]
platforms = ["linux-64", "osx-arm64", "osx-64", "win-64"]
[tasks]
install = 'python -m pip install --no-deps --disable-pip-version-check -e .'
[activation.env]
PYTHONIOENCODING = "utf-8"
DASK_DATAFRAME__QUERY_PLANNING = "False" # TODO: Support query planning
USE_PYGEOS = '0'
[environments]
test-39 = ["py39", "test-core", "test", "test-task", "example", "test-example"]
test-310 = ["py310", "test-core", "test", "test-task", "example", "test-example"]
test-311 = ["py311", "test-core", "test", "test-task", "example", "test-example"]
test-312 = ["py312", "test-core", "test", "test-task", "example", "test-example"]
test-core = ["py312", "test-core", "test-core-task"]
build = ["py311", "build"]
lint = ["py311", "lint"]
[dependencies]
dask-core = "*"
fsspec = "*"
numba = "*"
packaging = "*"
pandas = "*"
pip = "*"
pyarrow = ">=10"
retrying = "*"
[feature.py39.dependencies]
python = "3.9.*"
[feature.py310.dependencies]
python = "3.10.*"
[feature.py311.dependencies]
python = "3.11.*"
[feature.py312.dependencies]
python = "3.12.*"
[feature.example.dependencies]
datashader = "*"
descartes = "*"
distributed = "*"
geopandas-base = "*"
holoviews = "*"
matplotlib-base = "*"
platformdirs = "*"
pyogrio = "*"
requests = "*"
# =============================================
# =================== TESTS ===================
# =============================================
[feature.test-core.dependencies]
hypothesis = "*"
psutil = "*"
pytest = "*"
pytest-cov = "*"
pytest-github-actions-annotate-failures = "*"
pytest-xdist = "*"
[feature.test-core-task.tasks]
test-unit = 'pytest spatialpandas/tests -n logical --dist loadgroup --skip-slow'
[feature.test.dependencies]
geopandas-base = "*"
hilbertcurve = "*"
moto = "*"
python-snappy = "*"
rtree = "*"
s3fs = ">=2022.8"
scipy = "*"
shapely = "*"
[feature.test-task.tasks]
test-unit = 'pytest spatialpandas/tests -n logical --dist loadgroup'
[feature.test-example.dependencies]
nbval = "*"
[feature.test-example.tasks]
test-example = 'pytest -n logical --dist loadscope --nbval-lax examples'
# =============================================
# ================== BUILD ====================
# =============================================
[feature.build.dependencies]
python-build = "*"
conda-build = "*"
[feature.build.tasks]
build-conda = 'bash scripts/conda/build.sh'
build-pip = 'python -m build .'
# =============================================
# =================== LINT ====================
# =============================================
[feature.lint.dependencies]
pre-commit = "*"
[feature.lint.tasks]
lint = 'pre-commit run --all-files'
lint-install = 'pre-commit install'