From 7c92d980e00c788e5495cb90ee2047b3010b1310 Mon Sep 17 00:00:00 2001 From: Robbe Sneyders Date: Thu, 17 Mar 2022 22:03:34 +0100 Subject: [PATCH 1/2] Add Python 3.10 in favor of 3.6 --- .github/workflows/pipeline.yml | 2 +- setup.py | 2 +- tox.ini | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 413197ef1..6d85a4c77 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: ['3.7', '3.8', '3.9', '3.10'] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/setup.py b/setup.py index dedef4ec3..157ce3454 100755 --- a/setup.py +++ b/setup.py @@ -105,10 +105,10 @@ def readme(): test_suite='tests', classifiers=[ 'Programming Language :: Python', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Operating System :: OS Independent', diff --git a/tox.ini b/tox.ini index 50c7dfb4a..197650f9b 100644 --- a/tox.ini +++ b/tox.ini @@ -5,10 +5,10 @@ rst-roles=class [tox] envlist = - {py36}-{min,pypi,dev} {py37}-{min,pypi,dev} {py38}-{min,pypi,dev} {py39}-{min,pypi,dev} + {py310}-{min,pypi,dev} isort-check isort-check-examples isort-check-tests @@ -17,10 +17,10 @@ envlist = [gh-actions] python = - 3.6: py36-min,py36-pypi 3.7: py37-min,py37-pypi 3.8: py38-min,py38-pypi - 3.9: py39-min,py39-pypi,flake8,isort-check,isort-check-examples,isort-check-tests,mypy + 3.9: py39-min,py39-pypi + 3.10: py310-min,py310-pypi,flake8,isort-check,isort-check-examples,isort-check-tests,mypy [testenv] setenv=PYTHONPATH = {toxinidir}:{toxinidir} From fc10145e0224400da3311fe9cbefb9b1c5700fc3 Mon Sep 17 00:00:00 2001 From: Robbe Sneyders Date: Thu, 17 Mar 2022 22:25:17 +0100 Subject: [PATCH 2/2] Increase lower bound requests for Python 3.10 compatibility --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 157ce3454..67333a001 100755 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ def read_version(package): 'clickclick>=1.2,<21', 'jsonschema>=2.5.1,<5', 'PyYAML>=5.1,<7', - 'requests>=2.9.1,<3', + 'requests>=2.19.1,<3', 'inflection>=0.3.1,<0.6', 'werkzeug>=1.0,<3', 'importlib-metadata>=1 ; python_version<"3.8"',