From 88c1b99c18103186844f8fae4729de9f7f60a44a Mon Sep 17 00:00:00 2001 From: Robsdedude Date: Mon, 21 Oct 2024 18:35:36 +0200 Subject: [PATCH] Docs: adjusting EOL Python version testing remarks (#3417) --- docs/faq.rst | 5 +++++ docs/user_guide.rst | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/faq.rst b/docs/faq.rst index 1a00f724cb..6ca972643d 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -359,6 +359,8 @@ Just make sure you switch the user to ``root`` when needed and switch back to `` USER tox +.. _eol-version-support: + Testing end-of-life Python versions ----------------------------------- @@ -377,6 +379,9 @@ If you need to test against e.g. Python 2.7, 3.5 or 3.6, you need to add the fol In case you need to do this for many repositories, we recommend to use `all-repos `_. +Support for Python 3.7 was dropped in `virtualenv 20.27.0 `_. +In order to test against Python 3.7, you can limit the version with ``requires = virtualenv<20.27.0`` instead. + Testing with Pytest ------------------- diff --git a/docs/user_guide.rst b/docs/user_guide.rst index d805e69718..b7feba80d0 100644 --- a/docs/user_guide.rst +++ b/docs/user_guide.rst @@ -361,7 +361,8 @@ Main features * ``plugin system`` to modify tox execution with simple hooks. * uses :pypi:`pip` and :pypi:`virtualenv` by default. Support for plugins replacing it with their own. -* **cross-Python compatible**: tox requires CPython 3.7 and higher, but it can create environments 2.7 or later +* **cross-Python compatible**: tox requires CPython 3.9 and higher, but it can create environments 2.7 or later. + Special configuration might be required: :ref:`eol-version-support`. * **cross-platform**: Windows, macOS and Unix style environments * **full interoperability with devpi**: is integrated with and is used for testing in the :pypi:`devpi` system, a versatile PyPI index server and release managing tool