Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump beam #775

Merged
merged 21 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 13 additions & 16 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11","3.12"]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -32,28 +32,25 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- name: 🎯 Check cache hit
run: echo '${{ steps.setup-python.outputs.cache-hit }}'
# cache-dependency-path: pyproject.toml
# - name: 🎯 Check cache hit
# run: echo '${{ steps.setup-python.outputs.cache-hit }}'
- name: 🌈 Install pangeo-forge-recipes package
shell: bash -l {0}
run: |
python -m pip install -e ".[test]"
norlandrhagen marked this conversation as resolved.
Show resolved Hide resolved
- name: 🧑‍💻 On the nightly run, test upstream dev versions
if: |
github.event_name == 'schedule'
shell: bash -l {0}
run: |
python -m pip install -Ur ci/requirements-upstream-dev.txt
python -m pip install -U --pre apache-beam
# - name: 🧑‍💻 On the nightly run, test upstream dev versions
# if: |
# github.event_name == 'schedule'
# shell: bash -l {0}
# run: |
# python -m pip install -Ur ci/requirements-upstream-dev.txt
# python -m pip install -U --pre apache-beam
- name: 🏄‍♂️ Run Tests
shell: bash -l {0}
run: |
py.test tests -v -n auto \
--cov=pangeo_forge_recipes --cov-config .coveragerc \
--cov-report term-missing \
--cov-report xml \
--durations=10 --durations-min=1.0
py.test tests -v

- name: 🚦 Run Codecov
if: |
github.event_name == 'push' ||
Expand Down
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ classifiers = [
license = { text = "Apache-2.0" }
keywords = ["pangeo", "data"]
dependencies = [
"apache-beam",
"apache-beam>=2.54",
norlandrhagen marked this conversation as resolved.
Show resolved Hide resolved
"cftime",
"dask >= 2021.11.2",
"dask",
"fastparquet",
"fsspec[http] >= 2023.4.0",
"fsspec[http]",
"h5netcdf",
"h5py >= 3.3.0",
"kerchunk >= 0.0.7",
"h5py",
"kerchunk!=0.2.6",
"netcdf4",
"numcodecs >= 0.9.0",
"xarray >= 0.18.0",
"zarr >= 2.12.0",
"numcodecs",
"xarray",
"zarr",
]

[project.optional-dependencies]
Expand Down
Loading