From 1706700ce6333ef4c6367a217b9f0156159e6c6d Mon Sep 17 00:00:00 2001 From: Alessio Bogon <778703+youtux@users.noreply.github.com> Date: Tue, 26 Jul 2022 00:07:46 +0200 Subject: [PATCH] Drop support for pytest < 6.2 --- pyproject.toml | 2 +- tox.ini | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a803b56..0c9e883 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ glob2 = "*" Mako = "*" parse = "*" parse-type = "*" -pytest = ">=5.0" +pytest = ">=6.2.0" typing-extensions = "*" [tool.poetry.dev-dependencies] diff --git a/tox.ini b/tox.ini index 861b205..c651764 100644 --- a/tox.ini +++ b/tox.ini @@ -2,11 +2,7 @@ # needed for PEP 517-style builds isolated_build = True distshare = {homedir}/.tox/distshare -envlist = ; python 3.10 is only supported by pytest >= 6.2.5: - py{310,311}-pytest{62,70,71,latest}-coverage, - ; the rest of pytest runs can use an older python: - py39-pytest{50,51,52,53,54,60,61}-coverage, - py{37,38,39}-pytestlatest-coverage, +envlist = py{37,38,39,310,311}-pytest{62,70,71,latest}-coverage, py310-pytestlatest-xdist-coverage skip_missing_interpreters = true