github-actions[bot]
53d2d4717d
[8.2.x] Documentation: Clean up various documentation pages ( #12458 )
...
Co-authored-by: neutraljump <162650677+neutraljump@users.noreply.github.com>
2024-06-13 12:26:21 +00:00
github-actions[bot]
36f0ea10b4
[8.2.x] remove my contact details ( #12428 )
...
Co-authored-by: holger krekel <holger@merlinux.eu>
2024-06-06 09:34:17 -03:00
pytest bot
329d371214
Prepare release version 8.2.2
2024-06-04 12:54:55 +00:00
github-actions[bot]
4569a01e3d
[8.2.x] doc: Update trainings/events ( #12402 )
...
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2024-05-30 17:05:32 +02:00
github-actions[bot]
240a252d34
[8.2.x] Add html_baseurl to sphinx conf.py ( #12372 )
...
Co-authored-by: James Frost <james.frost@metoffice.gov.uk>
2024-05-26 10:38:25 +00:00
github-actions[bot]
558e4fa71a
[8.2.x] Add thread safety section to flaky test docs ( #12362 )
...
Co-authored-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
2024-05-24 08:22:20 -03:00
github-actions[bot]
f0e7a07667
[8.2.x] Issue #12290 - Docs using Furo Theme W/ Dark Mode ( #12348 )
...
Co-authored-by: Sam Jirovec <47160720+samjirovec@users.noreply.github.com>
2024-05-21 16:11:45 +00:00
Bruno Oliveira
22e885f109
Fix link in changelog ( #12343 ) ( #12344 )
...
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2024-05-19 18:17:40 -03:00
pytest bot
66ff8dffdf
Prepare release version 8.2.1
2024-05-19 16:43:40 +00:00
github-actions[bot]
bb5a1257b0
[8.2.x] Spelling ( #12331 )
...
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-05-15 18:25:57 +00:00
Ran Benita
cbe5996cc6
[8.2.x] changelog: document unittest 8.2 change as breaking
2024-05-14 20:07:07 +00:00
github-actions[bot]
8fdb72947e
[8.2.x] doc: update sprint repo link ( #12297 )
...
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2024-05-08 10:16:22 -03:00
github-actions[bot]
5c1c73b961
[8.2.x] Document exceptions raised by exit, skip, xfail, fail, and importorskip ( #12288 )
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2024-05-06 01:32:21 +00:00
Bruno Oliveira
6bd3f31344
Tweak changelog for 8.2.0
2024-04-27 10:20:51 -03:00
pytest bot
9b6219b5e8
Prepare release version 8.2.0
2024-04-27 13:07:39 +00:00
Bruno Oliveira
93c2cdf6d6
cherry-pick release-8.1.2 ( #12252 )
...
(cherry picked from commit 7df3dbc545
)
2024-04-26 15:25:44 -03:00
Shekhar verma
4eb8b6d525
Changed importError to ModuleNotFoundError ( #12220 )
...
* Changed importError to ModuleNotFoundError
* added testing for importorskip
* added exc_types parameter in importorskip
* Added warning and Test Cases
* Improve tests and docs
* Improve deprecation docs
* Change exc_type to kw only
* Apply suggestions from code review
Co-authored-by: Florian Bruhin <me@the-compiler.org>
* Fix check
---------
Co-authored-by: Bruno Oliveira <bruno@soliv.dev>
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2024-04-26 09:48:57 +02:00
Florian Bruhin
a830a3e98d
Update events/trainings ( #12236 )
2024-04-22 19:52:25 +02:00
github-actions[bot]
63d985c6d3
[automated] Update plugin list ( #12230 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2024-04-21 10:57:36 -03:00
Ran Benita
58136c5376
hookspec: deprecate hookimpls requesting py.path parameters
2024-04-21 11:37:56 +03:00
dj
48b6d18834
Add PYTEST_VERSION environment variable ( #12190 )
...
Among other things, it can be used to check if a code is running from within a pytest session.
Fixes #9502
2024-04-18 07:45:47 -03:00
pytest bot
5f6e825a26
[automated] Update plugin list
2024-04-14 00:21:52 +00:00
Bruno Oliveira
99890636bf
Refine how we detect namespace packages ( #12169 )
...
Previously we used a hand crafted approach to detect namespace packages, however we should rely on ``importlib`` to detect them for us.
Fix #12112
---------
Co-authored-by: Ran Benita <ran@unusedvar.com>
2024-04-09 13:21:51 -03:00
github-actions[bot]
f75dd87eb7
[automated] Update plugin list ( #12193 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2024-04-07 08:57:04 -03:00
Manuel López-Ibáñez
cc588d1a1a
Doc: `import pytest` in `conftest.py` example in `doctest.rst` ( #12181 )
2024-04-03 09:02:09 -03:00
pytest bot
2dd58e827e
[automated] Update plugin list
2024-03-31 00:20:45 +00:00
tserg
909759de2d
Improve sentence in marks documentation ( #12157 )
2024-03-24 15:59:07 +01:00
pytest bot
aeae91e27d
[automated] Update plugin list
2024-03-24 00:20:37 +00:00
Linghao Zhang
c650e3a94f
Add research item in doc ( #12147 )
2024-03-21 11:21:43 -03:00
pytest bot
2e69f31444
[automated] Update plugin list
2024-03-17 00:20:04 +00:00
Tobias Stoeckmann
2e5da5d2fb
doc: fix typos ( #12118 )
...
* doc: add missing word
* doc: fix typos
Typos found with codespell
2024-03-14 16:36:11 +00:00
Ran Benita
0a442a9599
doc/flaky: remove `box/flaky` plugin suggestion ( #12100 )
...
The plugin is abandoned and no longer working with new pytest versions.
I also reordered a bit to put pytest-rerunfailures first since it seems most maintained and is under pytest-dev.
2024-03-10 11:51:04 -03:00
github-actions[bot]
b777b05c0e
[automated] Update plugin list ( #12098 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2024-03-10 09:57:13 -03:00
Bruno Oliveira
140c777590
Merge pull request #12094 from pytest-dev/release-8.1.1
...
Prepare release 8.1.1
(cherry picked from commit abb0cf4922
)
2024-03-09 08:52:31 -03:00
Levon Saldamli
9033d4d3ff
Parse args from file ( #12085 )
...
Co-authored-by: Ran Benita <ran@unusedvar.com>
Co-authored-by: Bruno Oliveira <bruno@soliv.dev>
2024-03-09 08:51:52 +02:00
Bruno Oliveira
dacee1f11d
Revert "Remove deprecated py.path hook arguments"
...
This reverts commit a98f02d423
.
2024-03-07 19:50:33 -03:00
Bruno Oliveira
303cd0d48a
Revert "Remove deprecated py.path (`fspath`) node constructor arguments"
...
This reverts commit 6c89f9261c
.
2024-03-07 19:50:33 -03:00
Bruno Oliveira
6ee02a3e6c
Yank version 8.1.0
...
Related to #12069
2024-03-04 12:18:14 -03:00
Ran Benita
e410705561
Cherry-pick 8.1.0 release notes
...
(cherry picked from commit 0a536810dc
)
2024-03-03 23:27:02 +02:00
github-actions[bot]
82fe28dae4
[automated] Update plugin list ( #12049 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2024-03-03 12:50:42 +00:00
Bruno Oliveira
d6134bc21e
doc: document consider_namespace_packages option
2024-03-02 16:13:48 -03:00
Bruno Oliveira
5746b8e696
doc: update and improve import mode docs
2024-03-02 16:13:48 -03:00
donghui
4db5e53709
docs: update plugins number
2024-03-01 05:43:57 +08:00
Bruno Oliveira
ffd727e9d6
Fix mention of the prefix for pytest plugins in `plugin_list`
2024-02-24 21:35:51 -03:00
pytest bot
b6eb985d55
[automated] Update plugin list
2024-02-25 00:19:33 +00:00
Ran Benita
7460b1aa31
Cherry pick 8.0.2 release notes
...
(cherry picked from commit e53f798932
)
2024-02-25 00:25:49 +02:00
Patrick Lannigan
84bd31de64
New verbosity_test_case ini option ( #11653 )
...
Allow for the output of test case execution to be controlled independently from the application verbosity level.
`verbosity_test_case` is the new ini setting to adjust this functionality.
Fix #11639
2024-02-24 16:27:54 -03:00
Ran Benita
00d9640abc
Revert "Fix teardown error reporting when `--maxfail=1` ( #11721 )"
...
Fix #12021 .
Reopens #11706 .
This reverts commit 12b9bd5801
.
This change caused a bad regression in pytest-xdist:
https://github.com/pytest-dev/pytest-xdist/issues/1024
pytest-xdist necessarily has special handling of `--maxfail` and session
fixture teardown get executed multiple times with the change.
Since I'm not sure how to adapt pytest-xdist myself, revert for now.
I kept the sticky `shouldstop`/`shouldfail` changes as they are good
ideas regardless I think.
2024-02-23 11:45:26 +02:00
Ben Leith
c5c729e27a
Add --log-file-mode option to the logging plugin, enabling appending to log-files ( #11979 )
...
Previously, the mode was hard-coded to be "w" which truncates the file before logging.
Co-authored-by: Bruno Oliveira <bruno@soliv.dev>
2024-02-21 12:02:19 +00:00
Bruno Oliveira
40011b838b
Allow Sphinx 7.x ( #12002 )
...
Thanks to https://github.com/pytest-dev/pytest/issues/11988#issuecomment-1950318888 , the problem was our custom template.
The solution was to copy the template from Sphinx 7 and remove the header.
2024-02-18 07:21:05 -03:00