Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
holoviz
GitHub Repository: holoviz/panel
Path: blob/main/pixi.toml
3166 views
1
[workspace]
2
name = "panel"
3
channels = ["pyviz/label/dev", "bokeh/label/rc", "conda-forge"]
4
platforms = ["linux-64", "osx-arm64", "osx-64", "win-64"]
5
6
[activation.env]
7
MPLBACKEND = "Agg"
8
PYTHONIOENCODING = "utf-8"
9
10
[environments]
11
default = [
12
"py312",
13
"required",
14
"test-core",
15
"test",
16
"example",
17
"test-example",
18
"test-unit-task",
19
"test-ui",
20
"type",
21
"lint",
22
"doc",
23
"dev",
24
]
25
26
[environments.test-310]
27
features = ["py310", "required", "test-core", "test", "example", "test-example", "test-unit-task"]
28
no-default-feature = true
29
30
[environments.test-311]
31
features = ["py311", "required", "test-core", "test", "example", "test-example", "test-unit-task"]
32
no-default-feature = true
33
34
[environments.test-312]
35
features = ["py312", "required", "test-core", "test", "example", "test-example", "test-unit-task"]
36
no-default-feature = true
37
38
[environments.test-313]
39
features = ["py313", "required", "test-core", "test", "example", "test-example", "test-unit-task"]
40
no-default-feature = true
41
42
[environments.test-314]
43
features = ["py314", "required", "test-core", "test-314", "example-314", "test-example", "test-unit-task"]
44
no-default-feature = true
45
46
[environments.test-ui]
47
features = ["py313", "required", "test-core", "test", "test-ui"]
48
no-default-feature = true
49
50
[environments.test-core]
51
features = ["py314", "required", "test-core", "test-unit-task"]
52
no-default-feature = true
53
54
[environments.test-bokeh37]
55
features = ["py310", "required", "test-core", "test-unit-task", "bokeh37"]
56
no-default-feature = true
57
58
[environments.test-type]
59
features = ["py311", "required", "type", "example", "test"]
60
no-default-feature = true
61
62
[environments.docs]
63
features = ["py311", "required", "example", "doc"]
64
no-default-feature = true
65
66
[environments.build]
67
features = ["py311", "required", "build"]
68
no-default-feature = true
69
70
[environments.lint]
71
features = ["py311", "lint"]
72
no-default-feature = true
73
74
[environments.lite]
75
features = ["py311", "required", "lite"]
76
no-default-feature = true
77
78
[feature.required.dependencies]
79
nodejs = ">=18"
80
esbuild = "*"
81
nomkl = "*"
82
pip = "*"
83
# Required
84
bleach = "*"
85
bokeh = ">=3.7.0,<3.9.0a0"
86
linkify-it-py = "*"
87
markdown = "*"
88
markdown-it-py = "*"
89
mdit-py-plugins = "*"
90
narwhals = ">2"
91
numpy = "*"
92
packaging = "*"
93
pandas = ">=1.2"
94
param = ">=2.1.0,<3.0"
95
pyviz_comms = ">=2.0.0"
96
requests = "*"
97
tqdm = ">=4.48.0"
98
typing_extensions = "*"
99
100
[feature.required.tasks]
101
install = 'python -m pip install --no-deps --disable-pip-version-check -e .'
102
103
[feature.py310.dependencies]
104
python = "3.10.*"
105
106
[feature.py311.dependencies]
107
python = "3.11.*"
108
109
[feature.py312.dependencies]
110
python = "3.12.*"
111
112
[feature.py312.activation.env]
113
COVERAGE_CORE = "sysmon"
114
115
[feature.py313.dependencies]
116
python = "3.13.*"
117
118
[feature.py313.activation.env]
119
COVERAGE_CORE = "sysmon"
120
121
[feature.py314.dependencies]
122
python = "3.14.*"
123
124
[feature.py314.activation.env]
125
COVERAGE_CORE = "sysmon"
126
127
[feature.example.dependencies]
128
# Optional dependencies - recommended
129
holoviews = ">=1.16.0"
130
jupyterlab = "*"
131
matplotlib-base = "*"
132
pillow = "*"
133
plotly = ">=4.0"
134
# Example dependencies
135
aiohttp = "*"
136
altair = "*"
137
bokeh_sampledata = "*"
138
croniter = "*"
139
datashader = "*"
140
fastparquet = "*"
141
folium = "*"
142
fsspec = "*"
143
graphviz = "*"
144
hvplot = "*"
145
ipyleaflet = "*"
146
ipympl = "*"
147
ipyvolume = "*"
148
ipyvuetify = "*"
149
ipywidgets = "*"
150
ipywidgets_bokeh = "*"
151
jupyter_bokeh = ">=3.0.7"
152
networkx = ">=2.5"
153
# pydeck = ">=0.8" # Add back when it support ipywidgets 8.0
154
pyecharts = "*"
155
pygraphviz = "*"
156
pyinstrument = ">=4.0"
157
python-graphviz = "*"
158
pyvista = "*"
159
reacton = "*"
160
s3fs = "*"
161
scikit-image = "*"
162
scikit-learn = "*"
163
seaborn = "*"
164
streamz = "*"
165
textual = "*"
166
tqdm = ">=4.48.0"
167
vega_datasets = "*"
168
vtk = "*"
169
xarray = "*"
170
xgboost = "*"
171
172
[feature.example-314.dependencies]
173
# Optional dependencies - recommended
174
holoviews = ">=1.16.0"
175
jupyterlab = "*"
176
matplotlib-base = "*"
177
pillow = "*"
178
plotly = ">=4.0"
179
# Example dependencies
180
aiohttp = "*"
181
altair = "*"
182
bokeh_sampledata = "*"
183
croniter = "*"
184
# datashader = "*"
185
fastparquet = "*"
186
folium = "*"
187
fsspec = "*"
188
graphviz = "*"
189
hvplot = "*"
190
ipyleaflet = "*"
191
ipympl = "*"
192
ipyvolume = "*"
193
ipyvuetify = "*"
194
ipywidgets = "*"
195
ipywidgets_bokeh = "*"
196
jupyter_bokeh = ">=3.0.7"
197
networkx = ">=2.5"
198
# pydeck = ">=0.8" # Add back when it support ipywidgets 8.0
199
pyecharts = "*"
200
pygraphviz = "*"
201
pyinstrument = ">=4.0"
202
python-graphviz = "*"
203
# pyvista = "*" https://github.com/conda-forge/pyvista-feedstock/issues/116
204
reacton = "*"
205
s3fs = "*"
206
scikit-image = "*"
207
scikit-learn = "*"
208
seaborn = "*"
209
# streamz = "*" # raises AttributeError: 'OrderedSet' object has no attribute 'copy'
210
textual = "*"
211
tqdm = ">=4.48.0"
212
vega_datasets = "*"
213
vtk = "*"
214
xarray = "*"
215
xgboost = "*"
216
217
# =================== DEV ===================
218
219
[feature.dev.dependencies]
220
jupyterlab = "*"
221
setuptools_scm = ">=6"
222
223
[feature.dev.tasks]
224
lab = 'jupyter lab'
225
sync-git-tags = 'python scripts/sync_git_tags.py param'
226
setup-dev = { depends-on = ["install", "lint-install"] }
227
228
# =============================================
229
# =================== TESTS ===================
230
# =============================================
231
[feature.test-core.dependencies]
232
psutil = "*"
233
pytest = "*"
234
pytest-asyncio = "*"
235
pytest-cov = "*"
236
pytest-github-actions-annotate-failures = "*"
237
pytest-rerunfailures = "*"
238
pytest-xdist = "*"
239
240
[feature.bokeh37.dependencies]
241
bokeh = "3.7.*"
242
243
[feature.test.dependencies]
244
# Optional dependencies - recommended
245
holoviews = ">=1.16.0"
246
jupyterlab = "*"
247
matplotlib-base = "*"
248
pillow = "*"
249
plotly = ">=6.0"
250
# Optional dependencies - dev
251
watchfiles = "*"
252
# Test dependencies
253
altair = "*"
254
anywidget = "*"
255
bokeh-fastapi = ">=0.1.5"
256
bokeh_sampledata = "*"
257
caddy = "*"
258
cryptography = "*"
259
diskcache = "*"
260
fastapi = "*"
261
folium = "*"
262
ipympl = "*"
263
ipyvuetify = "*"
264
ipywidgets_bokeh = "*"
265
numba = "*"
266
polars = "*"
267
reacton = "*"
268
scipy = "*"
269
textual = "*"
270
vl-convert-python = "*"
271
272
[feature.test-314.dependencies]
273
# Optional dependencies - recommended
274
holoviews = ">=1.16.0"
275
jupyterlab = "*"
276
matplotlib-base = "*"
277
pillow = "*"
278
plotly = ">=6.0"
279
# Optional dependencies - dev
280
watchfiles = "*"
281
# Test dependencies
282
altair = "*"
283
anywidget = "*"
284
bokeh-fastapi = "*"
285
bokeh_sampledata = "*"
286
caddy = "*"
287
cryptography = "*"
288
diskcache = "*"
289
fastapi = "*"
290
folium = "*"
291
ipympl = "*"
292
ipyvuetify = "*"
293
ipywidgets_bokeh = "*"
294
# numba = "*"
295
polars = "*"
296
reacton = "*"
297
scipy = "*"
298
textual = "*"
299
300
[feature.test-unit-task.tasks] # So it is not showing up in the test-ui environment
301
test-unit = 'pytest panel/tests -n logical --dist loadgroup'
302
test-subprocess = 'pytest panel/tests --subprocess'
303
304
[feature.test-example.tasks]
305
test-docs = 'pytest panel/tests --docs'
306
test-example = 'pytest -n logical --dist loadscope --nbval-lax examples'
307
308
[feature.test-example.dependencies]
309
nbval = "*"
310
311
[feature.test-ui.dependencies]
312
playwright = ">=1.52.0"
313
pytest-playwright = "*"
314
pytest-asyncio = "*"
315
jupyter_server = "*"
316
esbuild = "*"
317
packaging = "*"
318
319
[feature.test-ui.tasks]
320
_install-ui = 'playwright install chromium'
321
322
[feature.test-ui.tasks.test-ui]
323
cmd = 'pytest panel/tests/ui --ui --browser chromium -n logical --dist loadgroup'
324
depends-on = ["_install-ui"]
325
326
# =============================================
327
# ================== TYPES ====================
328
# =============================================
329
[feature.type.dependencies]
330
mypy = "*"
331
pytest = "*"
332
pandas-stubs = "*"
333
types-bleach = "*"
334
types-croniter = "*"
335
types-Markdown = "*"
336
types-psutil = "*"
337
types-requests = "*"
338
types-tqdm = "*"
339
typing-extensions = "*"
340
341
[feature.type.tasks]
342
test-type = 'mypy panel'
343
344
# =============================================
345
# =================== DOCS ====================
346
# =============================================
347
[feature.doc.activation.env]
348
MOZ_HEADLESS = "1"
349
PANEL_IPYWIDGET = "1"
350
OBJC_DISABLE_INITIALIZE_FORK_SAFETY = "YES"
351
SPHINX_APIDOC_OPTIONS = "members,show-inheritance"
352
353
[feature.doc.dependencies]
354
lxml = "*"
355
nbsite = ">=0.8.6rc9"
356
selenium = "*"
357
numpydoc = "*"
358
pydeck = ">=0.8" # Add back to examples, when it support ipywidgets 8.0
359
sphinx = "<9"
360
361
[feature.doc.tasks]
362
_docs-refmanual = 'sphinx-apidoc -e -o doc/api/ panel/ --ext-autodoc --ext-intersphinx'
363
_docs-convert-gallery = 'python scripts/gallery/convert_gallery.py'
364
_docs-generate = 'nbsite build --what=html --output=builtdocs --org holoviz --project-name panel --disable-parallel'
365
_docs-generate-parallel = 'nbsite build --what=html --output=builtdocs --org holoviz --project-name panel'
366
_docs-copy-panel-dist = 'cp -r ./panel/dist ./builtdocs/panel_dist'
367
_docs-pyodide = 'panel convert examples/gallery/*.ipynb doc/how_to/*/examples/*.md --to pyodide-worker --out ./builtdocs/pyodide/ --pwa --index --requirements doc/pyodide_dependencies.json --exclude examples/gallery/vtk*.ipynb'
368
docs-server = 'python -m http.server 5500 --directory ./builtdocs'
369
370
[feature.doc.tasks.docs-build]
371
depends-on = [
372
'_docs-refmanual',
373
'_docs-convert-gallery',
374
'_docs-generate',
375
'_docs-copy-panel-dist',
376
'_docs-pyodide',
377
]
378
379
[feature.doc.tasks.docs-build-parallel]
380
depends-on = [
381
'_docs-refmanual',
382
'_docs-convert-gallery',
383
'_docs-generate-parallel',
384
'_docs-copy-panel-dist',
385
'_docs-pyodide',
386
]
387
388
# =============================================
389
# ================== BUILD ====================
390
# =============================================
391
[feature.build.dependencies]
392
python-build = "*"
393
conda-build = "*"
394
conda-libmamba-solver = "!=25.11.0" # tmp pin https://github.com/conda/conda-libmamba-solver/issues/790
395
396
[feature.build.tasks]
397
build-conda = 'bash scripts/conda/build.sh'
398
build-pip = 'python -m build .'
399
build-pyodide = 'python scripts/build_pyodide_wheels.py'
400
build-npm = { cmd = "npm pack .", cwd = "panel" }
401
402
# =============================================
403
# =================== LINT ====================
404
# =============================================
405
[feature.lint.dependencies]
406
pre-commit = "*"
407
408
[feature.lint.tasks]
409
lint = 'pre-commit run --all-files'
410
lint-install = 'pre-commit install -t=pre-commit'
411
412
# =============================================
413
# =================== LITE ====================
414
# =============================================
415
[feature.lite.dependencies]
416
pyviz_comms = ">=3.0.6"
417
jupyterlab-myst = "*"
418
jupyterlite-core = "<0.7.0"
419
jupyterlite-pyodide-kernel = "*"
420
python-build = "*"
421
422
[feature.lite.tasks]
423
lite-build = "bash scripts/jupyterlite/build.sh"
424
# Service worker only work on 127.0.0.1
425
# https://jupyterlite.readthedocs.io/en/latest/howto/configure/advanced/service-worker.html#limitations
426
lite-server = "python -m http.server --directory ./lite/dist --bind 127.0.0.1"
427
428
429
# relock count: 0
430
431