-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathpixi.toml
More file actions
188 lines (143 loc) · 4.29 KB
/
Copy pathpixi.toml
File metadata and controls
188 lines (143 loc) · 4.29 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
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
[workspace]
name = "colorcet"
channels = ["pyviz/label/dev", "conda-forge"]
platforms = ["linux-64", "osx-arm64", "win-64"]
[activation.env]
MPLBACKEND = "Agg"
PYTHONIOENCODING = "utf-8"
[environments]
default = [
"py312",
"required",
"test-core",
"test",
"example",
"test-example",
"lint",
"dev",
"type",
]
[environments.test-310]
features = ["py310", "required", "test-core", "test", "example", "test-example"]
no-default-feature = true
[environments.test-311]
features = ["py311", "required", "test-core", "test", "example", "test-example"]
no-default-feature = true
[environments.test-312]
features = ["py312", "required", "test-core", "test", "example", "test-example"]
no-default-feature = true
[environments.test-313]
features = ["py313", "required", "test-core", "test", "example", "test-example"]
no-default-feature = true
[environments.test-314]
features = ["py314", "required", "test-core", "test", "example", "test-example"]
no-default-feature = true
[environments.test-core]
features = ["py314", "required", "test-core"]
no-default-feature = true
[environments.docs]
features = ["py311", "required", "doc", "example"]
no-default-feature = true
[environments.build]
features = ["py311", "required", "build"]
no-default-feature = true
[environments.lint]
features = ["lint"]
no-default-feature = true
[feature.required.dependencies]
nomkl = "*"
pip = "*"
[feature.required.tasks]
install = 'python -m pip install --no-deps --disable-pip-version-check -e .'
setup-dev = { depends-on = ["install", "lint-install"] }
sync-git-tags = 'python scripts/sync_git_tags.py colorcet'
[feature.py310.dependencies]
python = "3.10.*"
[feature.py311.dependencies]
python = "3.11.*"
[feature.py312.dependencies]
python = "3.12.*"
[feature.py312.activation.env]
COVERAGE_CORE = "sysmon"
[feature.py313.dependencies]
python = "3.13.*"
[feature.py313.activation.env]
COVERAGE_CORE = "sysmon"
[feature.py314.dependencies]
python = "3.14.*"
[feature.py314.activation.env]
COVERAGE_CORE = "sysmon"
# =================== DEV ===================
[feature.dev.dependencies]
jupyterlab = "*"
jupyterlab-myst = "*"
setuptools_scm = ">=6"
[feature.dev.tasks]
lab = 'jupyter lab'
# =================== SHARED DEPS ===================
# Dependencies required to run the notebooks
[feature.example.dependencies]
bokeh = "*"
holoviews = "*"
matplotlib = "*"
numpy = "*"
# =================== TESTS ===================
[feature.test-core.dependencies]
# Minimum dependencies required to run the test suite.
parameterized = "*"
pytest = "*"
pytest-cov = "*"
pytest-mpl = "*"
[feature.test-example.dependencies]
# Dependencies required to run the examples notebooks.
nbval = "*"
pytest-xdist = "*"
[feature.test.dependencies]
# Minimum dependencies required to run the test suite.
matplotlib = "*"
bokeh = "*"
packaging = "*"
[feature.test-core.tasks]
test-unit = 'pytest colorcet/tests'
[feature.test-example.tasks]
test-example = 'pytest -n logical --dist loadscope --nbval-lax -p no:python'
# =================== DOCS ====================
[feature.doc]
channels = [
# To get dev colorcet, not always needed.
"pyviz/label/dev",
# To get dev nbsite, not always needed.
"pyviz/label/tooling_dev",
"conda-forge",
]
dependencies = { nbsite = ">=0.8.6" }
[feature.doc.activation.env]
MOZ_HEADLESS = "1"
DISPLAY = ":99.0"
[feature.doc.tasks]
docs-build-sphinx = 'sphinx-build -b html doc builtdocs'
_docs-install = 'python -m pip install --no-deps --disable-pip-version-check -e .'
# Depends on _docs-install instead of install as install
# in the default environment
docs-build = { depends-on = ["_docs-install", "docs-build-sphinx"] }
# ================== 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'
# =================== TYPE CHECKING ===================
[feature.type.dependencies]
mypy = ">=1.15.0"
ty = "==0.0.34" # Loosen pin when out of beta
[feature.type.tasks]
type-mypy = "mypy colorcet"
type-ty = "ty check colorcet"
type-all = { depends-on = ["type-ty", "type-mypy"] }