From 64420742504f7b2c82a171f7ff977f5903af5689 Mon Sep 17 00:00:00 2001 From: Randall Pittman Date: Thu, 25 Jul 2024 14:02:21 -0700 Subject: [PATCH] add typing-extensions so tests can pass --- .github/workflows/build_latest.yml | 18 +++++++++--------- .github/workflows/build_old.yml | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build_latest.yml b/.github/workflows/build_latest.yml index 079774710..8f536624e 100644 --- a/.github/workflows/build_latest.yml +++ b/.github/workflows/build_latest.yml @@ -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 @@ -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/* diff --git a/.github/workflows/build_old.yml b/.github/workflows/build_old.yml index eeaa61c3b..b10977d9d 100644 --- a/.github/workflows/build_old.yml +++ b/.github/workflows/build_old.yml @@ -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 @@ -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/*