-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
pixi.toml
129 lines (110 loc) · 3.1 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
[project]
name = "lumen"
channels = ["pyviz/label/dev", "bokeh", "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-310 = ["py310", "test-core", "test"]
test-311 = ["py311", "test-core", "test"]
test-312 = ["py312", "test-core", "test"]
test-core = ["py312", "test-core"]
docs = ["py311", "doc"]
build = ["py311", "build"]
lint = ["py311", "lint"]
[dependencies]
bokeh = "*"
holoviews = ">=1.17.0"
hvplot = "*"
intake = "<2"
jinja2 = ">3.0"
numpy = "*"
packaging = "*"
pandas = "*"
panel = ">=1.5.0"
param = ">=1.9.0"
pip = "*"
[feature.py310.dependencies]
python = "3.10.*"
[feature.py311.dependencies]
python = "3.11.*"
[feature.py312.dependencies]
python = "3.12.*"
# =============================================
# =================== TESTS ===================
# =============================================
[feature.test-core.dependencies]
psutil = "*"
pytest = "*"
pytest-cov = "*"
pytest-github-actions-annotate-failures = "*"
pytest-rerunfailures = "*"
pytest-xdist = "*"
pytest-asyncio = "*"
dask = "<=2024.10" # Temporary workaround for pyarrow string issue in tests
[feature.test-core.tasks]
test-unit = 'pytest lumen/tests -n logical --dist loadgroup'
[feature.test.dependencies]
dask-core = "*"
fastparquet = "*"
matplotlib-base = ">=3.4" # Ubuntu + Python 3.9 installs old version matplotlib (3.3.2)
msgpack-python = "*"
toolz = "*"
dask = "<=2024.10" # Temporary workaround for pyarrow string issue in tests
# sql
intake-sql = "*"
python-duckdb = "*"
sqlalchemy = "*"
# ai
datashader = "*"
duckdb = "*"
instructor = ">=1.4.3"
nbformat = "*"
openai = "*"
pyarrow = "*"
pydantic = ">=2.8.0"
[feature.test.pypi-dependencies]
pydantic_extra_types = "*"
# [feature.ai.dependencies]
# datashader = "*"
# python-duckdb = "*"
# instructor = ">=1.4.3"
# nbformat = "*"
# openai = "*"
# pyarrow = "*"
# pydantic = ">=2.8.0"
#
# [feature.ai-local.dependencies]
# huggingface_hub = "*"
#
# [feature.ai-llama.dependencies]
# llama-cpp-python = "*"
# =============================================
# =================== DOCS ====================
# =============================================
[feature.doc.dependencies]
nbsite = ">=0.8.4,<0.9.0"
[feature.doc.tasks]
_docs-refs = 'python doc/generate_reference.py'
_docs-generate = 'nbsite build --what=html --output=builtdocs --org holoviz --project-name lumen'
[feature.doc.tasks.docs-build]
depends_on = ['_docs-refs', '_docs-generate']
# =============================================
# ================== 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'