From dd361f670386355a89b86ab728aa113d3483c23d Mon Sep 17 00:00:00 2001 From: David Pugh Date: Sun, 13 Jun 2021 22:56:48 +0100 Subject: [PATCH 1/2] Working on types issue with python 3.9 --- .github/workflows/pipeline.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index b16cfef..a90bdf0 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -26,7 +26,7 @@ jobs: pip install tox - name: Lint run: tox -e lint - + security: name: Security Lint runs-on: windows-latest @@ -48,6 +48,8 @@ jobs: - uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v2 + with: + python-version: 3.8 - name: Install dependencies run: | python -m pip install --upgrade pip @@ -65,7 +67,7 @@ jobs: - ubuntu - windows - macos - py: + py: - 3.6 - 3.7 - 3.8 @@ -158,7 +160,7 @@ jobs: run: | python -m pip install --upgrade pip pip install tox - + - name: Build fastapi_aad_auth run: tox -e build -vvv @@ -208,7 +210,7 @@ jobs: - ubuntu - windows - macos - py: + py: - 3.6 - 3.7 - 3.8 @@ -238,7 +240,7 @@ jobs: automerge: if: github.event_name == 'pull_request' runs-on: ubuntu-latest - needs: + needs: - lint - security - types @@ -263,7 +265,7 @@ jobs: if: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) || github.event_name == 'release' name: Publish Package runs-on: ubuntu-latest - needs: + needs: - lint - security - types @@ -299,7 +301,7 @@ jobs: if: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && !(contains(github.ref, 'gh-pages') || contains(github.ref, 'docs')) ) || github.event_name == 'release' name: Publish Docs runs-on: ubuntu-latest - needs: + needs: - docs - publish-package steps: From 41207530a89919a60eda701f418613e86eaeb885 Mon Sep 17 00:00:00 2001 From: David Pugh Date: Sun, 13 Jun 2021 23:02:59 +0100 Subject: [PATCH 2/2] Working on types --- .github/workflows/pipeline.yml | 2 -- tox.ini | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index a90bdf0..93e3474 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -48,8 +48,6 @@ jobs: - uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v2 - with: - python-version: 3.8 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/tox.ini b/tox.ini index 5101d0d..cb6b768 100644 --- a/tox.ini +++ b/tox.ini @@ -17,6 +17,8 @@ deps = test,develop: tox cq,develop: pylint types,develop: mypy + types,develop: types-requests + types,develop: types-pkg_resources types,develop: lxml security,develop: bandit docs,develop: sphinx