Skip to content

Conversation

@Giulero
Copy link
Collaborator

@Giulero Giulero commented Sep 2, 2025

This PR provides a temporary fix for the recent jax update from version 0.6.0 to 0.7.0.
See #132 and #131.

For now, I'm fixing the JAX version in the dependencies to the last working version.
I'll fix the general issue hopefully soon.


Copilot summary

This pull request updates the way the jax dependency is specified in both the ci_env.yml and pyproject.toml files. The main change is to pin the version of jax to 0.6.0 instead of allowing any version, which helps ensure consistent environments and reduces the risk of incompatibility issues.

Dependency version pinning:

  • Updated the ci_env.yml file to specify jax==0.6.0 instead of an unpinned version for more predictable CI builds.
  • Modified the pyproject.toml file to pin jax to version 0.6.0 in both the jax optional dependency group and the test dependency group, improving reproducibility for development and testing.

📚 Documentation preview 📚: https://adam-docs--133.org.readthedocs.build/en/133/

@Giulero
Copy link
Collaborator Author

Giulero commented Sep 2, 2025

Thanks @GiulioRomualdi!

@traversaro
Copy link
Contributor

Can you please use an upper bound in pyproject.toml instead of an equality constraint? If earlier jax version worked fine, I see no reason to forcing users to use only a specific Jax version.

@Giulero
Copy link
Collaborator Author

Giulero commented Sep 2, 2025

Can you please use an upper bound in pyproject.toml instead of an equality constraint? If earlier jax version worked fine, I see no reason to forcing users to use only a specific Jax version.

Super true! Thanks @traversaro for the suggestion!

@Giulero Giulero merged commit eaa3a7e into main Sep 3, 2025
18 checks passed
@Giulero Giulero deleted the fix-jax0.6.0-version branch September 3, 2025 07:59
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.

4 participants