From 1522afa1cd237d0ae269da229e79088061f6a3f4 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Tue, 28 Dec 2021 11:01:23 +0200 Subject: [PATCH] ci: run plugins job with python 3.9 instead of 3.7 Latest Django release dropped support for 3.7. --- .github/workflows/main.yml | 2 +- tox.ini | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bbc48adb4..08a9aa375 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -127,7 +127,7 @@ jobs: use_coverage: true - name: "plugins" - python: "3.7" + python: "3.9" os: ubuntu-latest tox_env: "plugins" diff --git a/tox.ini b/tox.ini index 6d30e0b0d..82c688e8a 100644 --- a/tox.ini +++ b/tox.ini @@ -100,9 +100,9 @@ commands = [testenv:plugins] # use latest versions of all plugins, including pre-releases pip_pre=true -# use latest pip and new dependency resolver (#7783) +# use latest pip to get new dependency resolver (#7783) download=true -install_command=python -m pip --use-feature=2020-resolver install {opts} {packages} +install_command=python -m pip install {opts} {packages} changedir = testing/plugins_integration deps = -rtesting/plugins_integration/requirements.txt setenv =