Skip to content

Commit

Permalink
Update weatherbench deps.
Browse files Browse the repository at this point in the history
Before this, we allowed `numpy < 2`, but this was causing issues with time compatibility. Partial upgrades resulted in other issues, so I upgraded numpy/pandas/xarray to be inline with current Google versions.

PiperOrigin-RevId: 702104258
  • Loading branch information
langmore authored and Weatherbench2 authors committed Dec 3, 2024
1 parent 8308c9c commit 16ab193
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# TODO(#3): Support Python 3.10 and 3.11.
python-version: ["3.9"]
python-version: ["3.11"]
steps:
- name: Cancel previous
uses: styfle/[email protected]
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# TODO(#3): Support Python 3.10 and 3.11.
python-version: ["3.9"]
python-version: ["3.11"]
steps:
- name: Cancel previous
uses: styfle/[email protected]
Expand Down
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@

base_requires = [
'apache_beam>=2.31.0',
'cftime>=1.6.2',
'jax[cpu]',
'numpy',
'pandas==2.0.3',
'numpy>=2.1.3',
'pandas>=2.2.3',
'scipy',
'scikit-learn',
'xarray==2023.7.0',
'xarray>=2024.11.0',
'xarray-beam',
'zarr',
]
Expand All @@ -48,7 +49,7 @@

setuptools.setup(
name='weatherbench2',
version='0.2.0',
version='0.2.1',
license='Apache 2.0',
author='Google LLC',
author_email='[email protected]',
Expand Down

0 comments on commit 16ab193

Please sign in to comment.