From d58ee2b677f2e1203e925590f6babc4e08b87b61 Mon Sep 17 00:00:00 2001 From: "oleg.hoefling" Date: Mon, 27 Sep 2021 00:42:37 +0200 Subject: [PATCH 1/2] replace hardcoded urls to docs.pytest.org with internal crossrefs, add external crossrefs where possible Signed-off-by: oleg.hoefling --- doc/en/announce/release-2.1.0.rst | 4 +- doc/en/announce/release-3.0.0.rst | 2 +- doc/en/announce/release-3.0.1.rst | 2 +- doc/en/announce/release-3.0.2.rst | 2 +- doc/en/announce/release-3.0.3.rst | 2 +- doc/en/announce/release-3.0.4.rst | 2 +- doc/en/announce/release-3.0.5.rst | 2 +- doc/en/announce/release-3.0.6.rst | 2 +- doc/en/announce/release-3.0.7.rst | 2 +- doc/en/announce/release-3.1.0.rst | 4 +- doc/en/announce/release-3.1.1.rst | 2 +- doc/en/announce/release-3.1.2.rst | 2 +- doc/en/announce/release-3.1.3.rst | 2 +- doc/en/announce/release-3.10.0.rst | 6 +- doc/en/announce/release-3.10.1.rst | 2 +- doc/en/announce/release-3.2.0.rst | 4 +- doc/en/announce/release-3.2.1.rst | 2 +- doc/en/announce/release-3.2.2.rst | 2 +- doc/en/announce/release-3.2.3.rst | 2 +- doc/en/announce/release-3.2.4.rst | 2 +- doc/en/announce/release-3.2.5.rst | 2 +- doc/en/announce/release-3.3.0.rst | 4 +- doc/en/announce/release-3.3.1.rst | 2 +- doc/en/announce/release-3.3.2.rst | 2 +- doc/en/announce/release-3.4.0.rst | 4 +- doc/en/announce/release-3.4.1.rst | 2 +- doc/en/announce/release-3.4.2.rst | 2 +- doc/en/announce/release-3.5.0.rst | 4 +- doc/en/announce/release-3.5.1.rst | 2 +- doc/en/announce/release-3.6.0.rst | 4 +- doc/en/announce/release-3.6.1.rst | 2 +- doc/en/announce/release-3.6.2.rst | 2 +- doc/en/announce/release-3.6.3.rst | 2 +- doc/en/announce/release-3.6.4.rst | 2 +- doc/en/announce/release-3.7.0.rst | 4 +- doc/en/announce/release-3.7.1.rst | 2 +- doc/en/announce/release-3.7.2.rst | 2 +- doc/en/announce/release-3.7.3.rst | 2 +- doc/en/announce/release-3.7.4.rst | 2 +- doc/en/announce/release-3.8.0.rst | 6 +- doc/en/announce/release-3.8.1.rst | 2 +- doc/en/announce/release-3.8.2.rst | 2 +- doc/en/announce/release-3.9.0.rst | 6 +- doc/en/announce/release-3.9.1.rst | 2 +- doc/en/announce/release-3.9.2.rst | 2 +- doc/en/announce/release-3.9.3.rst | 2 +- doc/en/announce/release-4.0.0.rst | 6 +- doc/en/announce/release-4.0.1.rst | 2 +- doc/en/announce/release-4.0.2.rst | 2 +- doc/en/announce/release-4.1.0.rst | 6 +- doc/en/announce/release-4.1.1.rst | 2 +- doc/en/announce/release-4.2.0.rst | 6 +- doc/en/announce/release-4.2.1.rst | 2 +- doc/en/announce/release-4.3.0.rst | 6 +- doc/en/announce/release-4.3.1.rst | 2 +- doc/en/announce/release-4.4.0.rst | 6 +- doc/en/announce/release-4.4.1.rst | 2 +- doc/en/announce/release-4.4.2.rst | 2 +- doc/en/announce/release-4.5.0.rst | 6 +- doc/en/announce/release-4.6.0.rst | 6 +- doc/en/announce/release-4.6.1.rst | 2 +- doc/en/announce/release-4.6.2.rst | 2 +- doc/en/announce/release-4.6.3.rst | 2 +- doc/en/announce/release-4.6.4.rst | 2 +- doc/en/announce/release-4.6.5.rst | 2 +- doc/en/announce/release-4.6.6.rst | 2 +- doc/en/announce/release-4.6.7.rst | 2 +- doc/en/announce/release-4.6.8.rst | 2 +- doc/en/announce/release-4.6.9.rst | 2 +- doc/en/announce/release-5.0.0.rst | 6 +- doc/en/announce/release-5.0.1.rst | 2 +- doc/en/announce/release-5.1.0.rst | 6 +- doc/en/announce/release-5.1.1.rst | 2 +- doc/en/announce/release-5.1.2.rst | 2 +- doc/en/announce/release-5.1.3.rst | 2 +- doc/en/announce/release-5.2.0.rst | 6 +- doc/en/announce/release-5.2.1.rst | 2 +- doc/en/announce/release-5.2.2.rst | 2 +- doc/en/announce/release-5.2.3.rst | 2 +- doc/en/announce/release-5.2.4.rst | 2 +- doc/en/announce/release-5.3.0.rst | 6 +- doc/en/announce/release-5.3.1.rst | 2 +- doc/en/announce/release-5.3.2.rst | 2 +- doc/en/announce/release-5.3.3.rst | 2 +- doc/en/announce/release-5.3.4.rst | 2 +- doc/en/announce/release-5.3.5.rst | 2 +- doc/en/announce/release-5.4.0.rst | 6 +- doc/en/announce/release-5.4.1.rst | 2 +- doc/en/announce/release-5.4.2.rst | 2 +- doc/en/announce/release-5.4.3.rst | 2 +- doc/en/announce/release-6.0.0.rst | 6 +- doc/en/announce/release-6.0.0rc1.rst | 2 +- doc/en/announce/release-6.0.1.rst | 2 +- doc/en/announce/release-6.0.2.rst | 2 +- doc/en/announce/release-6.1.0.rst | 6 +- doc/en/announce/release-6.1.1.rst | 2 +- doc/en/announce/release-6.1.2.rst | 2 +- doc/en/announce/release-6.2.0.rst | 6 +- doc/en/announce/release-6.2.1.rst | 2 +- doc/en/announce/release-6.2.2.rst | 2 +- doc/en/announce/release-6.2.3.rst | 2 +- doc/en/announce/release-6.2.4.rst | 2 +- doc/en/announce/release-6.2.5.rst | 2 +- doc/en/changelog.rst | 168 ++++++++++++--------------- doc/en/conf.py | 2 +- doc/en/deprecations.rst | 31 ++++- doc/en/explanation/flaky.rst | 2 +- doc/en/funcarg_compare.rst | 2 +- doc/en/getting-started.rst | 2 +- doc/en/historical-notes.rst | 1 + doc/en/history.rst | 3 +- doc/en/how-to/assert.rst | 2 +- doc/en/how-to/cache.rst | 2 + doc/en/how-to/capture-warnings.rst | 4 +- doc/en/how-to/doctest.rst | 2 + doc/en/how-to/output.rst | 5 +- doc/en/how-to/unittest.rst | 2 +- doc/en/py27-py34-deprecation.rst | 6 +- src/_pytest/outcomes.py | 3 +- src/_pytest/python_api.py | 42 +++---- 120 files changed, 288 insertions(+), 285 deletions(-) diff --git a/doc/en/announce/release-2.1.0.rst b/doc/en/announce/release-2.1.0.rst index 78247247e..c3f8646b7 100644 --- a/doc/en/announce/release-2.1.0.rst +++ b/doc/en/announce/release-2.1.0.rst @@ -11,8 +11,8 @@ The single biggest news about this release are **perfected assertions** courtesy of Benjamin Peterson. You can now safely use ``assert`` statements in test modules without having to worry about side effects or python optimization ("-OO") options. This is achieved by rewriting -assert statements in test modules upon import, using a PEP302 hook. -See https://docs.pytest.org/en/stable/how-to/assert.html for +assert statements in test modules upon import, using a :pep:`302` hook. +See :doc:`../how-to/assert` for detailed information. The work has been partly sponsored by my company, merlinux GmbH. diff --git a/doc/en/announce/release-3.0.0.rst b/doc/en/announce/release-3.0.0.rst index 5de389114..0bee30ea7 100644 --- a/doc/en/announce/release-3.0.0.rst +++ b/doc/en/announce/release-3.0.0.rst @@ -18,7 +18,7 @@ To see the complete changelog and documentation, please visit: http://docs.pytest.org -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-3.0.1.rst b/doc/en/announce/release-3.0.1.rst index 8f5cfe411..4cfd649db 100644 --- a/doc/en/announce/release-3.0.1.rst +++ b/doc/en/announce/release-3.0.1.rst @@ -8,7 +8,7 @@ drop-in replacement. To upgrade: pip install --upgrade pytest -The changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.0.2.rst b/doc/en/announce/release-3.0.2.rst index 86ba82ca6..c930e9aad 100644 --- a/doc/en/announce/release-3.0.2.rst +++ b/doc/en/announce/release-3.0.2.rst @@ -8,7 +8,7 @@ drop-in replacement. To upgrade:: pip install --upgrade pytest -The changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.0.3.rst b/doc/en/announce/release-3.0.3.rst index 89a2e0c74..f4f8c18fe 100644 --- a/doc/en/announce/release-3.0.3.rst +++ b/doc/en/announce/release-3.0.3.rst @@ -8,7 +8,7 @@ being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.0.4.rst b/doc/en/announce/release-3.0.4.rst index 72c2d2946..503d4f8d2 100644 --- a/doc/en/announce/release-3.0.4.rst +++ b/doc/en/announce/release-3.0.4.rst @@ -8,7 +8,7 @@ being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.0.5.rst b/doc/en/announce/release-3.0.5.rst index 97edb7d46..2cc071ce0 100644 --- a/doc/en/announce/release-3.0.5.rst +++ b/doc/en/announce/release-3.0.5.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.0.6.rst b/doc/en/announce/release-3.0.6.rst index 9c072cedc..37b79cf3d 100644 --- a/doc/en/announce/release-3.0.6.rst +++ b/doc/en/announce/release-3.0.6.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.0.7.rst b/doc/en/announce/release-3.0.7.rst index 4b7e075e7..4fb3cf9ef 100644 --- a/doc/en/announce/release-3.0.7.rst +++ b/doc/en/announce/release-3.0.7.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.1.0.rst b/doc/en/announce/release-3.1.0.rst index 552770679..0e3fb103d 100644 --- a/doc/en/announce/release-3.1.0.rst +++ b/doc/en/announce/release-3.1.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: -http://doc.pytest.org/en/stable/changelog.html +:std:doc:`changelog` For complete documentation, please visit: http://docs.pytest.org -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-3.1.1.rst b/doc/en/announce/release-3.1.1.rst index 135b2fe84..da3a0568b 100644 --- a/doc/en/announce/release-3.1.1.rst +++ b/doc/en/announce/release-3.1.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.1.2.rst b/doc/en/announce/release-3.1.2.rst index a9b85c471..e7719c6f3 100644 --- a/doc/en/announce/release-3.1.2.rst +++ b/doc/en/announce/release-3.1.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.1.3.rst b/doc/en/announce/release-3.1.3.rst index bc2b85fcf..ef9b7a5e4 100644 --- a/doc/en/announce/release-3.1.3.rst +++ b/doc/en/announce/release-3.1.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.10.0.rst b/doc/en/announce/release-3.10.0.rst index ff3c000b0..e71fce5aa 100644 --- a/doc/en/announce/release-3.10.0.rst +++ b/doc/en/announce/release-3.10.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-3.10.1.rst b/doc/en/announce/release-3.10.1.rst index ad365f634..ce77d83f3 100644 --- a/doc/en/announce/release-3.10.1.rst +++ b/doc/en/announce/release-3.10.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.2.0.rst b/doc/en/announce/release-3.2.0.rst index edc66a28e..5fc5420b1 100644 --- a/doc/en/announce/release-3.2.0.rst +++ b/doc/en/announce/release-3.2.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - http://doc.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: http://docs.pytest.org -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-3.2.1.rst b/doc/en/announce/release-3.2.1.rst index c40217d31..2b2cdc634 100644 --- a/doc/en/announce/release-3.2.1.rst +++ b/doc/en/announce/release-3.2.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.2.2.rst b/doc/en/announce/release-3.2.2.rst index 5e6c43ab1..edc392aa6 100644 --- a/doc/en/announce/release-3.2.2.rst +++ b/doc/en/announce/release-3.2.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.2.3.rst b/doc/en/announce/release-3.2.3.rst index 50dce29c1..e9d6c2214 100644 --- a/doc/en/announce/release-3.2.3.rst +++ b/doc/en/announce/release-3.2.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.2.4.rst b/doc/en/announce/release-3.2.4.rst index ff0b35781..11d34ee49 100644 --- a/doc/en/announce/release-3.2.4.rst +++ b/doc/en/announce/release-3.2.4.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.2.5.rst b/doc/en/announce/release-3.2.5.rst index 68caccbdb..e40b8326f 100644 --- a/doc/en/announce/release-3.2.5.rst +++ b/doc/en/announce/release-3.2.5.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.3.0.rst b/doc/en/announce/release-3.3.0.rst index 1cbf2c448..e5f7b0a97 100644 --- a/doc/en/announce/release-3.3.0.rst +++ b/doc/en/announce/release-3.3.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - http://doc.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: http://docs.pytest.org -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-3.3.1.rst b/doc/en/announce/release-3.3.1.rst index 98b6fa6c1..12729da72 100644 --- a/doc/en/announce/release-3.3.1.rst +++ b/doc/en/announce/release-3.3.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.3.2.rst b/doc/en/announce/release-3.3.2.rst index 7a2577d1f..992e7b17d 100644 --- a/doc/en/announce/release-3.3.2.rst +++ b/doc/en/announce/release-3.3.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.4.0.rst b/doc/en/announce/release-3.4.0.rst index 6ab5b124a..943000b9a 100644 --- a/doc/en/announce/release-3.4.0.rst +++ b/doc/en/announce/release-3.4.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - http://doc.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: http://docs.pytest.org -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-3.4.1.rst b/doc/en/announce/release-3.4.1.rst index d83949453..9e76d93f9 100644 --- a/doc/en/announce/release-3.4.1.rst +++ b/doc/en/announce/release-3.4.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.4.2.rst b/doc/en/announce/release-3.4.2.rst index 07cd9d3a8..ccc357745 100644 --- a/doc/en/announce/release-3.4.2.rst +++ b/doc/en/announce/release-3.4.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.5.0.rst b/doc/en/announce/release-3.5.0.rst index 6bc2f3cd0..db3225c69 100644 --- a/doc/en/announce/release-3.5.0.rst +++ b/doc/en/announce/release-3.5.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - http://doc.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: http://docs.pytest.org -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-3.5.1.rst b/doc/en/announce/release-3.5.1.rst index 802be0368..e778bafa1 100644 --- a/doc/en/announce/release-3.5.1.rst +++ b/doc/en/announce/release-3.5.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.6.0.rst b/doc/en/announce/release-3.6.0.rst index 44b178c16..8fccbf71d 100644 --- a/doc/en/announce/release-3.6.0.rst +++ b/doc/en/announce/release-3.6.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - http://doc.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: http://docs.pytest.org -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-3.6.1.rst b/doc/en/announce/release-3.6.1.rst index d971a3d49..7fe596de1 100644 --- a/doc/en/announce/release-3.6.1.rst +++ b/doc/en/announce/release-3.6.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.6.2.rst b/doc/en/announce/release-3.6.2.rst index 9d9199579..d11eb30c5 100644 --- a/doc/en/announce/release-3.6.2.rst +++ b/doc/en/announce/release-3.6.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.6.3.rst b/doc/en/announce/release-3.6.3.rst index 4dda2460d..9389f247c 100644 --- a/doc/en/announce/release-3.6.3.rst +++ b/doc/en/announce/release-3.6.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.6.4.rst b/doc/en/announce/release-3.6.4.rst index 2c0f9efec..817fd3036 100644 --- a/doc/en/announce/release-3.6.4.rst +++ b/doc/en/announce/release-3.6.4.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.7.0.rst b/doc/en/announce/release-3.7.0.rst index 89908a910..cd8be9479 100644 --- a/doc/en/announce/release-3.7.0.rst +++ b/doc/en/announce/release-3.7.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - http://doc.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: http://docs.pytest.org -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-3.7.1.rst b/doc/en/announce/release-3.7.1.rst index 7da5a3e1f..da641dea4 100644 --- a/doc/en/announce/release-3.7.1.rst +++ b/doc/en/announce/release-3.7.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.7.2.rst b/doc/en/announce/release-3.7.2.rst index fcc612175..0b56ce619 100644 --- a/doc/en/announce/release-3.7.2.rst +++ b/doc/en/announce/release-3.7.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.7.3.rst b/doc/en/announce/release-3.7.3.rst index ee87da60d..f99b5aa88 100644 --- a/doc/en/announce/release-3.7.3.rst +++ b/doc/en/announce/release-3.7.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.7.4.rst b/doc/en/announce/release-3.7.4.rst index 45be42938..06f5defd9 100644 --- a/doc/en/announce/release-3.7.4.rst +++ b/doc/en/announce/release-3.7.4.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.8.0.rst b/doc/en/announce/release-3.8.0.rst index 8c35a44f6..dc6824f91 100644 --- a/doc/en/announce/release-3.8.0.rst +++ b/doc/en/announce/release-3.8.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-3.8.1.rst b/doc/en/announce/release-3.8.1.rst index f8f8accc4..ebaf15a46 100644 --- a/doc/en/announce/release-3.8.1.rst +++ b/doc/en/announce/release-3.8.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.8.2.rst b/doc/en/announce/release-3.8.2.rst index 9ea94c98a..c3161fac2 100644 --- a/doc/en/announce/release-3.8.2.rst +++ b/doc/en/announce/release-3.8.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.9.0.rst b/doc/en/announce/release-3.9.0.rst index 0be6cf5be..c07b5676f 100644 --- a/doc/en/announce/release-3.9.0.rst +++ b/doc/en/announce/release-3.9.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-3.9.1.rst b/doc/en/announce/release-3.9.1.rst index e1afb3759..40eca6477 100644 --- a/doc/en/announce/release-3.9.1.rst +++ b/doc/en/announce/release-3.9.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.9.2.rst b/doc/en/announce/release-3.9.2.rst index 63e94e5aa..35b559204 100644 --- a/doc/en/announce/release-3.9.2.rst +++ b/doc/en/announce/release-3.9.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.9.3.rst b/doc/en/announce/release-3.9.3.rst index 661ddb5cb..8cdd0e7b7 100644 --- a/doc/en/announce/release-3.9.3.rst +++ b/doc/en/announce/release-3.9.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.0.0.rst b/doc/en/announce/release-4.0.0.rst index 5eb010775..476edf7a5 100644 --- a/doc/en/announce/release-4.0.0.rst +++ b/doc/en/announce/release-4.0.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-4.0.1.rst b/doc/en/announce/release-4.0.1.rst index 2902a6db9..ef41511ba 100644 --- a/doc/en/announce/release-4.0.1.rst +++ b/doc/en/announce/release-4.0.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.0.2.rst b/doc/en/announce/release-4.0.2.rst index f439b88fe..640b4480b 100644 --- a/doc/en/announce/release-4.0.2.rst +++ b/doc/en/announce/release-4.0.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.1.0.rst b/doc/en/announce/release-4.1.0.rst index 314564eeb..7d16e950c 100644 --- a/doc/en/announce/release-4.1.0.rst +++ b/doc/en/announce/release-4.1.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-4.1.1.rst b/doc/en/announce/release-4.1.1.rst index 1f45e082f..1a96f7b5f 100644 --- a/doc/en/announce/release-4.1.1.rst +++ b/doc/en/announce/release-4.1.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.2.0.rst b/doc/en/announce/release-4.2.0.rst index bcd7f7754..49f4045e8 100644 --- a/doc/en/announce/release-4.2.0.rst +++ b/doc/en/announce/release-4.2.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-4.2.1.rst b/doc/en/announce/release-4.2.1.rst index 36beafe11..2662d03c5 100644 --- a/doc/en/announce/release-4.2.1.rst +++ b/doc/en/announce/release-4.2.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.3.0.rst b/doc/en/announce/release-4.3.0.rst index 3b0b42809..1837de443 100644 --- a/doc/en/announce/release-4.3.0.rst +++ b/doc/en/announce/release-4.3.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-4.3.1.rst b/doc/en/announce/release-4.3.1.rst index 4251c744e..abb774b03 100644 --- a/doc/en/announce/release-4.3.1.rst +++ b/doc/en/announce/release-4.3.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.4.0.rst b/doc/en/announce/release-4.4.0.rst index dc89739d0..6f46b0aa6 100644 --- a/doc/en/announce/release-4.4.0.rst +++ b/doc/en/announce/release-4.4.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-4.4.1.rst b/doc/en/announce/release-4.4.1.rst index 1272cd8fd..dbd4a66dd 100644 --- a/doc/en/announce/release-4.4.1.rst +++ b/doc/en/announce/release-4.4.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.4.2.rst b/doc/en/announce/release-4.4.2.rst index 5876e83b3..e97762d7d 100644 --- a/doc/en/announce/release-4.4.2.rst +++ b/doc/en/announce/release-4.4.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.5.0.rst b/doc/en/announce/release-4.5.0.rst index d2a05d4f7..87222042a 100644 --- a/doc/en/announce/release-4.5.0.rst +++ b/doc/en/announce/release-4.5.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-4.6.0.rst b/doc/en/announce/release-4.6.0.rst index a82fdd47d..28af03918 100644 --- a/doc/en/announce/release-4.6.0.rst +++ b/doc/en/announce/release-4.6.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-4.6.1.rst b/doc/en/announce/release-4.6.1.rst index c79839b7b..527f54c74 100644 --- a/doc/en/announce/release-4.6.1.rst +++ b/doc/en/announce/release-4.6.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.6.2.rst b/doc/en/announce/release-4.6.2.rst index cfc595293..f469e4920 100644 --- a/doc/en/announce/release-4.6.2.rst +++ b/doc/en/announce/release-4.6.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.6.3.rst b/doc/en/announce/release-4.6.3.rst index f578464a7..0cef968d8 100644 --- a/doc/en/announce/release-4.6.3.rst +++ b/doc/en/announce/release-4.6.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.6.4.rst b/doc/en/announce/release-4.6.4.rst index 0eefcbeb1..fafbe1473 100644 --- a/doc/en/announce/release-4.6.4.rst +++ b/doc/en/announce/release-4.6.4.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.6.5.rst b/doc/en/announce/release-4.6.5.rst index 1ebf361fd..1d5b01f40 100644 --- a/doc/en/announce/release-4.6.5.rst +++ b/doc/en/announce/release-4.6.5.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.6.6.rst b/doc/en/announce/release-4.6.6.rst index b3bf1e431..e58d306c5 100644 --- a/doc/en/announce/release-4.6.6.rst +++ b/doc/en/announce/release-4.6.6.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.6.7.rst b/doc/en/announce/release-4.6.7.rst index f9d01845e..44c6fa8cb 100644 --- a/doc/en/announce/release-4.6.7.rst +++ b/doc/en/announce/release-4.6.7.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.6.8.rst b/doc/en/announce/release-4.6.8.rst index 5cabe7826..3c84815fa 100644 --- a/doc/en/announce/release-4.6.8.rst +++ b/doc/en/announce/release-4.6.8.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.6.9.rst b/doc/en/announce/release-4.6.9.rst index 7f7bb5996..1d4e755e3 100644 --- a/doc/en/announce/release-4.6.9.rst +++ b/doc/en/announce/release-4.6.9.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.0.0.rst b/doc/en/announce/release-5.0.0.rst index f5e593e9d..b61eb4b56 100644 --- a/doc/en/announce/release-5.0.0.rst +++ b/doc/en/announce/release-5.0.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-5.0.1.rst b/doc/en/announce/release-5.0.1.rst index e16a8f716..ef0b4e6b8 100644 --- a/doc/en/announce/release-5.0.1.rst +++ b/doc/en/announce/release-5.0.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.1.0.rst b/doc/en/announce/release-5.1.0.rst index 9ab54ff97..6dc5ceba3 100644 --- a/doc/en/announce/release-5.1.0.rst +++ b/doc/en/announce/release-5.1.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-5.1.1.rst b/doc/en/announce/release-5.1.1.rst index bb8de4801..70e8755af 100644 --- a/doc/en/announce/release-5.1.1.rst +++ b/doc/en/announce/release-5.1.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.1.2.rst b/doc/en/announce/release-5.1.2.rst index c4cb8e3fb..afe3614df 100644 --- a/doc/en/announce/release-5.1.2.rst +++ b/doc/en/announce/release-5.1.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.1.3.rst b/doc/en/announce/release-5.1.3.rst index c4e88aed2..515af22fd 100644 --- a/doc/en/announce/release-5.1.3.rst +++ b/doc/en/announce/release-5.1.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.2.0.rst b/doc/en/announce/release-5.2.0.rst index f43767b75..622664967 100644 --- a/doc/en/announce/release-5.2.0.rst +++ b/doc/en/announce/release-5.2.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-5.2.1.rst b/doc/en/announce/release-5.2.1.rst index fe42b9bf1..947638d75 100644 --- a/doc/en/announce/release-5.2.1.rst +++ b/doc/en/announce/release-5.2.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.2.2.rst b/doc/en/announce/release-5.2.2.rst index 89fd6a534..96cb0147e 100644 --- a/doc/en/announce/release-5.2.2.rst +++ b/doc/en/announce/release-5.2.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.2.3.rst b/doc/en/announce/release-5.2.3.rst index bab174495..7e5067c39 100644 --- a/doc/en/announce/release-5.2.3.rst +++ b/doc/en/announce/release-5.2.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.2.4.rst b/doc/en/announce/release-5.2.4.rst index 5f5189679..26ba12540 100644 --- a/doc/en/announce/release-5.2.4.rst +++ b/doc/en/announce/release-5.2.4.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.3.0.rst b/doc/en/announce/release-5.3.0.rst index e13a71f09..32c37fca1 100644 --- a/doc/en/announce/release-5.3.0.rst +++ b/doc/en/announce/release-5.3.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from pypi via: +As usual, you can upgrade from pypi via:: pip install -U pytest diff --git a/doc/en/announce/release-5.3.1.rst b/doc/en/announce/release-5.3.1.rst index d575bb70e..76f89b994 100644 --- a/doc/en/announce/release-5.3.1.rst +++ b/doc/en/announce/release-5.3.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.3.2.rst b/doc/en/announce/release-5.3.2.rst index d562a33fb..9b4478b6a 100644 --- a/doc/en/announce/release-5.3.2.rst +++ b/doc/en/announce/release-5.3.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.3.3.rst b/doc/en/announce/release-5.3.3.rst index 40a6fb5b5..41991af6d 100644 --- a/doc/en/announce/release-5.3.3.rst +++ b/doc/en/announce/release-5.3.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.3.4.rst b/doc/en/announce/release-5.3.4.rst index 0750a9d40..16801fac1 100644 --- a/doc/en/announce/release-5.3.4.rst +++ b/doc/en/announce/release-5.3.4.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.3.5.rst b/doc/en/announce/release-5.3.5.rst index e632ce853..e36fa806a 100644 --- a/doc/en/announce/release-5.3.5.rst +++ b/doc/en/announce/release-5.3.5.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.4.0.rst b/doc/en/announce/release-5.4.0.rst index 43dffc929..d7cae1d89 100644 --- a/doc/en/announce/release-5.4.0.rst +++ b/doc/en/announce/release-5.4.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bug fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from PyPI via: +As usual, you can upgrade from PyPI via:: pip install -U pytest diff --git a/doc/en/announce/release-5.4.1.rst b/doc/en/announce/release-5.4.1.rst index f6a64efa4..ea33aba68 100644 --- a/doc/en/announce/release-5.4.1.rst +++ b/doc/en/announce/release-5.4.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.4.2.rst b/doc/en/announce/release-5.4.2.rst index d742dd4aa..6870865ed 100644 --- a/doc/en/announce/release-5.4.2.rst +++ b/doc/en/announce/release-5.4.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.4.3.rst b/doc/en/announce/release-5.4.3.rst index 6c995c163..ceb35f361 100644 --- a/doc/en/announce/release-5.4.3.rst +++ b/doc/en/announce/release-5.4.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-6.0.0.rst b/doc/en/announce/release-6.0.0.rst index 9706fe59b..a73a088d0 100644 --- a/doc/en/announce/release-6.0.0.rst +++ b/doc/en/announce/release-6.0.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bug fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - https://docs.pytest.org/en/latest/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/latest/ + :std:doc:`../index` -As usual, you can upgrade from PyPI via: +As usual, you can upgrade from PyPI via:: pip install -U pytest diff --git a/doc/en/announce/release-6.0.0rc1.rst b/doc/en/announce/release-6.0.0rc1.rst index 5690b514b..51f83a441 100644 --- a/doc/en/announce/release-6.0.0rc1.rst +++ b/doc/en/announce/release-6.0.0rc1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/latest/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-6.0.1.rst b/doc/en/announce/release-6.0.1.rst index 33fdbed3f..8ddf5ad70 100644 --- a/doc/en/announce/release-6.0.1.rst +++ b/doc/en/announce/release-6.0.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/latest/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-6.0.2.rst b/doc/en/announce/release-6.0.2.rst index 16eabc586..cf9ed58c0 100644 --- a/doc/en/announce/release-6.0.2.rst +++ b/doc/en/announce/release-6.0.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all of the contributors to this release: diff --git a/doc/en/announce/release-6.1.0.rst b/doc/en/announce/release-6.1.0.rst index f4b571ae8..98cf71346 100644 --- a/doc/en/announce/release-6.1.0.rst +++ b/doc/en/announce/release-6.1.0.rst @@ -6,13 +6,13 @@ The pytest team is proud to announce the 6.1.0 release! This release contains new features, improvements, bug fixes, and breaking changes, so users are encouraged to take a look at the CHANGELOG carefully: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from PyPI via: +As usual, you can upgrade from PyPI via:: pip install -U pytest diff --git a/doc/en/announce/release-6.1.1.rst b/doc/en/announce/release-6.1.1.rst index e09408fde..f13eff5ae 100644 --- a/doc/en/announce/release-6.1.1.rst +++ b/doc/en/announce/release-6.1.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all of the contributors to this release: diff --git a/doc/en/announce/release-6.1.2.rst b/doc/en/announce/release-6.1.2.rst index aa2c80952..87e54fdc8 100644 --- a/doc/en/announce/release-6.1.2.rst +++ b/doc/en/announce/release-6.1.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all of the contributors to this release: diff --git a/doc/en/announce/release-6.2.0.rst b/doc/en/announce/release-6.2.0.rst index af16b830d..353c44c53 100644 --- a/doc/en/announce/release-6.2.0.rst +++ b/doc/en/announce/release-6.2.0.rst @@ -6,13 +6,13 @@ The pytest team is proud to announce the 6.2.0 release! This release contains new features, improvements, bug fixes, and breaking changes, so users are encouraged to take a look at the CHANGELOG carefully: - https://docs.pytest.org/en/stable/changelog.html + :std:doc:`changelog` For complete documentation, please visit: - https://docs.pytest.org/en/stable/ + :std:doc:`../index` -As usual, you can upgrade from PyPI via: +As usual, you can upgrade from PyPI via:: pip install -U pytest diff --git a/doc/en/announce/release-6.2.1.rst b/doc/en/announce/release-6.2.1.rst index f9e716183..ab0d47bb3 100644 --- a/doc/en/announce/release-6.2.1.rst +++ b/doc/en/announce/release-6.2.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all of the contributors to this release: diff --git a/doc/en/announce/release-6.2.2.rst b/doc/en/announce/release-6.2.2.rst index c3999c538..3f3704d5f 100644 --- a/doc/en/announce/release-6.2.2.rst +++ b/doc/en/announce/release-6.2.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all of the contributors to this release: diff --git a/doc/en/announce/release-6.2.3.rst b/doc/en/announce/release-6.2.3.rst index e45aa6a03..a8c6153f8 100644 --- a/doc/en/announce/release-6.2.3.rst +++ b/doc/en/announce/release-6.2.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all of the contributors to this release: diff --git a/doc/en/announce/release-6.2.4.rst b/doc/en/announce/release-6.2.4.rst index fa2e3e781..a74507766 100644 --- a/doc/en/announce/release-6.2.4.rst +++ b/doc/en/announce/release-6.2.4.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all of the contributors to this release: diff --git a/doc/en/announce/release-6.2.5.rst b/doc/en/announce/release-6.2.5.rst index bc6b4cf42..96161c531 100644 --- a/doc/en/announce/release-6.2.5.rst +++ b/doc/en/announce/release-6.2.5.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. +The full changelog is available at :std:doc:`changelog`. Thanks to all of the contributors to this release: diff --git a/doc/en/changelog.rst b/doc/en/changelog.rst index f994c432f..4d4f0cc02 100644 --- a/doc/en/changelog.rst +++ b/doc/en/changelog.rst @@ -295,7 +295,7 @@ Trivial/Internal Changes - `#7802 `_: The ``attrs`` dependency requirement is now >=19.2.0 instead of >=17.4.0. -- `#8014 `_: `.pyc` files created by pytest's assertion rewriting now conform to the newer PEP-552 format on Python>=3.7. +- `#8014 `_: `.pyc` files created by pytest's assertion rewriting now conform to the newer :pep:`552` format on Python>=3.7. (These files are internal and only interpreted by pytest itself.) @@ -352,8 +352,7 @@ Breaking Changes * The ``--result-log`` option has been removed. Users are recommended to use the `pytest-reportlog `__ plugin instead. - For more information consult - `Deprecations and Removals `__ in the docs. + For more information consult :std:doc:`deprecations` in the docs. @@ -544,8 +543,7 @@ Breaking Changes instead of warning messages. **The affected features will be effectively removed in pytest 6.1**, so please consult the - `Deprecations and Removals `__ - section in the docs for directions on how to update existing code. + :std:doc:`deprecations` section in the docs for directions on how to update existing code. In the pytest ``6.0.X`` series, it is possible to change the errors back into warnings as a stopgap measure by adding this to your ``pytest.ini`` file: @@ -750,7 +748,7 @@ Features "integration", ] - More information can be found `in the docs `__. + More information can be found :ref:`in the docs `. - `#3342 `_: pytest now includes inline type annotations and exposes them to user programs. @@ -798,7 +796,7 @@ Features We intend to make ``--import-mode=importlib`` the default in future versions, so users are encouraged to try the new mode and provide feedback (both positive or negative) in issue `#7245 `__. - You can read more about this option in `the documentation `__. + You can read more about this option in :std:ref:`the documentation `. - `#7305 `_: New ``required_plugins`` configuration option allows the user to specify a list of plugins, including version information, that are required for pytest to run. An error is raised if any required plugins are not found when running pytest. @@ -1256,7 +1254,7 @@ Bug Fixes - `#6497 `_: Fix bug in the comparison of request key with cached key in fixture. - A construct ``if key == cached_key:`` can fail either because ``==`` is explicitly disallowed, or for, e.g., NumPy arrays, where the result of ``a == b`` cannot generally be converted to `bool`. + A construct ``if key == cached_key:`` can fail either because ``==`` is explicitly disallowed, or for, e.g., NumPy arrays, where the result of ``a == b`` cannot generally be converted to :class:`bool`. The implemented fix replaces `==` with ``is``. @@ -1423,7 +1421,7 @@ Deprecations In order to smooth the transition, pytest will issue a warning in case the ``--junitxml`` option is given in the command line but :confval:`junit_family` is not explicitly configured in ``pytest.ini``. - For more information, `see the docs `__. + For more information, :ref:`see the docs `. @@ -1690,7 +1688,7 @@ Features - `#1682 `_: The ``scope`` parameter of ``@pytest.fixture`` can now be a callable that receives the fixture name and the ``config`` object as keyword-only parameters. - See `the docs `__ for more information. + See :ref:`the docs ` for more information. - `#5764 `_: New behavior of the ``--pastebin`` option: failures to connect to the pastebin server are reported, without failing the pytest run @@ -1794,8 +1792,7 @@ Removals * ``request`` is now a reserved name for fixtures. - For more information consult - `Deprecations and Removals `__ in the docs. + For more information consult :std:doc:`deprecations` in the docs. - `#5565 `_: Removed unused support code for `unittest2 `__. @@ -1829,7 +1826,7 @@ Features - `#5564 `_: New ``Config.invocation_args`` attribute containing the unchanged arguments passed to ``pytest.main()``. -- `#5576 `_: New `NUMBER `__ +- `#5576 `_: New :ref:`NUMBER ` option for doctests to ignore irrelevant differences in floating-point numbers. Inspired by Sébastien Boisgérault's `numtest `__ extension for doctest. @@ -1949,7 +1946,7 @@ Important This release is a Python3.5+ only release. -For more details, see our `Python 2.7 and 3.4 support plan `__. +For more details, see our :std:doc:`Python 2.7 and 3.4 support plan `. Removals -------- @@ -1970,8 +1967,7 @@ Removals instead of warning messages. **The affected features will be effectively removed in pytest 5.1**, so please consult the - `Deprecations and Removals `__ - section in the docs for directions on how to update existing code. + :std:doc:`deprecations` section in the docs for directions on how to update existing code. In the pytest ``5.0.X`` series, it is possible to change the errors back into warnings as a stop gap measure by adding this to your ``pytest.ini`` file: @@ -2026,7 +2022,7 @@ Deprecations Features -------- -- `#3457 `_: New `pytest_assertion_pass `__ +- `#3457 `_: New :func:`~_pytest.hookspec.pytest_assertion_pass` hook, called with context information when an assertion *passes*. This hook is still **experimental** so use it with caution. @@ -2039,7 +2035,7 @@ Features `pytest-faulthandler `__ plugin into the core, so users should remove that plugin from their requirements if used. - For more information see the docs: https://docs.pytest.org/en/stable/how-to/failures.html#fault-handler + For more information see the docs: :ref:`faulthandler`. - `#5452 `_: When warnings are configured as errors, pytest warnings now appear as originating from ``pytest.`` instead of the internal ``_pytest.warning_types.`` module. @@ -2063,7 +2059,7 @@ Bug Fixes to avoid stale caches. -- `#2761 `_: Honor PEP 235 on case-insensitive file systems. +- `#2761 `_: Honor :pep:`235` on case-insensitive file systems. - `#5078 `_: Test module is no longer double-imported when using ``--pyargs``. @@ -2174,7 +2170,7 @@ Features - `#6870 `_: New ``Config.invocation_args`` attribute containing the unchanged arguments passed to ``pytest.main()``. - Remark: while this is technically a new feature and according to our `policy `_ it should not have been backported, we have opened an exception in this particular case because it fixes a serious interaction with ``pytest-xdist``, so it can also be considered a bugfix. + Remark: while this is technically a new feature and according to our :ref:`policy ` it should not have been backported, we have opened an exception in this particular case because it fixes a serious interaction with ``pytest-xdist``, so it can also be considered a bugfix. Trivial/Internal Changes ------------------------ @@ -2346,7 +2342,7 @@ Important The ``4.6.X`` series will be the last series to support **Python 2 and Python 3.4**. -For more details, see our `Python 2.7 and 3.4 support plan `__. +For more details, see our :std:doc:`Python 2.7 and 3.4 support plan `. Features @@ -2432,12 +2428,10 @@ Features - `#5013 `_: Messages from crash reports are displayed within test summaries now, truncated to the terminal width. -- `#5023 `_: New flag ``--strict-markers`` that triggers an error when unknown markers (e.g. those not registered using the `markers option`_ in the configuration file) are used in the test suite. +- `#5023 `_: New flag ``--strict-markers`` that triggers an error when unknown markers (e.g. those not registered using the :confval:`markers` option in the configuration file) are used in the test suite. The existing ``--strict`` option has the same behavior currently, but can be augmented in the future for additional checks. - .. _`markers option`: https://docs.pytest.org/en/stable/reference/reference.html#confval-markers - - `#5026 `_: Assertion failure messages for sequences and dicts contain the number of different items now. @@ -2493,7 +2487,7 @@ Features CRITICAL root:test_log_cli_enabled_disabled.py:3 critical message logged by test - The formatting can be changed through the `log_format `__ configuration option. + The formatting can be changed through the :confval:`log_format` configuration option. - `#5220 `_: ``--fixtures`` now also shows fixture scope for scopes other than ``"function"``. @@ -2629,7 +2623,7 @@ Features .. _pdb++: https://pypi.org/project/pdbpp/ -- `#4875 `_: The `testpaths `__ configuration option is now displayed next +- `#4875 `_: The :confval:`testpaths` configuration option is now displayed next to the ``rootdir`` and ``inifile`` lines in the pytest header if the option is in effect, i.e., directories or file names were not explicitly passed in the command line. @@ -2884,7 +2878,7 @@ pytest 4.2.0 (2019-01-30) Features -------- -- `#3094 `_: `Classic xunit-style `__ functions and methods +- `#3094 `_: :doc:`Classic xunit-style ` functions and methods now obey the scope of *autouse* fixtures. This fixes a number of surprising issues like ``setup_method`` being called before session-scoped @@ -2950,7 +2944,7 @@ Trivial/Internal Changes - `#4643 `_: Use ``a.item()`` instead of the deprecated ``np.asscalar(a)`` in ``pytest.approx``. - ``np.asscalar`` has been `deprecated `__ in ``numpy 1.16.``. + ``np.asscalar`` has been :doc:`deprecated ` in ``numpy 1.16.``. - `#4657 `_: Copy saferepr from pylib @@ -3002,27 +2996,27 @@ Removals - `#3078 `_: Remove legacy internal warnings system: ``config.warn``, ``Node.warn``. The ``pytest_logwarning`` now issues a warning when implemented. - See our `docs `__ on information on how to update your code. + See our :ref:`docs ` on information on how to update your code. - `#3079 `_: Removed support for yield tests - they are fundamentally broken because they don't support fixtures properly since collection and test execution were separated. - See our `docs `__ on information on how to update your code. + See our :ref:`docs ` on information on how to update your code. - `#3082 `_: Removed support for applying marks directly to values in ``@pytest.mark.parametrize``. Use ``pytest.param`` instead. - See our `docs `__ on information on how to update your code. + See our :ref:`docs ` on information on how to update your code. - `#3083 `_: Removed ``Metafunc.addcall``. This was the predecessor mechanism to ``@pytest.mark.parametrize``. - See our `docs `__ on information on how to update your code. + See our :ref:`docs ` on information on how to update your code. - `#3085 `_: Removed support for passing strings to ``pytest.main``. Now, always pass a list of strings instead. - See our `docs `__ on information on how to update your code. + See our :ref:`docs ` on information on how to update your code. - `#3086 `_: ``[pytest]`` section in **setup.cfg** files is no longer supported, use ``[tool:pytest]`` instead. ``setup.cfg`` files @@ -3033,17 +3027,17 @@ Removals - `#3616 `_: Removed the deprecated compat properties for ``node.Class/Function/Module`` - use ``pytest.Class/Function/Module`` now. - See our `docs `__ on information on how to update your code. + See our :ref:`docs ` on information on how to update your code. - `#4421 `_: Removed the implementation of the ``pytest_namespace`` hook. - See our `docs `__ on information on how to update your code. + See our :ref:`docs ` on information on how to update your code. - `#4489 `_: Removed ``request.cached_setup``. This was the predecessor mechanism to modern fixtures. - See our `docs `__ on information on how to update your code. + See our :ref:`docs ` on information on how to update your code. - `#4535 `_: Removed the deprecated ``PyCollector.makeitem`` method. This method was made public by mistake a long time ago. @@ -3051,12 +3045,12 @@ Removals - `#4543 `_: Removed support to define fixtures using the ``pytest_funcarg__`` prefix. Use the ``@pytest.fixture`` decorator instead. - See our `docs `__ on information on how to update your code. + See our :ref:`docs ` on information on how to update your code. - `#4545 `_: Calling fixtures directly is now always an error instead of a warning. - See our `docs `__ on information on how to update your code. + See our :ref:`docs ` on information on how to update your code. - `#4546 `_: Remove ``Node.get_marker(name)`` the return value was not usable for more than a existence check. @@ -3066,12 +3060,12 @@ Removals - `#4547 `_: The deprecated ``record_xml_property`` fixture has been removed, use the more generic ``record_property`` instead. - See our `docs `__ for more information. + See our :ref:`docs ` for more information. - `#4548 `_: An error is now raised if the ``pytest_plugins`` variable is defined in a non-top-level ``conftest.py`` file (i.e., not residing in the ``rootdir``). - See our `docs `__ for more information. + See our :ref:`docs ` for more information. - `#891 `_: Remove ``testfunction.markername`` attributes - use ``Node.iter_markers(name=None)`` to iterate them. @@ -3083,7 +3077,7 @@ Deprecations - `#3050 `_: Deprecated the ``pytest.config`` global. - See https://docs.pytest.org/en/stable/deprecations.html#pytest-config-global for rationale. + See :ref:`pytest.config global deprecated` for rationale. - `#3974 `_: Passing the ``message`` parameter of ``pytest.raises`` now issues a ``DeprecationWarning``. @@ -3098,7 +3092,7 @@ Deprecations - `#4435 `_: Deprecated ``raises(..., 'code(as_a_string)')`` and ``warns(..., 'code(as_a_string)')``. - See https://docs.pytest.org/en/stable/deprecations.html#raises-warns-exec for rationale and examples. + See :std:ref:`raises-warns-exec` for rationale and examples. @@ -3292,8 +3286,7 @@ Removals instead of warning messages. **The affected features will be effectively removed in pytest 4.1**, so please consult the - `Deprecations and Removals `__ - section in the docs for directions on how to update existing code. + :std:doc:`deprecations` section in the docs for directions on how to update existing code. In the pytest ``4.0.X`` series, it is possible to change the errors back into warnings as a stop gap measure by adding this to your ``pytest.ini`` file: @@ -3392,7 +3385,7 @@ Features existing ``pytest_enter_pdb`` hook. -- `#4147 `_: Add ``--sw``, ``--stepwise`` as an alternative to ``--lf -x`` for stopping at the first failure, but starting the next test invocation from that test. See `the documentation `__ for more info. +- `#4147 `_: Add ``--sw``, ``--stepwise`` as an alternative to ``--lf -x`` for stopping at the first failure, but starting the next test invocation from that test. See :ref:`the documentation ` for more info. - `#4188 `_: Make ``--color`` emit colorful dots when not running in verbose mode. Earlier, it would only colorize the test-by-test output if ``--verbose`` was also passed. @@ -3544,7 +3537,7 @@ Deprecations Users should just ``import pytest`` and access those objects using the ``pytest`` module. * ``request.cached_setup``, this was the precursor of the setup/teardown mechanism available to fixtures. You can - consult `funcarg comparison section in the docs `_. + consult :std:doc:`funcarg comparison section in the docs `. * Using objects named ``"Class"`` as a way to customize the type of nodes that are collected in ``Collector`` subclasses has been deprecated. Users instead should use ``pytest_collect_make_item`` to customize node types during @@ -3757,7 +3750,7 @@ Bug Fixes Improved Documentation ---------------------- -- `#3996 `_: New `Deprecations and Removals `_ page shows all currently +- `#3996 `_: New :std:doc:`deprecations` page shows all currently deprecated features, the rationale to do so, and alternatives to update your code. It also list features removed from pytest in past major releases to help those with ancient pytest versions to upgrade. @@ -3779,7 +3772,7 @@ Deprecations and Removals ------------------------- - `#2452 `_: ``Config.warn`` and ``Node.warn`` have been - deprecated, see ``_ for rationale and + deprecated, see :ref:`config.warn and node.warn deprecated` for rationale and examples. - `#3936 `_: ``@pytest.mark.filterwarnings`` second parameter is no longer regex-escaped, @@ -3797,13 +3790,13 @@ Features the standard warnings filters to manage those warnings. This introduces ``PytestWarning``, ``PytestDeprecationWarning`` and ``RemovedInPytest4Warning`` warning types as part of the public API. - Consult `the documentation `__ for more info. + Consult :ref:`the documentation ` for more info. - `#2908 `_: ``DeprecationWarning`` and ``PendingDeprecationWarning`` are now shown by default if no other warning filter is configured. This makes pytest more compliant with - `PEP-0506 `_. See - `the docs `_ for + :pep:`506#recommended-filter-settings-for-test-runners`. See + :ref:`the docs ` for more info. @@ -3997,10 +3990,10 @@ pytest 3.7.0 (2018-07-30) Deprecations and Removals ------------------------- -- `#2639 `_: ``pytest_namespace`` has been `deprecated `_. +- `#2639 `_: ``pytest_namespace`` has been :ref:`deprecated `. -- `#3661 `_: Calling a fixture function directly, as opposed to request them in a test function, now issues a ``RemovedInPytest4Warning``. See `the documentation for rationale and examples `_. +- `#3661 `_: Calling a fixture function directly, as opposed to request them in a test function, now issues a ``RemovedInPytest4Warning``. See :ref:`the documentation for rationale and examples `. @@ -4223,10 +4216,9 @@ Features node handling which fixes a number of long standing bugs caused by the old design. This introduces new ``Node.iter_markers(name)`` and ``Node.get_closest_marker(name)`` APIs. Users are **strongly encouraged** to - read the `reasons for the revamp in the docs - `_, - or jump over to details about `updating existing code to use the new APIs - `_. + read the :ref:`reasons for the revamp in the docs `, + or jump over to details about :ref:`updating existing code to use the new APIs + `. (`#3317 `_) - Now when ``@pytest.fixture`` is applied more than once to the same function a @@ -4234,9 +4226,8 @@ Features and if was working for a test suite it was mostly by accident. (`#2334 `_) -- Support for Python 3.7's builtin ``breakpoint()`` method, see `Using the - builtin breakpoint function - `_ for +- Support for Python 3.7's builtin ``breakpoint()`` method, see + :ref:`Using the builtin breakpoint function ` for details. (`#3180 `_) - ``monkeypatch`` now supports a ``context()`` function which acts as a context @@ -4362,8 +4353,9 @@ Deprecations and Removals `_) - Defining ``pytest_plugins`` is now deprecated in non-top-level conftest.py - files, because they "leak" to the entire directory tree. `See the docs `_ for the rationale behind this decision (`#3084 - `_) + files, because they "leak" to the entire directory tree. + :ref:`See the docs ` + for the rationale behind this decision (`#3084 `_) Features @@ -4375,8 +4367,7 @@ Features `_) - New ``--rootdir`` command-line option to override the rules for discovering - the root directory. See `customize - `_ in the documentation for + the root directory. See :doc:`customize ` in the documentation for details. (`#1642 `_) - Fixtures are now instantiated based on their scopes, with higher-scoped @@ -4463,7 +4454,7 @@ Bug Fixes Improved Documentation ---------------------- -- Added a `reference `_ page +- Added a :doc:`reference ` page to the docs. (`#1713 `_) @@ -4622,21 +4613,17 @@ Features less error prone. (`#2527 `_) -- **Incompatible change**: after community feedback the `logging - `_ functionality has - undergone some changes. Please consult the `logging documentation - `_ +- **Incompatible change**: after community feedback the :doc:`logging ` functionality has + undergone some changes. Please consult the :ref:`logging documentation ` for details. (`#3013 `_) - Console output falls back to "classic" mode when capturing is disabled (``-s``), otherwise the output gets garbled to the point of being useless. (`#3038 `_) -- New `pytest_runtest_logfinish - `_ +- New :func:`~_pytest.hookspec.pytest_runtest_logfinish` hook which is called when a test item has finished executing, analogous to - `pytest_runtest_logstart - `_. + :func:`~_pytest.hookspec.pytest_runtest_logstart`. (`#3101 `_) - Improve performance when collecting tests using many fixtures. (`#3107 @@ -4877,8 +4864,7 @@ Features in ``pytest.ini``, the command line and also during individual tests using markers. Also, a ``caplog`` fixture is available that enables users to test the captured log during specific tests (similar to ``capsys`` for example). - For more information, please see the `logging docs - `_. This feature was + For more information, please see the :doc:`logging docs `. This feature was introduced by merging the popular `pytest-catchlog `_ plugin, thanks to `Thomas Hisch `_. Be advised that during the merging the @@ -5173,8 +5159,7 @@ Deprecations and Removals ------------------------- - ``pytest.approx`` no longer supports ``>``, ``>=``, ``<`` and ``<=`` - operators to avoid surprising/inconsistent behavior. See `the approx docs - `_ for more + operators to avoid surprising/inconsistent behavior. See the :func:`~pytest.approx` docs for more information. (`#2003 `_) - All old-style specific behavior in current classes in the pytest's API is @@ -5219,16 +5204,13 @@ Features - Introduce the ``PYTEST_CURRENT_TEST`` environment variable that is set with the ``nodeid`` and stage (``setup``, ``call`` and ``teardown``) of the test - being currently executed. See the `documentation - `_ for more info. (`#2583 ` + for more info. (`#2583 `_) - Introduced ``@pytest.mark.filterwarnings`` mark which allows overwriting the - warnings filter on a per test, class or module level. See the `docs - `_ for more information. (`#2598 `_) + warnings filter on a per test, class or module level. See the :ref:`docs ` + for more information. (`#2598 `_) - ``--last-failed`` now remembers forever when a test has failed and only forgets it if it passes again. This makes it easy to fix a test suite by @@ -5239,7 +5221,7 @@ Features messages to the terminal reporting after collection has been finished successfully. (`#2622 `_) -- Added support for `PEP-415's `_ +- Added support for :pep:`415`\'s ``Exception.__suppress_context__``. Now if a ``raise exception from None`` is caught by pytest, pytest will no longer chain the context in the test report. The behavior now matches Python's traceback behavior. (`#2631 @@ -5456,7 +5438,7 @@ New Features [pytest] addopts = -p no:warnings - See the `warnings documentation page `_ for more + See the :doc:`warnings documentation page ` for more information. Thanks `@nicoddemus`_ for the PR. @@ -5625,7 +5607,7 @@ Bug Fixes * ``--override-ini`` now correctly overrides some fundamental options like ``python_files`` (`#2238`_). Thanks `@sirex`_ for the report and `@nicoddemus`_ for the PR. -* Replace ``raise StopIteration`` usages in the code by simple ``returns`` to finish generators, in accordance to `PEP-479`_ (`#2160`_). +* Replace ``raise StopIteration`` usages in the code by simple ``returns`` to finish generators, in accordance to :pep:`479` (`#2160`_). Thanks to `@nicoddemus`_ for the PR. * Fix internal errors when an unprintable ``AssertionError`` is raised inside a test. @@ -5659,8 +5641,6 @@ Bug Fixes .. _#2238: https://github.com/pytest-dev/pytest/issues/2238 .. _#2281: https://github.com/pytest-dev/pytest/issues/2281 -.. _PEP-479: https://www.python.org/dev/peps/pep-0479/ - 3.0.6 (2017-01-22) ================== @@ -5938,6 +5918,7 @@ Bug Fixes .. _#1832: https://github.com/pytest-dev/pytest/issues/1832 .. _#1849: https://github.com/pytest-dev/pytest/issues/1849 +.. _release-3.0.0: 3.0.0 (2016-08-18) ================== @@ -6523,14 +6504,13 @@ time or change existing behaviors in order to make them less surprising/more use * Fix formatting utf-8 explanation messages (`#1379`_). Thanks `@biern`_ for the PR. -* Fix `traceback style docs`_ to describe all of the available options +* Fix :ref:`traceback style docs ` to describe all of the available options (auto/long/short/line/native/no), with ``auto`` being the default since v2.6. Thanks `@hackebrot`_ for the PR. * Fix (`#1422`_): junit record_xml_property doesn't allow multiple records with same name. -.. _`traceback style docs`: https://docs.pytest.org/en/stable/how-to/output.html#modifying-python-traceback-printing .. _#1609: https://github.com/pytest-dev/pytest/issues/1609 .. _#1422: https://github.com/pytest-dev/pytest/issues/1422 @@ -6796,7 +6776,7 @@ time or change existing behaviors in order to make them less surprising/more use Thanks Bruno Oliveira for the PR. - fix issue808: pytest's internal assertion rewrite hook now implements the - optional PEP302 get_data API so tests can access data files next to them. + optional :pep:`302` get_data API so tests can access data files next to them. Thanks xmo-odoo for request and example and Bruno Oliveira for the PR. @@ -7404,7 +7384,7 @@ time or change existing behaviors in order to make them less surprising/more use - close issue240 - document precisely how pytest module importing works, discuss the two common test directory layouts, and how it - interacts with PEP420-namespace packages. + interacts with :pep:`420`\-namespace packages. - fix issue246 fix finalizer order to be LIFO on independent fixtures depending on a parametrized higher-than-function scoped fixture. @@ -7464,7 +7444,7 @@ time or change existing behaviors in order to make them less surprising/more use (it already did neutralize pytest.mark.xfail markers) - refine pytest / pkg_resources interactions: The AssertionRewritingHook - PEP302 compliant loader now registers itself with setuptools/pkg_resources + :pep:`302` compliant loader now registers itself with setuptools/pkg_resources properly so that the pkg_resources.resource_stream method works properly. Fixes issue366. Thanks for the investigations and full PR to Jason R. Coombs. diff --git a/doc/en/conf.py b/doc/en/conf.py index 70b9c93fe..61f9dd5d5 100644 --- a/doc/en/conf.py +++ b/doc/en/conf.py @@ -123,7 +123,6 @@ pygments_style = "sphinx" # A list of regular expressions that match URIs that should not be checked when # doing a linkcheck. linkcheck_ignore = [ - "https://github.com/numpy/numpy/blob/master/doc/release/1.16.0-notes.rst#new-deprecations", "https://blogs.msdn.microsoft.com/bharry/2017/06/28/testing-in-a-cloud-delivery-cadence/", "http://pythontesting.net/framework/pytest-introduction/", r"https://github.com/pytest-dev/pytest/issues/\d+", @@ -350,6 +349,7 @@ texinfo_documents = [ intersphinx_mapping = { "pluggy": ("https://pluggy.readthedocs.io/en/stable", None), "python": ("https://docs.python.org/3", None), + "numpy": ("https://numpy.org/doc/stable", None), } diff --git a/doc/en/deprecations.rst b/doc/en/deprecations.rst index 95c2a8869..775bc1958 100644 --- a/doc/en/deprecations.rst +++ b/doc/en/deprecations.rst @@ -171,6 +171,7 @@ A ``--show-capture`` command-line option was added in ``pytest 3.5.0`` which all display captured output when tests fail: ``no``, ``stdout``, ``stderr``, ``log`` or ``all`` (the default). +.. _resultlog deprecated: Result log (``--result-log``) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -208,6 +209,8 @@ with ``py.io.TerminalWriter``. Plugins that used ``TerminalReporter.writer`` directly should instead use ``TerminalReporter`` methods that provide the same functionality. +.. _junit-family changed default value: + ``junit_family`` default value change to "xunit2" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -295,6 +298,8 @@ in places where we or plugin authors must distinguish between fixture names and names supplied by non-fixture things such as ``pytest.mark.parametrize``. +.. _pytest.config global deprecated: + ``pytest.config`` global ~~~~~~~~~~~~~~~~~~~~~~~~ @@ -392,6 +397,8 @@ This issue should affect only advanced plugins who create new collection types, message please contact the authors so they can change the code. +.. _marks in pytest.parametrize deprecated: + marks in ``pytest.mark.parametrize`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -440,6 +447,8 @@ To update the code, use ``pytest.param``: ... +.. _pytest_funcarg__ prefix deprecated: + ``pytest_funcarg__`` prefix ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -471,6 +480,8 @@ Switch over to the ``@pytest.fixture`` decorator: to avoid conflicts with other distutils commands. +.. _metafunc.addcall deprecated: + Metafunc.addcall ~~~~~~~~~~~~~~~~ @@ -495,6 +506,8 @@ Becomes: metafunc.parametrize("i", [1, 2], ids=["1", "2"]) +.. _cached_setup deprecated: + ``cached_setup`` ~~~~~~~~~~~~~~~~ @@ -523,10 +536,12 @@ This should be updated to make use of standard fixture mechanisms: session.close() -You can consult `funcarg comparison section in the docs `_ for +You can consult :std:doc:`funcarg comparison section in the docs ` for more information. +.. _pytest_plugins in non-top-level conftest files deprecated: + pytest_plugins in non-top-level conftest files ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -537,6 +552,8 @@ files because they will activate referenced plugins *globally*, which is surpris features ``conftest.py`` files are only *active* for tests at or below it. +.. _config.warn and node.warn deprecated: + ``Config.warn`` and ``Node.warn`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -564,6 +581,8 @@ Becomes: * ``node.warn("CI", "some message")``: this code/message form has been **removed** and should be converted to the warning instance form above. +.. _record_xml_property deprecated: + record_xml_property ~~~~~~~~~~~~~~~~~~~ @@ -587,6 +606,8 @@ Change to: ... +.. _passing command-line string to pytest.main deprecated: + Passing command-line string to ``pytest.main()`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -609,6 +630,8 @@ By passing a string, users expect that pytest will interpret that command-line u on (for example ``bash`` or ``Powershell``), but this is very hard/impossible to do in a portable way. +.. _calling fixtures directly deprecated: + Calling fixtures directly ~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -662,6 +685,8 @@ with the ``name`` parameter: return cell() +.. _yield tests deprecated: + ``yield`` tests ~~~~~~~~~~~~~~~ @@ -690,6 +715,8 @@ This form of test function doesn't support fixtures properly, and users should s def test_squared(x, y): assert x ** x == y +.. _internal classes accessed through node deprecated: + Internal classes accessed through ``Node`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -724,6 +751,8 @@ As part of a large :ref:`marker-revamp` we already deprecated using ``MarkInfo`` the only correct way to get markers of an element is via ``node.iter_markers(name)``. +.. _pytest.namespace deprecated: + ``pytest_namespace`` ~~~~~~~~~~~~~~~~~~~~ diff --git a/doc/en/explanation/flaky.rst b/doc/en/explanation/flaky.rst index 8788fd5bd..50121c7a7 100644 --- a/doc/en/explanation/flaky.rst +++ b/doc/en/explanation/flaky.rst @@ -28,7 +28,7 @@ Flaky tests sometimes appear when a test suite is run in parallel (such as use o Overly strict assertion ~~~~~~~~~~~~~~~~~~~~~~~ -Overly strict assertions can cause problems with floating point comparison as well as timing issues. `pytest.approx `_ is useful here. +Overly strict assertions can cause problems with floating point comparison as well as timing issues. :func:`pytest.approx` is useful here. Pytest features diff --git a/doc/en/funcarg_compare.rst b/doc/en/funcarg_compare.rst index 0f44d1da0..3bf4527cf 100644 --- a/doc/en/funcarg_compare.rst +++ b/doc/en/funcarg_compare.rst @@ -7,7 +7,7 @@ pytest-2.3: reasoning for fixture/funcarg evolution **Target audience**: Reading this document requires basic knowledge of python testing, xUnit setup methods and the (previous) basic pytest -funcarg mechanism, see https://docs.pytest.org/en/stable/historical-notes.html#funcargs-and-pytest-funcarg. +funcarg mechanism, see :ref:`historical funcargs and pytest.funcargs`. If you are new to pytest, then you can simply ignore this section and read the other sections. diff --git a/doc/en/getting-started.rst b/doc/en/getting-started.rst index bb41a2f1c..e06b0cd8f 100644 --- a/doc/en/getting-started.rst +++ b/doc/en/getting-started.rst @@ -203,7 +203,7 @@ Note that attributes added at class level are *class attributes*, so they will b Request a unique temporary directory for functional tests -------------------------------------------------------------- -``pytest`` provides `Builtin fixtures/function arguments `_ to request arbitrary resources, like a unique temporary directory: +``pytest`` provides :std:doc:`Builtin fixtures/function arguments ` to request arbitrary resources, like a unique temporary directory: .. code-block:: python diff --git a/doc/en/historical-notes.rst b/doc/en/historical-notes.rst index 4f8722c1c..3bfb81e4c 100644 --- a/doc/en/historical-notes.rst +++ b/doc/en/historical-notes.rst @@ -125,6 +125,7 @@ as a third party plugin named ``pytest-cache``. The core plugin is compatible regarding command line options and API usage except that you can only store/receive data between test runs that is json-serializable. +.. _historical funcargs and pytest.funcargs: funcargs and ``pytest_funcarg__`` --------------------------------- diff --git a/doc/en/history.rst b/doc/en/history.rst index 98be1b9db..259679422 100644 --- a/doc/en/history.rst +++ b/doc/en/history.rst @@ -136,8 +136,7 @@ project: released `__ as a package separate from ``py`` (but still called ``py.test``). -- In August 2016, pytest 3.0.0 `was - released `__, +- In August 2016, pytest 3.0.0 :std:ref:`was released `, which adds ``pytest`` (rather than ``py.test``) as the recommended command-line entry point diff --git a/doc/en/how-to/assert.rst b/doc/en/how-to/assert.rst index 0aa4980f1..587ff1243 100644 --- a/doc/en/how-to/assert.rst +++ b/doc/en/how-to/assert.rst @@ -297,7 +297,7 @@ modules directly discovered by its test collection process, so **asserts in supporting modules which are not themselves test modules will not be rewritten**. You can manually enable assertion rewriting for an imported module by calling -`register_assert_rewrite `_ +:ref:`register_assert_rewrite ` before you import it (a good place to do that is in your root ``conftest.py``). For further information, Benjamin Peterson wrote up `Behind the scenes of pytest's new assertion rewriting `_. diff --git a/doc/en/how-to/cache.rst b/doc/en/how-to/cache.rst index 45dc81c21..eee4cc027 100644 --- a/doc/en/how-to/cache.rst +++ b/doc/en/how-to/cache.rst @@ -383,6 +383,8 @@ servers where isolation and correctness is more important than speed. +.. _cache stepwise: + Stepwise -------- diff --git a/doc/en/how-to/capture-warnings.rst b/doc/en/how-to/capture-warnings.rst index 9ac7c2a33..68677b25c 100644 --- a/doc/en/how-to/capture-warnings.rst +++ b/doc/en/how-to/capture-warnings.rst @@ -172,7 +172,7 @@ DeprecationWarning and PendingDeprecationWarning By default pytest will display ``DeprecationWarning`` and ``PendingDeprecationWarning`` warnings from -user code and third-party libraries, as recommended by `PEP-0565 `_. +user code and third-party libraries, as recommended by :pep:`565`. This helps users keep their code modern and avoid breakages when deprecated warnings are effectively removed. Sometimes it is useful to hide some specific deprecation warnings that happen in code that you have no control over @@ -197,7 +197,7 @@ the regular expression ``".*U.*mode is deprecated"``. the :envvar:`python:PYTHONWARNINGS` environment variable or the ``-W`` command-line option, pytest will not configure any filters by default. - Also pytest doesn't follow ``PEP-0506`` suggestion of resetting all warning filters because + Also pytest doesn't follow :pep:`506` suggestion of resetting all warning filters because it might break test suites that configure warning filters themselves by calling :func:`warnings.simplefilter` (see issue `#2430 `_ for an example of that). diff --git a/doc/en/how-to/doctest.rst b/doc/en/how-to/doctest.rst index 80f1ee0d8..e2d7e5d9a 100644 --- a/doc/en/how-to/doctest.rst +++ b/doc/en/how-to/doctest.rst @@ -92,6 +92,8 @@ that will be used for those doctest files using the [pytest] doctest_encoding = latin1 +.. _using doctest options: + Using 'doctest' options ----------------------- diff --git a/doc/en/how-to/output.rst b/doc/en/how-to/output.rst index 91cfe2603..ab9da9fae 100644 --- a/doc/en/how-to/output.rst +++ b/doc/en/how-to/output.rst @@ -3,6 +3,8 @@ Managing pytest's output ========================= +.. _how-to-modifying-python-tb-printing: + Modifying Python traceback printing -------------------------------------------------- @@ -466,8 +468,7 @@ by the `PyPy-test`_ web page to show test results over several revisions. If you use this option, consider using the new `pytest-reportlog `__ plugin instead. - See `the deprecation docs `__ - for more information. + See :ref:`the deprecation docs ` for more information. .. _`PyPy-test`: http://buildbot.pypy.org/summary diff --git a/doc/en/how-to/unittest.rst b/doc/en/how-to/unittest.rst index eb2c72e77..7832662fd 100644 --- a/doc/en/how-to/unittest.rst +++ b/doc/en/how-to/unittest.rst @@ -27,7 +27,7 @@ Almost all ``unittest`` features are supported: * ``setUpClass/tearDownClass``; * ``setUpModule/tearDownModule``; -.. _`load_tests protocol`: https://docs.python.org/3/library/how-to/unittest.html#load-tests-protocol +.. _`load_tests protocol`: https://docs.python.org/3/library/unittest.html#load-tests-protocol Up to this point pytest does not have support for the following features: diff --git a/doc/en/py27-py34-deprecation.rst b/doc/en/py27-py34-deprecation.rst index f23f2062b..7c1373cee 100644 --- a/doc/en/py27-py34-deprecation.rst +++ b/doc/en/py27-py34-deprecation.rst @@ -8,10 +8,10 @@ features only made possible on newer Python versions. In case of Python 2 and 3, the difference between the languages makes it even more prominent, because many new Python 3 features cannot be used in a Python 2/3 compatible code base. -Python 2.7 EOL has been reached `in 2020 `__, with +Python 2.7 EOL has been reached :pep:`in 2020 <0373#maintenance-releases>`, with the last release made in April, 2020. -Python 3.4 EOL has been reached `in 2019 `__, with the last release made in March, 2019. +Python 3.4 EOL has been reached :pep:`in 2019 <0429#release-schedule>`, with the last release made in March, 2019. For those reasons, in Jun 2019 it was decided that **pytest 4.6** series will be the last to support Python 2.7 and 3.4. @@ -47,6 +47,8 @@ Technical aspects In this section we describe the technical aspects of the Python 2.7 and 3.4 support plan. +.. _what goes into 4.6.x releases: + What goes into 4.6.X releases +++++++++++++++++++++++++++++ diff --git a/src/_pytest/outcomes.py b/src/_pytest/outcomes.py index 5dab12174..00ffe2b45 100644 --- a/src/_pytest/outcomes.py +++ b/src/_pytest/outcomes.py @@ -136,8 +136,7 @@ def skip(msg: str = "", *, allow_module_level: bool = False) -> "NoReturn": It is better to use the :ref:`pytest.mark.skipif ref` marker when possible to declare a test to be skipped under certain conditions like mismatching platforms or dependencies. - Similarly, use the ``# doctest: +SKIP`` directive (see `doctest.SKIP - `_) + Similarly, use the ``# doctest: +SKIP`` directive (see :py:data:`doctest.SKIP`) to skip a doctest statically. """ __tracebackhide__ = True diff --git a/src/_pytest/python_api.py b/src/_pytest/python_api.py index 735b016c5..26f78c66a 100644 --- a/src/_pytest/python_api.py +++ b/src/_pytest/python_api.py @@ -518,14 +518,12 @@ def approx(expected, rel=None, abs=None, nan_ok: bool = False) -> ApproxBase: """Assert that two numbers (or two sets of numbers) are equal to each other within some tolerance. - Due to the `intricacies of floating-point arithmetic`__, numbers that we + Due to the :std:doc:`tutorial/floatingpoint`, numbers that we would intuitively expect to be equal are not always so:: >>> 0.1 + 0.2 == 0.3 False - __ https://docs.python.org/3/tutorial/floatingpoint.html - This problem is commonly encountered when writing tests, e.g. when making sure that floating-point values are what you expect them to be. One way to deal with this problem is to assert that two floating-point numbers are @@ -630,26 +628,22 @@ def approx(expected, rel=None, abs=None, nan_ok: bool = False) -> ApproxBase: both ``a`` and ``b``, this test is symmetric (i.e. neither ``a`` nor ``b`` is a "reference value"). You have to specify an absolute tolerance if you want to compare to ``0.0`` because there is no tolerance by - default. `More information...`__ - - __ https://docs.python.org/3/library/math.html#math.isclose + default. More information: :py:func:`math.isclose`. - ``numpy.isclose(a, b, rtol=1e-5, atol=1e-8)``: True if the difference between ``a`` and ``b`` is less that the sum of the relative tolerance w.r.t. ``b`` and the absolute tolerance. Because the relative tolerance is only calculated w.r.t. ``b``, this test is asymmetric and you can think of ``b`` as the reference value. Support for comparing sequences - is provided by ``numpy.allclose``. `More information...`__ - - __ https://numpy.org/doc/stable/reference/generated/numpy.isclose.html + is provided by :py:func:`numpy.allclose`. More information: + :std:doc:`numpy:reference/generated/numpy.isclose`. - ``unittest.TestCase.assertAlmostEqual(a, b)``: True if ``a`` and ``b`` are within an absolute tolerance of ``1e-7``. No relative tolerance is considered , so this function is not appropriate for very large or very small numbers. Also, it's only available in subclasses of ``unittest.TestCase`` - and it's ugly because it doesn't follow PEP8. `More information...`__ - - __ https://docs.python.org/3/library/how-to/unittest.html#unittest.TestCase.assertAlmostEqual + and it's ugly because it doesn't follow PEP8. More information: + :py:meth:`unittest.TestCase.assertAlmostEqual`. - ``a == pytest.approx(b, rel=1e-6, abs=1e-12)``: True if the relative tolerance is met w.r.t. ``b`` or if the absolute tolerance is met. @@ -661,16 +655,14 @@ def approx(expected, rel=None, abs=None, nan_ok: bool = False) -> ApproxBase: .. note:: ``approx`` can handle numpy arrays, but we recommend the - specialised test helpers in `numpy.testing`__ if you need - support for comparisons, NaNs, or ULP-based tolerances. - - __ https://numpy.org/doc/stable/reference/routines.testing.html + specialised test helpers in :std:doc:`numpy:reference/routines.testing` + if you need support for comparisons, NaNs, or ULP-based tolerances. .. warning:: .. versionchanged:: 3.2 - In order to avoid inconsistent behavior, ``TypeError`` is + In order to avoid inconsistent behavior, :py:exc:`TypeError` is raised for ``>``, ``>=``, ``<`` and ``<=`` comparisons. The example below illustrates the problem:: @@ -680,9 +672,7 @@ def approx(expected, rel=None, abs=None, nan_ok: bool = False) -> ApproxBase: In the second example one expects ``approx(0.1).__le__(0.1 + 1e-10)`` to be called. But instead, ``approx(0.1).__lt__(0.1 + 1e-10)`` is used to comparison. This is because the call hierarchy of rich comparisons - follows a fixed behavior. `More information...`__ - - __ https://docs.python.org/3/reference/datamodel.html#object.__ge__ + follows a fixed behavior. More information: :py:meth:`object.__ge__` .. versionchanged:: 3.7.1 ``approx`` raises ``TypeError`` when it encounters a dict value or @@ -790,17 +780,15 @@ def raises( :kwparam match: If specified, a string containing a regular expression, or a regular expression object, that is tested against the string - representation of the exception using ``re.search``. To match a literal - string that may contain `special characters`__, the pattern can - first be escaped with ``re.escape``. + representation of the exception using :py:func:`re.search`. To match a literal + string that may contain :std:ref:`special characters `, the pattern can + first be escaped with :py:func:`re.escape`. - (This is only used when ``pytest.raises`` is used as a context manager, + (This is only used when :py:func:`pytest.raises` is used as a context manager, and passed through to the function otherwise. - When using ``pytest.raises`` as a function, you can use: + When using :py:func:`pytest.raises` as a function, you can use: ``pytest.raises(Exc, func, match="passed on").match("my pattern")``.) - __ https://docs.python.org/3/library/re.html#regular-expression-syntax - .. currentmodule:: _pytest._code Use ``pytest.raises`` as a context manager, which will capture the exception of the given From 3926526c95deac97b0d7c9e8798d94c9e48323b0 Mon Sep 17 00:00:00 2001 From: "oleg.hoefling" Date: Mon, 4 Oct 2021 20:06:13 +0200 Subject: [PATCH 2/2] revert changes in doc/en/announce Signed-off-by: oleg.hoefling --- doc/en/announce/release-2.1.0.rst | 4 ++-- doc/en/announce/release-3.0.0.rst | 2 +- doc/en/announce/release-3.0.1.rst | 2 +- doc/en/announce/release-3.0.2.rst | 2 +- doc/en/announce/release-3.0.3.rst | 2 +- doc/en/announce/release-3.0.4.rst | 2 +- doc/en/announce/release-3.0.5.rst | 2 +- doc/en/announce/release-3.0.6.rst | 2 +- doc/en/announce/release-3.0.7.rst | 2 +- doc/en/announce/release-3.1.0.rst | 4 ++-- doc/en/announce/release-3.1.1.rst | 2 +- doc/en/announce/release-3.1.2.rst | 2 +- doc/en/announce/release-3.1.3.rst | 2 +- doc/en/announce/release-3.10.0.rst | 6 +++--- doc/en/announce/release-3.10.1.rst | 2 +- doc/en/announce/release-3.2.0.rst | 4 ++-- doc/en/announce/release-3.2.1.rst | 2 +- doc/en/announce/release-3.2.2.rst | 2 +- doc/en/announce/release-3.2.3.rst | 2 +- doc/en/announce/release-3.2.4.rst | 2 +- doc/en/announce/release-3.2.5.rst | 2 +- doc/en/announce/release-3.3.0.rst | 4 ++-- doc/en/announce/release-3.3.1.rst | 2 +- doc/en/announce/release-3.3.2.rst | 2 +- doc/en/announce/release-3.4.0.rst | 4 ++-- doc/en/announce/release-3.4.1.rst | 2 +- doc/en/announce/release-3.4.2.rst | 2 +- doc/en/announce/release-3.5.0.rst | 4 ++-- doc/en/announce/release-3.5.1.rst | 2 +- doc/en/announce/release-3.6.0.rst | 4 ++-- doc/en/announce/release-3.6.1.rst | 2 +- doc/en/announce/release-3.6.2.rst | 2 +- doc/en/announce/release-3.6.3.rst | 2 +- doc/en/announce/release-3.6.4.rst | 2 +- doc/en/announce/release-3.7.0.rst | 4 ++-- doc/en/announce/release-3.7.1.rst | 2 +- doc/en/announce/release-3.7.2.rst | 2 +- doc/en/announce/release-3.7.3.rst | 2 +- doc/en/announce/release-3.7.4.rst | 2 +- doc/en/announce/release-3.8.0.rst | 6 +++--- doc/en/announce/release-3.8.1.rst | 2 +- doc/en/announce/release-3.8.2.rst | 2 +- doc/en/announce/release-3.9.0.rst | 6 +++--- doc/en/announce/release-3.9.1.rst | 2 +- doc/en/announce/release-3.9.2.rst | 2 +- doc/en/announce/release-3.9.3.rst | 2 +- doc/en/announce/release-4.0.0.rst | 6 +++--- doc/en/announce/release-4.0.1.rst | 2 +- doc/en/announce/release-4.0.2.rst | 2 +- doc/en/announce/release-4.1.0.rst | 6 +++--- doc/en/announce/release-4.1.1.rst | 2 +- doc/en/announce/release-4.2.0.rst | 6 +++--- doc/en/announce/release-4.2.1.rst | 2 +- doc/en/announce/release-4.3.0.rst | 6 +++--- doc/en/announce/release-4.3.1.rst | 2 +- doc/en/announce/release-4.4.0.rst | 6 +++--- doc/en/announce/release-4.4.1.rst | 2 +- doc/en/announce/release-4.4.2.rst | 2 +- doc/en/announce/release-4.5.0.rst | 6 +++--- doc/en/announce/release-4.6.0.rst | 6 +++--- doc/en/announce/release-4.6.1.rst | 2 +- doc/en/announce/release-4.6.2.rst | 2 +- doc/en/announce/release-4.6.3.rst | 2 +- doc/en/announce/release-4.6.4.rst | 2 +- doc/en/announce/release-4.6.5.rst | 2 +- doc/en/announce/release-4.6.6.rst | 2 +- doc/en/announce/release-4.6.7.rst | 2 +- doc/en/announce/release-4.6.8.rst | 2 +- doc/en/announce/release-4.6.9.rst | 2 +- doc/en/announce/release-5.0.0.rst | 6 +++--- doc/en/announce/release-5.0.1.rst | 2 +- doc/en/announce/release-5.1.0.rst | 6 +++--- doc/en/announce/release-5.1.1.rst | 2 +- doc/en/announce/release-5.1.2.rst | 2 +- doc/en/announce/release-5.1.3.rst | 2 +- doc/en/announce/release-5.2.0.rst | 6 +++--- doc/en/announce/release-5.2.1.rst | 2 +- doc/en/announce/release-5.2.2.rst | 2 +- doc/en/announce/release-5.2.3.rst | 2 +- doc/en/announce/release-5.2.4.rst | 2 +- doc/en/announce/release-5.3.0.rst | 6 +++--- doc/en/announce/release-5.3.1.rst | 2 +- doc/en/announce/release-5.3.2.rst | 2 +- doc/en/announce/release-5.3.3.rst | 2 +- doc/en/announce/release-5.3.4.rst | 2 +- doc/en/announce/release-5.3.5.rst | 2 +- doc/en/announce/release-5.4.0.rst | 6 +++--- doc/en/announce/release-5.4.1.rst | 2 +- doc/en/announce/release-5.4.2.rst | 2 +- doc/en/announce/release-5.4.3.rst | 2 +- doc/en/announce/release-6.0.0.rst | 6 +++--- doc/en/announce/release-6.0.0rc1.rst | 2 +- doc/en/announce/release-6.0.1.rst | 2 +- doc/en/announce/release-6.0.2.rst | 2 +- doc/en/announce/release-6.1.0.rst | 6 +++--- doc/en/announce/release-6.1.1.rst | 2 +- doc/en/announce/release-6.1.2.rst | 2 +- doc/en/announce/release-6.2.0.rst | 6 +++--- doc/en/announce/release-6.2.1.rst | 2 +- doc/en/announce/release-6.2.2.rst | 2 +- doc/en/announce/release-6.2.3.rst | 2 +- doc/en/announce/release-6.2.4.rst | 2 +- doc/en/announce/release-6.2.5.rst | 2 +- 103 files changed, 147 insertions(+), 147 deletions(-) diff --git a/doc/en/announce/release-2.1.0.rst b/doc/en/announce/release-2.1.0.rst index c3f8646b7..78247247e 100644 --- a/doc/en/announce/release-2.1.0.rst +++ b/doc/en/announce/release-2.1.0.rst @@ -11,8 +11,8 @@ The single biggest news about this release are **perfected assertions** courtesy of Benjamin Peterson. You can now safely use ``assert`` statements in test modules without having to worry about side effects or python optimization ("-OO") options. This is achieved by rewriting -assert statements in test modules upon import, using a :pep:`302` hook. -See :doc:`../how-to/assert` for +assert statements in test modules upon import, using a PEP302 hook. +See https://docs.pytest.org/en/stable/how-to/assert.html for detailed information. The work has been partly sponsored by my company, merlinux GmbH. diff --git a/doc/en/announce/release-3.0.0.rst b/doc/en/announce/release-3.0.0.rst index 0bee30ea7..5de389114 100644 --- a/doc/en/announce/release-3.0.0.rst +++ b/doc/en/announce/release-3.0.0.rst @@ -18,7 +18,7 @@ To see the complete changelog and documentation, please visit: http://docs.pytest.org -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-3.0.1.rst b/doc/en/announce/release-3.0.1.rst index 4cfd649db..8f5cfe411 100644 --- a/doc/en/announce/release-3.0.1.rst +++ b/doc/en/announce/release-3.0.1.rst @@ -8,7 +8,7 @@ drop-in replacement. To upgrade: pip install --upgrade pytest -The changelog is available at :std:doc:`changelog`. +The changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.0.2.rst b/doc/en/announce/release-3.0.2.rst index c930e9aad..86ba82ca6 100644 --- a/doc/en/announce/release-3.0.2.rst +++ b/doc/en/announce/release-3.0.2.rst @@ -8,7 +8,7 @@ drop-in replacement. To upgrade:: pip install --upgrade pytest -The changelog is available at :std:doc:`changelog`. +The changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.0.3.rst b/doc/en/announce/release-3.0.3.rst index f4f8c18fe..89a2e0c74 100644 --- a/doc/en/announce/release-3.0.3.rst +++ b/doc/en/announce/release-3.0.3.rst @@ -8,7 +8,7 @@ being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The changelog is available at :std:doc:`changelog`. +The changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.0.4.rst b/doc/en/announce/release-3.0.4.rst index 503d4f8d2..72c2d2946 100644 --- a/doc/en/announce/release-3.0.4.rst +++ b/doc/en/announce/release-3.0.4.rst @@ -8,7 +8,7 @@ being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The changelog is available at :std:doc:`changelog`. +The changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.0.5.rst b/doc/en/announce/release-3.0.5.rst index 2cc071ce0..97edb7d46 100644 --- a/doc/en/announce/release-3.0.5.rst +++ b/doc/en/announce/release-3.0.5.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The changelog is available at :std:doc:`changelog`. +The changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.0.6.rst b/doc/en/announce/release-3.0.6.rst index 37b79cf3d..9c072cedc 100644 --- a/doc/en/announce/release-3.0.6.rst +++ b/doc/en/announce/release-3.0.6.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.0.7.rst b/doc/en/announce/release-3.0.7.rst index 4fb3cf9ef..4b7e075e7 100644 --- a/doc/en/announce/release-3.0.7.rst +++ b/doc/en/announce/release-3.0.7.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.1.0.rst b/doc/en/announce/release-3.1.0.rst index 0e3fb103d..552770679 100644 --- a/doc/en/announce/release-3.1.0.rst +++ b/doc/en/announce/release-3.1.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: -:std:doc:`changelog` +http://doc.pytest.org/en/stable/changelog.html For complete documentation, please visit: http://docs.pytest.org -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-3.1.1.rst b/doc/en/announce/release-3.1.1.rst index da3a0568b..135b2fe84 100644 --- a/doc/en/announce/release-3.1.1.rst +++ b/doc/en/announce/release-3.1.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.1.2.rst b/doc/en/announce/release-3.1.2.rst index e7719c6f3..a9b85c471 100644 --- a/doc/en/announce/release-3.1.2.rst +++ b/doc/en/announce/release-3.1.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.1.3.rst b/doc/en/announce/release-3.1.3.rst index ef9b7a5e4..bc2b85fcf 100644 --- a/doc/en/announce/release-3.1.3.rst +++ b/doc/en/announce/release-3.1.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.10.0.rst b/doc/en/announce/release-3.10.0.rst index e71fce5aa..ff3c000b0 100644 --- a/doc/en/announce/release-3.10.0.rst +++ b/doc/en/announce/release-3.10.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-3.10.1.rst b/doc/en/announce/release-3.10.1.rst index ce77d83f3..ad365f634 100644 --- a/doc/en/announce/release-3.10.1.rst +++ b/doc/en/announce/release-3.10.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.2.0.rst b/doc/en/announce/release-3.2.0.rst index 5fc5420b1..edc66a28e 100644 --- a/doc/en/announce/release-3.2.0.rst +++ b/doc/en/announce/release-3.2.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + http://doc.pytest.org/en/stable/changelog.html For complete documentation, please visit: http://docs.pytest.org -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-3.2.1.rst b/doc/en/announce/release-3.2.1.rst index 2b2cdc634..c40217d31 100644 --- a/doc/en/announce/release-3.2.1.rst +++ b/doc/en/announce/release-3.2.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.2.2.rst b/doc/en/announce/release-3.2.2.rst index edc392aa6..5e6c43ab1 100644 --- a/doc/en/announce/release-3.2.2.rst +++ b/doc/en/announce/release-3.2.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.2.3.rst b/doc/en/announce/release-3.2.3.rst index e9d6c2214..50dce29c1 100644 --- a/doc/en/announce/release-3.2.3.rst +++ b/doc/en/announce/release-3.2.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.2.4.rst b/doc/en/announce/release-3.2.4.rst index 11d34ee49..ff0b35781 100644 --- a/doc/en/announce/release-3.2.4.rst +++ b/doc/en/announce/release-3.2.4.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.2.5.rst b/doc/en/announce/release-3.2.5.rst index e40b8326f..68caccbdb 100644 --- a/doc/en/announce/release-3.2.5.rst +++ b/doc/en/announce/release-3.2.5.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.3.0.rst b/doc/en/announce/release-3.3.0.rst index e5f7b0a97..1cbf2c448 100644 --- a/doc/en/announce/release-3.3.0.rst +++ b/doc/en/announce/release-3.3.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + http://doc.pytest.org/en/stable/changelog.html For complete documentation, please visit: http://docs.pytest.org -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-3.3.1.rst b/doc/en/announce/release-3.3.1.rst index 12729da72..98b6fa6c1 100644 --- a/doc/en/announce/release-3.3.1.rst +++ b/doc/en/announce/release-3.3.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.3.2.rst b/doc/en/announce/release-3.3.2.rst index 992e7b17d..7a2577d1f 100644 --- a/doc/en/announce/release-3.3.2.rst +++ b/doc/en/announce/release-3.3.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.4.0.rst b/doc/en/announce/release-3.4.0.rst index 943000b9a..6ab5b124a 100644 --- a/doc/en/announce/release-3.4.0.rst +++ b/doc/en/announce/release-3.4.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + http://doc.pytest.org/en/stable/changelog.html For complete documentation, please visit: http://docs.pytest.org -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-3.4.1.rst b/doc/en/announce/release-3.4.1.rst index 9e76d93f9..d83949453 100644 --- a/doc/en/announce/release-3.4.1.rst +++ b/doc/en/announce/release-3.4.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.4.2.rst b/doc/en/announce/release-3.4.2.rst index ccc357745..07cd9d3a8 100644 --- a/doc/en/announce/release-3.4.2.rst +++ b/doc/en/announce/release-3.4.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.5.0.rst b/doc/en/announce/release-3.5.0.rst index db3225c69..6bc2f3cd0 100644 --- a/doc/en/announce/release-3.5.0.rst +++ b/doc/en/announce/release-3.5.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + http://doc.pytest.org/en/stable/changelog.html For complete documentation, please visit: http://docs.pytest.org -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-3.5.1.rst b/doc/en/announce/release-3.5.1.rst index e778bafa1..802be0368 100644 --- a/doc/en/announce/release-3.5.1.rst +++ b/doc/en/announce/release-3.5.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.6.0.rst b/doc/en/announce/release-3.6.0.rst index 8fccbf71d..44b178c16 100644 --- a/doc/en/announce/release-3.6.0.rst +++ b/doc/en/announce/release-3.6.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + http://doc.pytest.org/en/stable/changelog.html For complete documentation, please visit: http://docs.pytest.org -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-3.6.1.rst b/doc/en/announce/release-3.6.1.rst index 7fe596de1..d971a3d49 100644 --- a/doc/en/announce/release-3.6.1.rst +++ b/doc/en/announce/release-3.6.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.6.2.rst b/doc/en/announce/release-3.6.2.rst index d11eb30c5..9d9199579 100644 --- a/doc/en/announce/release-3.6.2.rst +++ b/doc/en/announce/release-3.6.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.6.3.rst b/doc/en/announce/release-3.6.3.rst index 9389f247c..4dda2460d 100644 --- a/doc/en/announce/release-3.6.3.rst +++ b/doc/en/announce/release-3.6.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.6.4.rst b/doc/en/announce/release-3.6.4.rst index 817fd3036..2c0f9efec 100644 --- a/doc/en/announce/release-3.6.4.rst +++ b/doc/en/announce/release-3.6.4.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.7.0.rst b/doc/en/announce/release-3.7.0.rst index cd8be9479..89908a910 100644 --- a/doc/en/announce/release-3.7.0.rst +++ b/doc/en/announce/release-3.7.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + http://doc.pytest.org/en/stable/changelog.html For complete documentation, please visit: http://docs.pytest.org -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-3.7.1.rst b/doc/en/announce/release-3.7.1.rst index da641dea4..7da5a3e1f 100644 --- a/doc/en/announce/release-3.7.1.rst +++ b/doc/en/announce/release-3.7.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.7.2.rst b/doc/en/announce/release-3.7.2.rst index 0b56ce619..fcc612175 100644 --- a/doc/en/announce/release-3.7.2.rst +++ b/doc/en/announce/release-3.7.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.7.3.rst b/doc/en/announce/release-3.7.3.rst index f99b5aa88..ee87da60d 100644 --- a/doc/en/announce/release-3.7.3.rst +++ b/doc/en/announce/release-3.7.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at http://doc.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.7.4.rst b/doc/en/announce/release-3.7.4.rst index 06f5defd9..45be42938 100644 --- a/doc/en/announce/release-3.7.4.rst +++ b/doc/en/announce/release-3.7.4.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.8.0.rst b/doc/en/announce/release-3.8.0.rst index dc6824f91..8c35a44f6 100644 --- a/doc/en/announce/release-3.8.0.rst +++ b/doc/en/announce/release-3.8.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-3.8.1.rst b/doc/en/announce/release-3.8.1.rst index ebaf15a46..f8f8accc4 100644 --- a/doc/en/announce/release-3.8.1.rst +++ b/doc/en/announce/release-3.8.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.8.2.rst b/doc/en/announce/release-3.8.2.rst index c3161fac2..9ea94c98a 100644 --- a/doc/en/announce/release-3.8.2.rst +++ b/doc/en/announce/release-3.8.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.9.0.rst b/doc/en/announce/release-3.9.0.rst index c07b5676f..0be6cf5be 100644 --- a/doc/en/announce/release-3.9.0.rst +++ b/doc/en/announce/release-3.9.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-3.9.1.rst b/doc/en/announce/release-3.9.1.rst index 40eca6477..e1afb3759 100644 --- a/doc/en/announce/release-3.9.1.rst +++ b/doc/en/announce/release-3.9.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.9.2.rst b/doc/en/announce/release-3.9.2.rst index 35b559204..63e94e5aa 100644 --- a/doc/en/announce/release-3.9.2.rst +++ b/doc/en/announce/release-3.9.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-3.9.3.rst b/doc/en/announce/release-3.9.3.rst index 8cdd0e7b7..661ddb5cb 100644 --- a/doc/en/announce/release-3.9.3.rst +++ b/doc/en/announce/release-3.9.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.0.0.rst b/doc/en/announce/release-4.0.0.rst index 476edf7a5..5eb010775 100644 --- a/doc/en/announce/release-4.0.0.rst +++ b/doc/en/announce/release-4.0.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-4.0.1.rst b/doc/en/announce/release-4.0.1.rst index ef41511ba..2902a6db9 100644 --- a/doc/en/announce/release-4.0.1.rst +++ b/doc/en/announce/release-4.0.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.0.2.rst b/doc/en/announce/release-4.0.2.rst index 640b4480b..f439b88fe 100644 --- a/doc/en/announce/release-4.0.2.rst +++ b/doc/en/announce/release-4.0.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.1.0.rst b/doc/en/announce/release-4.1.0.rst index 7d16e950c..314564eeb 100644 --- a/doc/en/announce/release-4.1.0.rst +++ b/doc/en/announce/release-4.1.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-4.1.1.rst b/doc/en/announce/release-4.1.1.rst index 1a96f7b5f..1f45e082f 100644 --- a/doc/en/announce/release-4.1.1.rst +++ b/doc/en/announce/release-4.1.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.2.0.rst b/doc/en/announce/release-4.2.0.rst index 49f4045e8..bcd7f7754 100644 --- a/doc/en/announce/release-4.2.0.rst +++ b/doc/en/announce/release-4.2.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-4.2.1.rst b/doc/en/announce/release-4.2.1.rst index 2662d03c5..36beafe11 100644 --- a/doc/en/announce/release-4.2.1.rst +++ b/doc/en/announce/release-4.2.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.3.0.rst b/doc/en/announce/release-4.3.0.rst index 1837de443..3b0b42809 100644 --- a/doc/en/announce/release-4.3.0.rst +++ b/doc/en/announce/release-4.3.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-4.3.1.rst b/doc/en/announce/release-4.3.1.rst index abb774b03..4251c744e 100644 --- a/doc/en/announce/release-4.3.1.rst +++ b/doc/en/announce/release-4.3.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.4.0.rst b/doc/en/announce/release-4.4.0.rst index 6f46b0aa6..dc89739d0 100644 --- a/doc/en/announce/release-4.4.0.rst +++ b/doc/en/announce/release-4.4.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-4.4.1.rst b/doc/en/announce/release-4.4.1.rst index dbd4a66dd..1272cd8fd 100644 --- a/doc/en/announce/release-4.4.1.rst +++ b/doc/en/announce/release-4.4.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.4.2.rst b/doc/en/announce/release-4.4.2.rst index e97762d7d..5876e83b3 100644 --- a/doc/en/announce/release-4.4.2.rst +++ b/doc/en/announce/release-4.4.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.5.0.rst b/doc/en/announce/release-4.5.0.rst index 87222042a..d2a05d4f7 100644 --- a/doc/en/announce/release-4.5.0.rst +++ b/doc/en/announce/release-4.5.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-4.6.0.rst b/doc/en/announce/release-4.6.0.rst index 28af03918..a82fdd47d 100644 --- a/doc/en/announce/release-4.6.0.rst +++ b/doc/en/announce/release-4.6.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-4.6.1.rst b/doc/en/announce/release-4.6.1.rst index 527f54c74..c79839b7b 100644 --- a/doc/en/announce/release-4.6.1.rst +++ b/doc/en/announce/release-4.6.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.6.2.rst b/doc/en/announce/release-4.6.2.rst index f469e4920..cfc595293 100644 --- a/doc/en/announce/release-4.6.2.rst +++ b/doc/en/announce/release-4.6.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.6.3.rst b/doc/en/announce/release-4.6.3.rst index 0cef968d8..f578464a7 100644 --- a/doc/en/announce/release-4.6.3.rst +++ b/doc/en/announce/release-4.6.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.6.4.rst b/doc/en/announce/release-4.6.4.rst index fafbe1473..0eefcbeb1 100644 --- a/doc/en/announce/release-4.6.4.rst +++ b/doc/en/announce/release-4.6.4.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.6.5.rst b/doc/en/announce/release-4.6.5.rst index 1d5b01f40..1ebf361fd 100644 --- a/doc/en/announce/release-4.6.5.rst +++ b/doc/en/announce/release-4.6.5.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.6.6.rst b/doc/en/announce/release-4.6.6.rst index e58d306c5..b3bf1e431 100644 --- a/doc/en/announce/release-4.6.6.rst +++ b/doc/en/announce/release-4.6.6.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.6.7.rst b/doc/en/announce/release-4.6.7.rst index 44c6fa8cb..f9d01845e 100644 --- a/doc/en/announce/release-4.6.7.rst +++ b/doc/en/announce/release-4.6.7.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.6.8.rst b/doc/en/announce/release-4.6.8.rst index 3c84815fa..5cabe7826 100644 --- a/doc/en/announce/release-4.6.8.rst +++ b/doc/en/announce/release-4.6.8.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-4.6.9.rst b/doc/en/announce/release-4.6.9.rst index 1d4e755e3..7f7bb5996 100644 --- a/doc/en/announce/release-4.6.9.rst +++ b/doc/en/announce/release-4.6.9.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.0.0.rst b/doc/en/announce/release-5.0.0.rst index b61eb4b56..f5e593e9d 100644 --- a/doc/en/announce/release-5.0.0.rst +++ b/doc/en/announce/release-5.0.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-5.0.1.rst b/doc/en/announce/release-5.0.1.rst index ef0b4e6b8..e16a8f716 100644 --- a/doc/en/announce/release-5.0.1.rst +++ b/doc/en/announce/release-5.0.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.1.0.rst b/doc/en/announce/release-5.1.0.rst index 6dc5ceba3..9ab54ff97 100644 --- a/doc/en/announce/release-5.1.0.rst +++ b/doc/en/announce/release-5.1.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-5.1.1.rst b/doc/en/announce/release-5.1.1.rst index 70e8755af..bb8de4801 100644 --- a/doc/en/announce/release-5.1.1.rst +++ b/doc/en/announce/release-5.1.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.1.2.rst b/doc/en/announce/release-5.1.2.rst index afe3614df..c4cb8e3fb 100644 --- a/doc/en/announce/release-5.1.2.rst +++ b/doc/en/announce/release-5.1.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.1.3.rst b/doc/en/announce/release-5.1.3.rst index 515af22fd..c4e88aed2 100644 --- a/doc/en/announce/release-5.1.3.rst +++ b/doc/en/announce/release-5.1.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.2.0.rst b/doc/en/announce/release-5.2.0.rst index 622664967..f43767b75 100644 --- a/doc/en/announce/release-5.2.0.rst +++ b/doc/en/announce/release-5.2.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-5.2.1.rst b/doc/en/announce/release-5.2.1.rst index 947638d75..fe42b9bf1 100644 --- a/doc/en/announce/release-5.2.1.rst +++ b/doc/en/announce/release-5.2.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.2.2.rst b/doc/en/announce/release-5.2.2.rst index 96cb0147e..89fd6a534 100644 --- a/doc/en/announce/release-5.2.2.rst +++ b/doc/en/announce/release-5.2.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.2.3.rst b/doc/en/announce/release-5.2.3.rst index 7e5067c39..bab174495 100644 --- a/doc/en/announce/release-5.2.3.rst +++ b/doc/en/announce/release-5.2.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.2.4.rst b/doc/en/announce/release-5.2.4.rst index 26ba12540..5f5189679 100644 --- a/doc/en/announce/release-5.2.4.rst +++ b/doc/en/announce/release-5.2.4.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.3.0.rst b/doc/en/announce/release-5.3.0.rst index 32c37fca1..e13a71f09 100644 --- a/doc/en/announce/release-5.3.0.rst +++ b/doc/en/announce/release-5.3.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from pypi via:: +As usual, you can upgrade from pypi via: pip install -U pytest diff --git a/doc/en/announce/release-5.3.1.rst b/doc/en/announce/release-5.3.1.rst index 76f89b994..d575bb70e 100644 --- a/doc/en/announce/release-5.3.1.rst +++ b/doc/en/announce/release-5.3.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.3.2.rst b/doc/en/announce/release-5.3.2.rst index 9b4478b6a..d562a33fb 100644 --- a/doc/en/announce/release-5.3.2.rst +++ b/doc/en/announce/release-5.3.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.3.3.rst b/doc/en/announce/release-5.3.3.rst index 41991af6d..40a6fb5b5 100644 --- a/doc/en/announce/release-5.3.3.rst +++ b/doc/en/announce/release-5.3.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.3.4.rst b/doc/en/announce/release-5.3.4.rst index 16801fac1..0750a9d40 100644 --- a/doc/en/announce/release-5.3.4.rst +++ b/doc/en/announce/release-5.3.4.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.3.5.rst b/doc/en/announce/release-5.3.5.rst index e36fa806a..e632ce853 100644 --- a/doc/en/announce/release-5.3.5.rst +++ b/doc/en/announce/release-5.3.5.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.4.0.rst b/doc/en/announce/release-5.4.0.rst index d7cae1d89..43dffc929 100644 --- a/doc/en/announce/release-5.4.0.rst +++ b/doc/en/announce/release-5.4.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bug fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from PyPI via:: +As usual, you can upgrade from PyPI via: pip install -U pytest diff --git a/doc/en/announce/release-5.4.1.rst b/doc/en/announce/release-5.4.1.rst index ea33aba68..f6a64efa4 100644 --- a/doc/en/announce/release-5.4.1.rst +++ b/doc/en/announce/release-5.4.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.4.2.rst b/doc/en/announce/release-5.4.2.rst index 6870865ed..d742dd4aa 100644 --- a/doc/en/announce/release-5.4.2.rst +++ b/doc/en/announce/release-5.4.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-5.4.3.rst b/doc/en/announce/release-5.4.3.rst index ceb35f361..6c995c163 100644 --- a/doc/en/announce/release-5.4.3.rst +++ b/doc/en/announce/release-5.4.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-6.0.0.rst b/doc/en/announce/release-6.0.0.rst index a73a088d0..9706fe59b 100644 --- a/doc/en/announce/release-6.0.0.rst +++ b/doc/en/announce/release-6.0.0.rst @@ -9,13 +9,13 @@ against itself, passing on many different interpreters and platforms. This release contains a number of bug fixes and improvements, so users are encouraged to take a look at the CHANGELOG: - :std:doc:`changelog` + https://docs.pytest.org/en/latest/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/latest/ -As usual, you can upgrade from PyPI via:: +As usual, you can upgrade from PyPI via: pip install -U pytest diff --git a/doc/en/announce/release-6.0.0rc1.rst b/doc/en/announce/release-6.0.0rc1.rst index 51f83a441..5690b514b 100644 --- a/doc/en/announce/release-6.0.0rc1.rst +++ b/doc/en/announce/release-6.0.0rc1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/latest/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-6.0.1.rst b/doc/en/announce/release-6.0.1.rst index 8ddf5ad70..33fdbed3f 100644 --- a/doc/en/announce/release-6.0.1.rst +++ b/doc/en/announce/release-6.0.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/latest/changelog.html. Thanks to all who contributed to this release, among them: diff --git a/doc/en/announce/release-6.0.2.rst b/doc/en/announce/release-6.0.2.rst index cf9ed58c0..16eabc586 100644 --- a/doc/en/announce/release-6.0.2.rst +++ b/doc/en/announce/release-6.0.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all of the contributors to this release: diff --git a/doc/en/announce/release-6.1.0.rst b/doc/en/announce/release-6.1.0.rst index 98cf71346..f4b571ae8 100644 --- a/doc/en/announce/release-6.1.0.rst +++ b/doc/en/announce/release-6.1.0.rst @@ -6,13 +6,13 @@ The pytest team is proud to announce the 6.1.0 release! This release contains new features, improvements, bug fixes, and breaking changes, so users are encouraged to take a look at the CHANGELOG carefully: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from PyPI via:: +As usual, you can upgrade from PyPI via: pip install -U pytest diff --git a/doc/en/announce/release-6.1.1.rst b/doc/en/announce/release-6.1.1.rst index f13eff5ae..e09408fde 100644 --- a/doc/en/announce/release-6.1.1.rst +++ b/doc/en/announce/release-6.1.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all of the contributors to this release: diff --git a/doc/en/announce/release-6.1.2.rst b/doc/en/announce/release-6.1.2.rst index 87e54fdc8..aa2c80952 100644 --- a/doc/en/announce/release-6.1.2.rst +++ b/doc/en/announce/release-6.1.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all of the contributors to this release: diff --git a/doc/en/announce/release-6.2.0.rst b/doc/en/announce/release-6.2.0.rst index 353c44c53..af16b830d 100644 --- a/doc/en/announce/release-6.2.0.rst +++ b/doc/en/announce/release-6.2.0.rst @@ -6,13 +6,13 @@ The pytest team is proud to announce the 6.2.0 release! This release contains new features, improvements, bug fixes, and breaking changes, so users are encouraged to take a look at the CHANGELOG carefully: - :std:doc:`changelog` + https://docs.pytest.org/en/stable/changelog.html For complete documentation, please visit: - :std:doc:`../index` + https://docs.pytest.org/en/stable/ -As usual, you can upgrade from PyPI via:: +As usual, you can upgrade from PyPI via: pip install -U pytest diff --git a/doc/en/announce/release-6.2.1.rst b/doc/en/announce/release-6.2.1.rst index ab0d47bb3..f9e716183 100644 --- a/doc/en/announce/release-6.2.1.rst +++ b/doc/en/announce/release-6.2.1.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all of the contributors to this release: diff --git a/doc/en/announce/release-6.2.2.rst b/doc/en/announce/release-6.2.2.rst index 3f3704d5f..c3999c538 100644 --- a/doc/en/announce/release-6.2.2.rst +++ b/doc/en/announce/release-6.2.2.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all of the contributors to this release: diff --git a/doc/en/announce/release-6.2.3.rst b/doc/en/announce/release-6.2.3.rst index a8c6153f8..e45aa6a03 100644 --- a/doc/en/announce/release-6.2.3.rst +++ b/doc/en/announce/release-6.2.3.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all of the contributors to this release: diff --git a/doc/en/announce/release-6.2.4.rst b/doc/en/announce/release-6.2.4.rst index a74507766..fa2e3e781 100644 --- a/doc/en/announce/release-6.2.4.rst +++ b/doc/en/announce/release-6.2.4.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all of the contributors to this release: diff --git a/doc/en/announce/release-6.2.5.rst b/doc/en/announce/release-6.2.5.rst index 96161c531..bc6b4cf42 100644 --- a/doc/en/announce/release-6.2.5.rst +++ b/doc/en/announce/release-6.2.5.rst @@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest -The full changelog is available at :std:doc:`changelog`. +The full changelog is available at https://docs.pytest.org/en/stable/changelog.html. Thanks to all of the contributors to this release: