Skip to content

Commit

Permalink
Merge pull request #1180 from pybamm-team/fix-jax-release
Browse files Browse the repository at this point in the history
pin jax version
  • Loading branch information
martinjrobins authored Sep 26, 2020
2 parents 32e8291 + 76e4cda commit 8fa84a0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/release_checklist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Increment version number in `version`
- Increment version number in `docs/conf.py`
- Update CHANGELOG.md with a summary of the release
- Update (and pin) jax and jaxlib to latest version and fix any bugs that arise
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ anytree >= 2.4.3
autograd >= 1.2
scikit-fem >= 0.2.0
casadi >= 3.5.0
jax>=0.1.68
jaxlib>=0.1.47
jax==0.1.75
jaxlib==0.1.52
jupyter # For example notebooks
# Note: Matplotlib is loaded for debug plots but to ensure pybamm runs
# on systems without an attached display it should never be imported
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ def compile_KLU():
jax_dependencies = []
if system() != "Windows":
jax_dependencies = [
"jax>=0.1.68",
"jaxlib>=0.1.47",
"jax==0.1.75",
"jaxlib==0.1.52",
]


Expand All @@ -172,7 +172,7 @@ def compile_KLU():

setup(
name="pybamm",
version=load_version() + ".post1",
version=load_version() + ".post2",
description="Python Battery Mathematical Modelling.",
long_description=readme,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 8fa84a0

Please sign in to comment.