From 0071e0f68316f03da2d9d806cb670e0e4b5cb8dd Mon Sep 17 00:00:00 2001 From: matejcik Date: Tue, 10 Oct 2023 15:44:27 +0200 Subject: [PATCH] tests(python): add tests against python 3.11 --- ci/shell.nix | 1 + python/tox.ini | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ci/shell.nix b/ci/shell.nix index 7f8566609a..f47030fc6a 100644 --- a/ci/shell.nix +++ b/ci/shell.nix @@ -85,6 +85,7 @@ stdenvNoCC.mkDerivation ({ # install other python versions for tox testing # NOTE: running e.g. "python3" in the shell runs the first version in the following list, # and poetry uses the default version (currently 3.10) + python311 python310 python39 python38 diff --git a/python/tox.ini b/python/tox.ini index fc67b22d3e..0d16cafc82 100644 --- a/python/tox.ini +++ b/python/tox.ini @@ -7,9 +7,9 @@ [tox] envlist = - py{36,37,38,39,310}-{minimal,default,full} - py{36,37,38,39,310}-click{7,80} - py{37,38,39,310}-click81 + py{36,37,38,39,310,311}-{minimal,default,full} + py{36,37,38,39,310,311}-click{7,80} + py{37,38,39,310,311}-click81 [testenv] deps = @@ -28,7 +28,7 @@ commands = # Run test suite !minimal: pytest --random-order tests -[testenv:py{36,37,38,39,310}-click{7,80,81}] +[testenv:py{36,37,38,39,310,311}-click{7,80,81}] deps = -rrequirements.txt click7: click>=7,<8