From 0aff08846201b2aad5deb2db07f3ccc56334aab0 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 14 Jan 2022 11:37:29 -0300 Subject: [PATCH] Enable testing with Python 3.11 We should add Python 3.11 to our testing matrix in order to antecipate possible problems (even if we don't attempt to solve any of them right away). --- .github/workflows/main.yml | 10 ++++++++++ tox.ini | 1 + 2 files changed, 11 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 79ce0e2225b..28179f96e1b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,6 +37,7 @@ jobs: "windows-py38", "windows-py39", "windows-py310", + "windows-py311", "ubuntu-py37", "ubuntu-py37-pluggy", @@ -44,6 +45,7 @@ jobs: "ubuntu-py38", "ubuntu-py39", "ubuntu-py310", + "ubuntu-py311", "ubuntu-pypy3", "macos-py37", @@ -76,6 +78,10 @@ jobs: python: "3.10.1" os: windows-latest tox_env: "py310-xdist" + - name: "windows-py311" + python: "3.11.0-alpha.3" + os: windows-latest + tox_env: "py311" - name: "ubuntu-py37" python: "3.7" @@ -102,6 +108,10 @@ jobs: python: "3.10.1" os: ubuntu-latest tox_env: "py310-xdist" + - name: "ubuntu-py311" + python: "3.11.0-alpha.3" + os: ubuntu-latest + tox_env: "py311" - name: "ubuntu-pypy3" python: "pypy-3.7" os: ubuntu-latest diff --git a/tox.ini b/tox.ini index a1f4cab00e0..93c390ffc57 100644 --- a/tox.ini +++ b/tox.ini @@ -8,6 +8,7 @@ envlist = py38 py39 py310 + py311 pypy3 py37-{pexpect,xdist,unittestextras,numpy,pluggymain} doctesting