From 7edf30466c451a16e2d671f792967267d61dc211 Mon Sep 17 00:00:00 2001 From: Taneli Hukkinen Date: Thu, 8 Oct 2020 15:19:35 +0300 Subject: [PATCH 1/2] Test Python 3.9 --- .github/workflows/release.yml | 2 +- .github/workflows/tests.yml | 2 +- setup.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c992bda9d..cc85c2dcf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,7 +70,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: [3.5, 3.6, 3.7, 3.8] + python-version: [3.5, 3.6, 3.7, 3.8, 3.9] os: [ubuntu-16.04, macos-latest, windows-latest] exclude: # Python 3.5 is unable to properly diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 45367beb5..b8b6508cb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.5, 3.6, 3.7, 3.8] + python-version: [3.5, 3.6, 3.7, 3.8, 3.9] os: [windows-latest, ubuntu-18.04, macos-latest] exclude: # Python 3.5 is unable to properly diff --git a/setup.py b/setup.py index b54270dc9..cb31d2c8f 100644 --- a/setup.py +++ b/setup.py @@ -59,6 +59,7 @@ 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'Operating System :: POSIX', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', From 2f0c711fb458e0e34068058a5220026613058a0d Mon Sep 17 00:00:00 2001 From: Taneli Hukkinen Date: Thu, 8 Oct 2020 15:27:39 +0300 Subject: [PATCH 2/2] Update actions/checkout and actions/setup-python --- .github/workflows/release.yml | 10 +++++----- .github/workflows/tests.yml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cc85c2dcf..7e2c51b8c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,13 +45,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 with: fetch-depth: 50 submodules: true - name: Set up Python 3.7 - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: 3.7 @@ -80,13 +80,13 @@ jobs: python-version: 3.5 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 with: fetch-depth: 50 submodules: true - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} @@ -130,7 +130,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 with: fetch-depth: 5 submodules: false diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b8b6508cb..019007f67 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,7 +25,7 @@ jobs: python-version: 3.5 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 with: fetch-depth: 50 submodules: true @@ -41,7 +41,7 @@ jobs: __version__\s*=\s*(?:['"])([[:PEP440:]])(?:['"]) - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 if: steps.release.outputs.version == 0 with: python-version: ${{ matrix.python-version }}