-
-
Notifications
You must be signed in to change notification settings - Fork 74
/
pixi.toml
138 lines (111 loc) · 3.15 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
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
[project]
name = "param"
channels = ["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"
[environments]
test-38 = ["py38", "test-core", "test", "example", "test-example"]
test-39 = ["py39", "test-core", "test", "example", "test-example"]
test-310 = ["py310", "test-core", "test", "example", "test-example"]
test-311 = ["py311", "test-core", "test", "example", "test-example"]
test-312 = ["py312", "test-core", "test", "example", "test-example"]
test-313 = ["py313", "test-core", "test", "example", "test-example"]
test-core = ["py313", "test-core"]
test-pypy = ["pypy", "test-core", "test-pypy"]
docs = ["py311", "example", "doc"]
build = ["py311", "build"]
lint = ["py311", "lint"]
[dependencies]
nomkl = "*"
pip = "*"
[feature.py38.dependencies]
python = "3.8.*"
[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.py313.dependencies]
python = "3.13.*"
[feature.pypy]
platforms = ["linux-64", "osx-64", "win-64"] # not supported for osx-arm64
[feature.pypy.dependencies]
pypy = "7.3.*"
[feature.example.dependencies]
aiohttp = "*"
pandas = "*"
panel = "*"
# =============================================
# =================== TESTS ===================
# =============================================
[feature.test-core.dependencies]
pytest = "*"
pytest-asyncio = "*"
pytest-cov = "*"
pytest-github-actions-annotate-failures = "*"
[feature.test-core.tasks]
test-unit = 'pytest tests'
[feature.test.dependencies]
cloudpickle = "*"
ipython = "*"
jsonschema = "*"
nest-asyncio = "*"
numpy = "*"
odfpy = "*"
openpyxl = "*"
pandas = "*"
pyarrow = "*"
pytables = "*"
xlrd = "*"
[feature.test.target.linux.dependencies]
gmpy2 = "*"
[feature.test-pypy.dependencies]
cloudpickle = "*"
ipython = "*"
jsonschema = "*"
nest-asyncio = "*"
numpy = "*"
odfpy = "*"
openpyxl = "*"
pandas = "*"
xlrd = "*"
[feature.test-example.tasks]
test-example = 'pytest -n logical --dist loadscope --nbval-lax doc'
[feature.test-example.dependencies]
psutil = "*"
pytest-xdist = "*"
nbval = "*"
# =============================================
# =================== DOCS ====================
# =============================================
[feature.doc]
channels = ["pyviz"]
[feature.doc.dependencies]
graphviz = "*"
nbsite = ">=0.8.4,<0.9.0"
sphinx-remove-toctrees = "*"
[feature.doc.tasks.docs-build]
cmd = "sphinx-build -b html doc builtdocs"
# =============================================
# ================== 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'