Skip to content

Commit

Permalink
add typing-extensions so tests can pass
Browse files Browse the repository at this point in the history
  • Loading branch information
RandallPittmanOrSt committed Jul 25, 2024
1 parent a33f631 commit 6442074
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@ jobs:
# if: ${{ failure() }}
# run: |
# cd netcdf-c-${NETCDF_VERSION}
# cat config.log
# cat config.log

- name: Install python dependencies via pip
run: |
python -m pip install --upgrade pip
pip install numpy cython cftime pytest twine wheel check-manifest mpi4py
pip install numpy cython cftime pytest twine wheel check-manifest mpi4py typing-extensions
- name: Install netcdf4-python
run: |
export PATH=${NETCDF_DIR}/bin:${PATH}
export PATH=${NETCDF_DIR}/bin:${PATH}
export NETCDF_PLUGIN_DIR=${{ github.workspace }}/netcdf-c-${NETCDF_VERSION}/plugins/plugindir
python setup.py install
- name: Test
run: |
export PATH=${NETCDF_DIR}/bin:${PATH}
export PATH=${NETCDF_DIR}/bin:${PATH}
python checkversion.py
# serial
cd test
Expand Down Expand Up @@ -98,9 +98,9 @@ jobs:
# - name: Tarball
# run: |
# export PATH=${NETCDF_DIR}/bin:${PATH}
# python setup.py --version
# export PATH=${NETCDF_DIR}/bin:${PATH}
# python setup.py --version
# check-manifest --version
# check-manifest --verbose
# pip wheel . -w dist --no-deps
# twine check dist/*
# check-manifest --verbose
# pip wheel . -w dist --no-deps
# twine check dist/*
18 changes: 9 additions & 9 deletions .github/workflows/build_old.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@ jobs:
# if: ${{ failure() }}
# run: |
# cd netcdf-c-${NETCDF_VERSION}
# cat config.log
# cat config.log

- name: Install python dependencies via pip
run: |
python -m pip install --upgrade pip
pip install numpy cython cftime pytest twine wheel check-manifest mpi4py
pip install numpy cython cftime pytest twine wheel check-manifest mpi4py typing-extensions
- name: Install netcdf4-python
run: |
export PATH=${NETCDF_DIR}/bin:${PATH}
export PATH=${NETCDF_DIR}/bin:${PATH}
export NETCDF_PLUGIN_DIR=${{ github.workspace }}/netcdf-c-${NETCDF_VERSION}/plugins/plugindir
python setup.py install
- name: Test
run: |
export PATH=${NETCDF_DIR}/bin:${PATH}
export PATH=${NETCDF_DIR}/bin:${PATH}
python checkversion.py
# serial
cd test
Expand Down Expand Up @@ -98,9 +98,9 @@ jobs:
# - name: Tarball
# run: |
# export PATH=${NETCDF_DIR}/bin:${PATH}
# python setup.py --version
# export PATH=${NETCDF_DIR}/bin:${PATH}
# python setup.py --version
# check-manifest --version
# check-manifest --verbose
# pip wheel . -w dist --no-deps
# twine check dist/*
# check-manifest --verbose
# pip wheel . -w dist --no-deps
# twine check dist/*

0 comments on commit 6442074

Please sign in to comment.