forked from bytedance/jaqmc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
32 lines (30 loc) · 663 Bytes
/
Copy pathtox.ini
File metadata and controls
32 lines (30 loc) · 663 Bytes
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
[tox]
requires =
tox>=4.2
# lowest includes jax 0.4.36 as well as all other dependencies in lowest version
env_list =
py312-lowest
py312-jax{0.5.3, 0.6.2, 0.7.2, 0.8.2, 0.9.1}
[testenv]
runner = uv-venv-runner
package = editable
deps =
jax0.5.3: jax==0.5.3
jax0.6.2: jax==0.6.2
jax0.7.2: jax==0.7.2
jax0.8.2: jax==0.8.2
jax0.9.1: jax==0.9.1
pass_env =
*
commands =
pytest -v {posargs}
constrain_package_deps = true
dependency_groups = test
uv_resolution =
lowest: lowest-direct
[testenv:py312-docs]
deps =
jax==0.9.1
dependency_groups = docs
commands =
sphinx-build -W -b html docs docs/_build/html {posargs}