-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpyproject.toml
75 lines (66 loc) · 1.6 KB
/
pyproject.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
[build-system]
requires = ["maturin>=1.1,<2.0"]
build-backend = "maturin"
[project]
name = "nutpie"
description = "Sample Stan or PyMC models"
readme = "README.md"
requires-python = ">=3.10,<3.14"
license = { text = "MIT" }
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"pyarrow >= 12.0.0",
"pandas >= 2.0",
"xarray >= 2025.01.2",
"arviz >= 0.20.0",
]
dynamic = ["version"]
[project.optional-dependencies]
stan = ["bridgestan >= 2.6.1"]
pymc = ["pymc >= 5.20.1", "numba >= 0.60.0"]
pymc-jax = ["pymc >= 5.20.1", "jax >= 0.4.27"]
nnflow = ["flowjax >= 17.1.0", "equinox >= 0.11.12"]
dev = [
"bridgestan >= 2.6.1",
"pymc >= 5.20.1",
"numba >= 0.60.0",
"jax >= 0.4.27",
"flowjax >= 17.0.2",
"pytest",
"pytest-timeout",
]
all = [
"bridgestan >= 2.6.1",
"pymc >= 5.20.1",
"numba >= 0.60.0",
"jax >= 0.4.27",
"flowjax >= 17.1.0",
"equinox >= 0.11.12",
]
[tool.ruff]
line-length = 88
target-version = "py310"
show-fixes = true
output-format = "full"
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.lint.isort]
known-first-party = ["nutpie"]
[tool.pyright]
venvPath = ".pixi/envs/"
venv = "default"
[tool.maturin]
module-name = "nutpie._lib"
python-source = "python"
features = ["pyo3/extension-module"]
[tool.pytest.ini_options]
markers = [
"flow: tests for normalizing flows",
"stan: tests for Stan models",
"pymc: tests for PyMC models",
]