Skip to content

Commit

Permalink
Fix required dependencies
Browse files Browse the repository at this point in the history
Also release dinosaur=1.1.1.

PiperOrigin-RevId: 703659433
  • Loading branch information
shoyer authored and Dinosaur authors committed Dec 7, 2024
1 parent 2301747 commit 5c19d66
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
- name: Install Dinosaur
run: |
pip install -e .[tests,xarray-utils]
pip install -e .[tests]
- name: Run unit tests
# TODO(shoyer): re-enable regrid_test once we figure out how to install Beam on GitHub actions
run: |
Expand Down
2 changes: 1 addition & 1 deletion dinosaur/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
import dinosaur.weatherbench_utils
import dinosaur.xarray_utils

__version__ = "1.1.0" # keep sync with pyproject.toml
__version__ = "1.1.1" # keep sync with pyproject.toml
18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package-data = {"dinosaur.data" = ["*"]}

[project]
name = "dinosaur-dycore"
version = "1.1.0" # keep sync with __init__.py
version = "1.1.1" # keep sync with __init__.py
authors = [
{name = "Google LLC", email = "noreply@google.com"},
]
Expand All @@ -24,6 +24,14 @@ dependencies = [
"scipy",
"scikit-learn",
"tree-math",
# these packages below are only required for xarray-utils, and really
# should not be required by default.
"dask",
"fsspec",
"pandas",
"xarray",
# "xarray-beam", # TODO(shoyer): figure out how to install Beam in CI
"xarray-tensorstore",
]

[project.optional-dependencies]
Expand All @@ -32,11 +40,3 @@ tests = [
"chex",
"pytest",
]
xarray-utils = [
"dask",
"fsspec",
"pandas",
"xarray",
# "xarray-beam", # TODO(shoyer): figure out how to install Beam in CI
"xarray-tensorstore",
]

0 comments on commit 5c19d66

Please sign in to comment.