From 0e41b54dc7e53786e686dded0d495f9d9ff64deb Mon Sep 17 00:00:00 2001 From: Fabian Peter Hammerle Date: Sun, 21 Feb 2021 11:57:01 +0100 Subject: [PATCH] examples pipeline: test against python3.8 & python3.9 --- .github/workflows/python.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 03b9ec6..7af73e8 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -138,8 +138,8 @@ jobs: - 3.5 - 3.6 - 3.7 - #- 3.8 TODO - #- 3.9 TODO + - 3.8 + - 3.9 fail-fast: false defaults: run: @@ -153,6 +153,9 @@ jobs: - run: pipenv install --python "$PYTHON_VERSION" --deploy --dev env: PYTHON_VERSION: ${{ matrix.python-version }} + # > RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd + - run: python3 -c 'import sys; sys.exit(sys.version_info >= (3, 8))' + || pipenv run pip install --no-deps numpy==1.20.1 - run: pipenv graph # > the default behaviour is to abort conversion [...] if one of the cells throws an error - run: pipenv run jupyter nbconvert --execute --inplace *.ipynb