From 0445653b2a4ab918f12e393573e089bce887157e Mon Sep 17 00:00:00 2001 From: mirai-mjelavic Date: Wed, 15 May 2024 16:00:59 +0200 Subject: [PATCH 1/2] Adding Python 3.10 to github workflows and tox --- .github/workflows/publish.yml | 2 +- .github/workflows/python-package.yml | 2 +- tox.ini | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dbfcd50..563c269 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.7.x' + python-version: '3.10.x' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index f8a1fb5..95a265b 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9] + python-version: [3.7, 3.8, 3.9, 3.10] steps: - uses: actions/checkout@v4 diff --git a/tox.ini b/tox.ini index 9b04608..383cf9b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] # this is a list of possible environments to test in. Usually one at most will work when running tox in a virtualenv. -envlist = py36,py37,py38,py39 +envlist = py36,py37,py38,py39,py310 skip_missing_interpreters = true skipsdist = true From a007f5619b55cbcb23f66557edced1f2a8c4621d Mon Sep 17 00:00:00 2001 From: mirai-mjelavic Date: Wed, 15 May 2024 16:06:32 +0200 Subject: [PATCH 2/2] Cleaning up Python 3.6 from tox and adding quotation marks for Python versions in python-package workflow --- .github/workflows/python-package.yml | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 95a265b..19b5c5d 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9, 3.10] + python-version: ["3.7", "3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v4 diff --git a/tox.ini b/tox.ini index 383cf9b..8918caf 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] # this is a list of possible environments to test in. Usually one at most will work when running tox in a virtualenv. -envlist = py36,py37,py38,py39,py310 +envlist = py37,py38,py39,py310 skip_missing_interpreters = true skipsdist = true