From bebd34681b15b723265e981ddec3e4e9aa5b7e98 Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Fri, 15 Apr 2022 16:42:36 +0200 Subject: [PATCH] Test also with Python 3.10 (and still keep 3.7) --- .github/workflows/pytest.yml | 2 +- pyproject.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 7373a77..1acd932 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -14,7 +14,7 @@ jobs: strategy: max-parallel: 2 matrix: - python-version: [3.9, 3.8, 3.7] + python-version: ["3.10", "3.9", "3.8", "3.7"] steps: - uses: actions/checkout@v1 - name: 'Set up Python ${{ matrix.python-version }}' diff --git a/pyproject.toml b/pyproject.toml index 5096f6d..1438650 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,6 +6,7 @@ authors = ["JensDiemer "] license = "GPL" [tool.poetry.dependencies] +# Keep Python 3.7 until Yunohost contains a newer Python Version ;) python = ">=3.7,<4.0.0" django-for-runners = ">=0.12.1" # Note: "ynh" extras will install gunicorn, psycopg2, django-redis and django-axes @@ -82,7 +83,7 @@ addopts = """ legacy_tox_ini = """ [tox] isolated_build = True -envlist = py39,py38,py37 +envlist = px310,py39,py38,py37 skip_missing_interpreters = True [testenv]