Skip to content

ci: install [optional] on 3.13, pin jax<0.7 for tfp compat#82

Merged
Jammy2211 merged 1 commit intomainfrom
feature/fix-smoke-jax-and-mcmc
May 8, 2026
Merged

ci: install [optional] on 3.13, pin jax<0.7 for tfp compat#82
Jammy2211 merged 1 commit intomainfrom
feature/fix-smoke-jax-and-mcmc

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

  • 3.13 path no longer skips [optional] extras — JAX 0.6.x has cp313 wheels.
  • Pin jax<0.7 jaxlib<0.7 so the resolver stays on a tfp-0.25.0-compatible JAX.
  • Should fix all 7 ModuleNotFoundError: No module named 'jax' failures on 3.13.

Test plan

  • CI smoke on this PR (3.12 and 3.13)

🤖 Generated with Claude Code

Python 3.13 was branching to a numba-only install path that skipped
the [optional] extras, so the JAX likelihood-function smoke scripts
all failed with `ModuleNotFoundError: No module named 'jax'`.
JAX 0.6.x and onward have cp313 wheels — the conditional is no longer
needed.

Pinning `jax<0.7 jaxlib<0.7` before the [optional] install keeps tfp
0.25.0 (latest on PyPI) compatible: tfp.substrates.jax references
`jax.interpreters.xla.pytype_aval_mappings`, removed in JAX 0.7.0.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Jammy2211 Jammy2211 merged commit 91c818a into main May 8, 2026
4 checks passed
@Jammy2211 Jammy2211 deleted the feature/fix-smoke-jax-and-mcmc branch May 8, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant