@@ -72,6 +72,92 @@ build.targets.wheel.sources = [ "src" ]
7272metadata.allow-direct-references = true
7373version.source = " vcs"
7474
75+ [tool .pixi .dependencies ]
76+ asv = " *"
77+ python = " ~=3.14.0"
78+ cloudpickle = " >=3.1.2,<4"
79+ h5py = " >=3.12"
80+ jupyterlab = " *"
81+ memory_profiler = " *"
82+ numpy = " >=2.4"
83+ plotly = " >=6.5"
84+ prek = " *"
85+ pyarrow = " *"
86+ pybaum = " *"
87+ scipy = " >=1.16"
88+ snakeviz = " *"
89+ [tool .pixi .environments ]
90+ cuda12 = { features = [ " cuda12" ], solve-group = " cuda12" }
91+ cuda13 = { features = [ " cuda13" ], solve-group = " cuda13" }
92+ docs = { features = [ " docs" ], solve-group = " default" }
93+ metal = { features = [ " metal" ], solve-group = " metal" }
94+ tests-cpu = { features = [ " tests" ], solve-group = " default" }
95+ tests-cuda12 = { features = [ " tests" , " cuda12" ], solve-group = " cuda12" }
96+ tests-cuda13 = { features = [ " tests" , " cuda13" ], solve-group = " cuda13" }
97+ tests-metal = { features = [ " tests" , " metal" ], solve-group = " metal" }
98+ type-checking = { features = [ " type-checking" , " tests" ], solve-group = " default" }
99+ [tool .pixi .feature .cuda12 ]
100+ platforms = [ " linux-64" ]
101+ system-requirements = { cuda = " 12" }
102+ [tool .pixi .feature .cuda12 .target .linux-64 .dependencies ]
103+ cuda-nvcc = " ~=12.0"
104+ [tool .pixi .feature .cuda12 .target .linux-64 .pypi-dependencies ]
105+ jax = { version = " >=0.9" , extras = [ " cuda12" ] }
106+ [tool .pixi .feature .cuda13 ]
107+ platforms = [ " linux-64" ]
108+ system-requirements = { cuda = " 13" }
109+ [tool .pixi .feature .cuda13 .target .linux-64 .dependencies ]
110+ cuda-nvcc = " ~=13.0"
111+ [tool .pixi .feature .cuda13 .target .linux-64 .pypi-dependencies ]
112+ jax = { version = " >=0.9" , extras = [ " cuda13" ] }
113+ [tool .pixi .feature .docs .dependencies ]
114+ jupyter-book = " >=2.0"
115+ mystmd = " *"
116+ [tool .pixi .feature .docs .pypi-dependencies ]
117+ quantecon = " *"
118+ [tool .pixi .feature .docs .tasks ]
119+ build-docs = { cmd = " jupyter book build --html --execute" , cwd = " docs" , env = { JAX_PLATFORMS = " cpu" } }
120+ explanation-notebooks = " jupyter execute docs/explanations/*.ipynb"
121+ view-docs = { cmd = " jupyter book start --execute" , cwd = " docs" , env = { JAX_PLATFORMS = " cpu" } }
122+ [tool .pixi .feature .metal ]
123+ platforms = [ " osx-arm64" ]
124+ [tool .pixi .feature .metal .target .osx-arm64 .pypi-dependencies ]
125+ jax = " >=0.9"
126+ jax-metal = " >=0.1.1"
127+ [tool .pixi .feature .tests .dependencies ]
128+ pytest = " *"
129+ pytest-cov = " *"
130+ pytest-xdist = " *"
131+ [tool .pixi .feature .tests .pypi-dependencies ]
132+ quantecon = " *"
133+ [tool .pixi .feature .tests .tasks ]
134+ tests = " pytest tests"
135+ tests-32bit = " pytest tests --precision=32"
136+ tests-with-cov = " pytest tests --cov-report=xml --cov=./"
137+ [tool .pixi .feature .type-checking .dependencies ]
138+ matplotlib = " *"
139+ pandas-stubs = " *"
140+ scipy-stubs = " *"
141+ ty = " *"
142+ [tool .pixi .feature .type-checking .tasks ]
143+ ty = " ty check"
144+ [tool .pixi .pypi-dependencies ]
145+ jax = " >=0.9"
146+ pdbp = " *"
147+ pylcm = { path = " ." , editable = true }
148+ [tool .pixi .tasks ]
149+ asv-compare = " asv compare"
150+ asv-preview = " asv preview"
151+ asv-pr-comment = " python benchmarks/pr_comment.py"
152+ asv-publish = " python benchmarks/publish.py"
153+ asv-quick = { cmd = " asv run --quick --set-commit-hash=$(git rev-parse HEAD)" , env = { XLA_PYTHON_CLIENT_PREALLOCATE = " false" , XLA_PYTHON_CLIENT_MEM_FRACTION = " 0.3" } }
154+ asv-run = { cmd = ' git status --porcelain --ignore-submodules | grep -q . && echo "Refusing to benchmark: worktree is dirty. Commit first." && exit 1; asv run --set-commit-hash=$(git rev-parse HEAD)' , env = { XLA_PYTHON_CLIENT_PREALLOCATE = " false" , XLA_PYTHON_CLIENT_MEM_FRACTION = " 0.3" } }
155+ asv-run-and-pr-comment = { depends-on = [ " asv-run" , " asv-pr-comment" ] }
156+ asv-run-and-publish-main = { depends-on = [ " asv-run" , " asv-publish" ] }
157+ [tool .pixi .workspace ]
158+ channels = [ " conda-forge" ]
159+ platforms = [ " linux-64" , " osx-arm64" , " win-64" ]
160+
75161[tool .ruff ]
76162target-version = " py314"
77163exclude = [ " src/lcm/sandbox" ]
@@ -212,92 +298,6 @@ ini_options.markers = [
212298]
213299ini_options.norecursedirs = [ " docs" ]
214300
215- [tool .pixi .dependencies ]
216- asv = " *"
217- python = " ~=3.14.0"
218- cloudpickle = " >=3.1.2,<4"
219- h5py = " >=3.12"
220- jupyterlab = " *"
221- memory_profiler = " *"
222- numpy = " >=2.4"
223- plotly = " >=6.5"
224- prek = " *"
225- pyarrow = " *"
226- pybaum = " *"
227- scipy = " >=1.16"
228- snakeviz = " *"
229- [tool .pixi .environments ]
230- cuda12 = { features = [ " cuda12" ], solve-group = " cuda12" }
231- cuda13 = { features = [ " cuda13" ], solve-group = " cuda13" }
232- docs = { features = [ " docs" ], solve-group = " default" }
233- metal = { features = [ " metal" ], solve-group = " metal" }
234- tests-cpu = { features = [ " tests" ], solve-group = " default" }
235- tests-cuda12 = { features = [ " tests" , " cuda12" ], solve-group = " cuda12" }
236- tests-cuda13 = { features = [ " tests" , " cuda13" ], solve-group = " cuda13" }
237- tests-metal = { features = [ " tests" , " metal" ], solve-group = " metal" }
238- type-checking = { features = [ " type-checking" , " tests" ], solve-group = " default" }
239- [tool .pixi .feature .cuda12 ]
240- platforms = [ " linux-64" ]
241- system-requirements = { cuda = " 12" }
242- [tool .pixi .feature .cuda12 .target .linux-64 .dependencies ]
243- cuda-nvcc = " ~=12.0"
244- [tool .pixi .feature .cuda12 .target .linux-64 .pypi-dependencies ]
245- jax = { version = " >=0.9" , extras = [ " cuda12" ] }
246- [tool .pixi .feature .cuda13 ]
247- platforms = [ " linux-64" ]
248- system-requirements = { cuda = " 13" }
249- [tool .pixi .feature .cuda13 .target .linux-64 .dependencies ]
250- cuda-nvcc = " ~=13.0"
251- [tool .pixi .feature .cuda13 .target .linux-64 .pypi-dependencies ]
252- jax = { version = " >=0.9" , extras = [ " cuda13" ] }
253- [tool .pixi .feature .docs .dependencies ]
254- jupyter-book = " >=2.0"
255- mystmd = " *"
256- [tool .pixi .feature .docs .pypi-dependencies ]
257- quantecon = " *"
258- [tool .pixi .feature .docs .tasks ]
259- build-docs = { cmd = " jupyter book build --html --execute" , cwd = " docs" , env = { JAX_PLATFORMS = " cpu" } }
260- explanation-notebooks = " jupyter execute docs/explanations/*.ipynb"
261- view-docs = { cmd = " jupyter book start --execute" , cwd = " docs" , env = { JAX_PLATFORMS = " cpu" } }
262- [tool .pixi .feature .metal ]
263- platforms = [ " osx-arm64" ]
264- [tool .pixi .feature .metal .target .osx-arm64 .pypi-dependencies ]
265- jax = " >=0.9"
266- jax-metal = " >=0.1.1"
267- [tool .pixi .feature .tests .dependencies ]
268- pytest = " *"
269- pytest-cov = " *"
270- pytest-xdist = " *"
271- [tool .pixi .feature .tests .pypi-dependencies ]
272- quantecon = " *"
273- [tool .pixi .feature .tests .tasks ]
274- tests = " pytest tests"
275- tests-32bit = " pytest tests --precision=32"
276- tests-with-cov = " pytest tests --cov-report=xml --cov=./"
277- [tool .pixi .feature .type-checking .dependencies ]
278- matplotlib = " *"
279- pandas-stubs = " *"
280- scipy-stubs = " *"
281- ty = " *"
282- [tool .pixi .feature .type-checking .tasks ]
283- ty = " ty check"
284- [tool .pixi .pypi-dependencies ]
285- jax = " >=0.9"
286- pdbp = " *"
287- pylcm = { path = " ." , editable = true }
288- [tool .pixi .tasks ]
289- asv-compare = " asv compare"
290- asv-preview = " asv preview"
291- asv-pr-comment = " python benchmarks/pr_comment.py"
292- asv-publish = " python benchmarks/publish.py"
293- asv-quick = { cmd = " asv run --quick --set-commit-hash=$(git rev-parse HEAD)" , env = { XLA_PYTHON_CLIENT_PREALLOCATE = " false" , XLA_PYTHON_CLIENT_MEM_FRACTION = " 0.3" } }
294- asv-run = { cmd = ' git status --porcelain --ignore-submodules | grep -q . && echo "Refusing to benchmark: worktree is dirty. Commit first." && exit 1; asv run --set-commit-hash=$(git rev-parse HEAD)' , env = { XLA_PYTHON_CLIENT_PREALLOCATE = " false" , XLA_PYTHON_CLIENT_MEM_FRACTION = " 0.3" } }
295- asv-run-and-pr-comment = { depends-on = [ " asv-run" , " asv-pr-comment" ] }
296- asv-run-and-publish-main = { depends-on = [ " asv-run" , " asv-publish" ] }
297- [tool .pixi .workspace ]
298- channels = [ " conda-forge" ]
299- platforms = [ " linux-64" , " osx-arm64" , " win-64" ]
300-
301301[tool .yamlfix ]
302302line_length = 88
303303none_representation = " null"
0 commit comments