From 8f7b57e7e36b35f6bdfc8ce914d730b42a6a8e9a Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Tue, 4 Jan 2022 12:38:49 +0000 Subject: [PATCH 1/2] Test on Python 3.11 pre-releases --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80b40924f..42fbdc542 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11-dev"] runs-on: ubuntu-latest @@ -29,7 +29,7 @@ jobs: - name: Test typing_extensions run: | # Be wary of running `pip install` here, since it becomes easy for us to - # accidentally pick up typing_extensions as installed by a dependency + # accidentally pick up typing_extensions as installed by a dependency cd typing_extensions/src python -m unittest test_typing_extensions.py From bed4a5c75cb9a99d39e522d30b47f865d3727b61 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Tue, 4 Jan 2022 13:08:29 +0000 Subject: [PATCH 2/2] Update linter config --- .github/workflows/ci.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 42fbdc542..dbfb82ee8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,19 +40,12 @@ jobs: steps: - uses: actions/checkout@v2 - - - name: Set up Python + - name: Set up Python 3 uses: actions/setup-python@v2 with: - python-version: 3.9 - - - name: Load pip cache - uses: actions/cache@v2 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/test-requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip- + python-version: 3 + cache: "pip" + cache-dependency-path: "test-requirements.txt" - name: Install dependencies run: |