Skip to content

Commit

Permalink
⬆️ Bump jax from 0.4.29 to 0.4.30 (#615)
Browse files Browse the repository at this point in the history
* ⬆️ Bump jax from 0.4.29 to 0.4.30

Bumps [jax](https://github.com/google/jax) from 0.4.29 to 0.4.30.
- [Release notes](https://github.com/google/jax/releases)
- [Changelog](https://github.com/google/jax/blob/main/CHANGELOG.md)
- [Commits](jax-ml/jax@jax-v0.4.29...jax-v0.4.30)

---
updated-dependencies:
- dependency-name: jax
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix some warnings

* bump python version

* downgrade numpy

* fix copy setup test

* why even bother

* oops

* roll back rtol -> tol to support older scipy

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dion Häfner <[email protected]>
  • Loading branch information
dependabot[bot] and dionhaefner authored Jul 3, 2024
1 parent ff396e1 commit 57539d3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 120
target-version = ['py37', 'py38', 'py39', 'py310']
target-version = ['py38', 'py39', 'py310', 'py311', 'py312']


[tool.pytest.ini_options]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
click==8.1.7
entrypoints==0.4
requests==2.32.3
numpy==2.0.0
numpy==1.26.4
scipy==1.13.1
h5netcdf==1.3.0
h5py==3.11.0
Expand Down
2 changes: 1 addition & 1 deletion requirements_jax.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
jax==0.4.29
jax==0.4.30
9 changes: 5 additions & 4 deletions test/cli_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import sys
import filecmp
import fnmatch
import pkg_resources
import subprocess
from textwrap import dedent

Expand All @@ -28,12 +27,14 @@ def runner():

@pytest.mark.parametrize("setup", SETUPS)
def test_veros_copy_setup(setup, runner, tmpdir):
result = runner.invoke(veros.cli.veros_copy_setup.cli, [setup, "--to", os.path.join(tmpdir, setup)])
import veros

outpath = os.path.join(tmpdir, setup)
result = runner.invoke(veros.cli.veros_copy_setup.cli, [setup, "--to", outpath])
assert result.exit_code == 0, setup
assert not result.output

outpath = os.path.join(tmpdir, setup)
srcpath = pkg_resources.resource_filename("veros", f"setups/{setup}")
srcpath = os.path.join(os.path.dirname(veros.__file__), "setups", setup)
ignore = [
f
for f in os.listdir(srcpath)
Expand Down
3 changes: 1 addition & 2 deletions veros/cli/veros_resubmit.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import functools
import subprocess
import shlex
import pipes
import sys
import os
import time
Expand Down Expand Up @@ -36,7 +35,7 @@ def write_next_n(n, filename):


def unparse(args):
return " ".join(map(pipes.quote, args))
return shlex.join(args)


def call_veros(cmd, name, n, runlen):
Expand Down

0 comments on commit 57539d3

Please sign in to comment.