Repository navigation
Conversation
The tests workflow installed with plain pip, which ignores the [tool.uv] overrides/sources, so it pulled stable tensorflow-probability and crashed at collection on jax.interpreters.xla.pytype_aval_mappings (and the 3.10 matrix entry couldn't even install, since requires-python is >=3.11). - test.yml: install via `uv sync --extra test --locked` + `uv run` so the oryx git source and the tfp-nightly override/constraint apply; drop 3.10 from the matrix. - pyproject: drop the stale 3.10 classifier; pin jet-array==0.1.0a2 (now on PyPI with the log-space Taylor expansion, pow_p/scan_p rules, and log_add NaN-gradient guard) and remove its git source from [tool.uv.sources]. - uv.lock: jet-array now resolves from the PyPI registry. Verified locally: `uv sync --locked` clean, 77 tests collect with no import errors, representative subset passes.
Owner
Author
|
Superseded by #5, which is based on current main and consolidates everything from here: the uv CI switch, jet-array 0.1.0a2, plus the deps restructure (pip-git installable), MathJax docs, and the slow/fast test split with the actual @pytest.mark.slow tags. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the
testsworkflow, which had been failing on every push.Root causes
[tool.uv]. The workflow ranpip install -e .[test], so the oryx git source and the tfp-nightly override/constraint never applied → stabletensorflow-probabilitygot pulled → all 13 test files crashed at collection onjax.interpreters.xla.pytype_aval_mappings(removed in jax 0.8).requires-python = ">=3.11".Changes
test.yml: install viauv sync --extra test --locked+ run viauv run, so all[tool.uv]sources/overrides apply. Drop3.10from the matrix.pyproject.toml: drop the stale 3.10 classifier; pinjet-array==0.1.0a2(just published to PyPI with the log-space Taylor expansion,pow_p/scan_prules, and thelog_addNaN-gradient guard) and remove its git source.uv.lock: jet-array now resolves from PyPI.Verification (local)
uv sync --lockedresolves cleanlytest_bell_density,test_rosenblatt_correctness: 25 passed)CI on this PR exercises the new uv-based workflow end to end.