Commit Graph

2392 Commits

Author SHA1 Message Date
James Frost 1301a34c42
Add html_baseurl to sphinx conf.py (#12364) (#12394)
This is used to set the <link rel="canonical" href="X"> tag that points to the canonical version of the webpage. Including this indicates to search engines which version to include in their indexes, and should prevent older versions showing up.

Fixes #12363
2024-05-30 08:07:16 -03:00
Bruno Oliveira e23e4e9c49 [7.1.x] Fix packaging example 2022-10-13 01:21:34 +00:00
Bruno Oliveira 7a3644ac08 [7.1.x] Add note in documentation to help modernize code bases to use pathlib 2022-10-08 13:35:02 +00:00
Bruno Oliveira 29160a282d
Merge pull request #10350 from pytest-dev/backport-10348-to-7.1.x
[7.1.x] doc: Add second day for enterPy training
2022-10-07 11:53:26 -03:00
Bruno Oliveira af14baf071 [7.1.x] Improve documentation for setup() and teardown() nose support 2022-10-07 14:50:27 +00:00
Florian Bruhin 5ae566b826 [7.1.x] doc: Add second day for enterPy training 2022-10-07 14:22:33 +00:00
Bruno Oliveira 443b081c27 [7.1.x] Fix a few broken links in the documentation. 2022-10-06 17:16:51 +00:00
Anthony Sottile c420f0d60b [7.1.x] doc: Fix 404 'identify flaky test' link (#10244) 2022-09-16 15:14:39 +00:00
github-actions[bot] 3e331acbbb
[7.1.x] doc: Add link for enterPy training (#10300)
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2022-09-15 17:57:50 +02:00
Bruno Oliveira c011ff7e72 [7.1.x] Add allure-pytest to the popular plugins list 2022-09-09 12:00:58 +00:00
Bruno Oliveira 0e469b9c20 [7.1.x] Update open trainings 2022-09-07 13:16:44 +00:00
Bruno Oliveira 3739e6cd48
Merge pull request #10259 from pytest-dev/release-7.1.3
Prepare release 7.1.3
2022-09-02 08:23:39 -03:00
Philipp A 58b38fa1c2 Revamp good practices (#10206)
* Recommend importlib import mode for new projects
* Recommend src layout more strongly
* Switch to hatchling as the packaging tool in the example (following PyPA)
* Add explanation about the different import modes

(cherry picked from commit 245a8c23dd)
2022-09-01 08:08:53 -03:00
Bruno Oliveira 4645bcd449 Remove incorrect output in how-to/fixtures.rst 2022-08-31 14:53:40 -03:00
pytest bot fadfb4f346 Prepare release version 7.1.3 2022-08-31 17:49:55 +00:00
Bruno Oliveira fc0e024b11 [7.1.x] Fix regendoc 2022-08-31 17:36:03 +00:00
aizpurua23a 88fc45bd57 [7.1.x] Update fixtures.rst w/ finalizer order 2022-08-15 17:23:43 +00:00
Bruno Oliveira 9b2c6cedc7 [7.1.x] Add reference to the Where to patch docs in monkeypatch.setattr 2022-08-15 17:13:13 +00:00
Bruno Oliveira 7133c546f8 [7.1.x] Add monkeypatch.context() to how-to doc intro 2022-08-12 08:34:29 -03:00
Wolfremium da7daaac92 [7.1.x] Explicit note that tmpdir fixture is discouraged in favour of tmp_path #9937 2022-07-15 11:41:58 +00:00
github-actions[bot] 1eb8434529
[7.1.x] Remove europython training (#10108)
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2022-07-06 11:27:46 +00:00
Anthony Sottile 550a42d717 [7.1.x] update does_not_raise docs now that pytest is 3.7+ only
(cherry picked from commit 2941da0f2b)
2022-06-29 14:12:54 -04:00
pre-commit-ci[bot] b8ce513e95 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-06-26 12:56:42 +00:00
Bruno Oliveira 315695f53f [7.1.x] Indicate support for a tuple of exceptions in xfail raises= 2022-06-26 12:55:40 +00:00
Bruno Oliveira d89c13d670 [7.1.x] Update training list 2022-06-14 10:41:13 +00:00
Bruno Oliveira 55e7a71446 [7.1.x] Update location of `usage.rst` to fix manpage compilation 2022-06-07 21:51:21 +00:00
Tony Narlock eb55d4c945 [7.1.x] docs(monkeypatch): Fix autodoc reference links 2022-06-02 13:19:05 +00:00
Bruno Oliveira f70e370e35 [7.1.x] Do not advertise that importlib will be default import mode 2022-05-31 19:26:38 +00:00
github-actions[bot] 835de75819
[7.1.x] Declutter doc entry page (#9991)
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
2022-05-24 10:42:44 -03:00
Bruno Oliveira 31759f7af4
Merge pull request #9973 from pytest-dev/backport-9968-to-7.1.x 2022-05-17 08:33:56 -03:00
Bruno Oliveira 5f18e9d1ab [7.1.x] Reorder the reference guides in the docs 2022-05-17 11:00:47 +00:00
Bruno Oliveira 643cc79759 [7.1.x] Remove "Python 2.7 and 3.4 Support" from globaltoc 2022-05-17 10:54:19 +00:00
Tim Hoffmann f7e57ae839 [7.1.x] Remove docs on Python 2.7 and 3.4 Support 2022-05-16 08:18:57 +00:00
Bruno Oliveira cb5fd75bea [7.1.x] doc: link to pytest-subtests 2022-05-12 12:37:10 +00:00
Pax dc36836dd2 [7.1.x] Add link to python docs on logging levels 2022-05-11 11:00:39 +00:00
Bruno Oliveira 91d84e9256 [7.1.x] Move documentation contents from reference.rst to docstrings 2022-05-10 20:23:08 +00:00
Bruno Oliveira 0379346675 [7.1.x] Consistently add **Tutorial**: in front of how-to links in reference 2022-05-10 14:41:08 +00:00
github-actions[bot] a7d7676f7b
[7.1.x] Clarify precision when using NUMBER option in --doctest-modules (#9923)
Co-authored-by: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com>
2022-05-06 23:50:10 +00:00
pytest bot 2f2f1a601e Prepare release version 7.1.2 2022-04-23 11:33:44 +00:00
github-actions[bot] 5c04f3a1a2
[7.1.x] Fix wrong `log_file` docs (#9879)
Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
2022-04-22 18:40:15 +00:00
Bruno Oliveira 840c418de6 [7.1.x] temporarily pin jinja2 version for docs build 2022-04-08 23:35:13 +00:00
pytest bot 0ffe9e0742 Prepare release version 7.1.1 2022-03-17 20:21:30 +00:00
pytest bot d53a5fb371 Prepare release version 7.1.0 2022-03-13 13:43:44 +00:00
Florian Bruhin d306ec0a7e
Update upcoming trainings (#9744)
* Update upcoming trainings

* Remove old-ish link

* Revert "Remove old-ish link"

This reverts commit 30d75f5088.

* Use crossref

* Add past training
2022-03-12 16:51:56 +01:00
Fabian Egli 7f924b13a5
Fix typo in deprecation documentation 2022-03-11 11:15:28 +01:00
github-actions[bot] bc43d66b47
[automated] Update plugin list (#9733)
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2022-03-06 00:01:38 -03:00
github-actions[bot] cf0a4f79b0
[automated] Update plugin list (#9717)
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2022-03-04 12:56:11 -03:00
Kojo Idrissa e466a87bb0
Add the latest book edition of 'Python Testing with pytest' 2022-02-25 19:13:23 -03:00
Ran Benita 4778e999a5
Merge pull request #9702 from m-tmatma/feature/fix-bash-complete
fix link of argcomplete page.
2022-02-23 19:30:40 +02:00
Ran Benita 7b6e477e2f
Revert "Deprecate raising unittest.SkipTest to skip tests during collection" (#9710)
This reverts commit 25e657bfc1.

Turns out that this *is* a working unittest feature, which pytest should
support, so undo the deprecation.
2022-02-23 15:59:54 +02:00