Ran Benita
d06c05bd23
[7.4.x] nodes: fix tracebacks from collection errors are not getting pruned
2023-12-31 08:14:55 +00:00
github-actions[bot]
5582bfcddf
[7.4.x] Improves clarity in Sphinx documentation for function signature. ( #11702 )
...
Co-authored-by: Arthur Richard <arthur.richard2299@gmail.com>
2023-12-14 08:19:40 -03:00
github-actions[bot]
13024efd7a
[7.4.x] Fix for operation on closed file in faulthandler teardown ( #11631 )
...
Co-authored-by: Simon Blanchard <bnomis@gmail.com>
2023-11-22 20:25:29 +00:00
github-actions[bot]
a40dacf657
[7.4.x] XFAIL TestLocalPath.test_make_numbered_dir_multiprocess_safe ( #11616 )
...
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
2023-11-14 15:08:28 +00:00
Ran Benita
3550906ead
Merge pull request #11570 from pytest-dev/backport-11567-to-7.4.x
...
[7.4.x] doc/reference: fix sidebar TOC depth
2023-10-30 09:26:36 +02:00
Ran Benita
bd068705b1
[7.4.x] doc/reference: fix sidebar TOC depth
2023-10-30 07:02:22 +00:00
Bruno Oliveira
ec5bd27cc7
Update build-and-inspect-python-package action ( #11561 ) ( #11562 )
...
This should fix the action for Python 3.12.
Ref: hynek/build-and-inspect-python-package#72
(cherry picked from commit 247436819a
)
2023-10-27 10:36:51 -03:00
Bruno Oliveira
a32feda04c
Fix tag name generated by deploy workflow ( #11550 ) ( #11554 )
...
Traditionally pytest publishes tags in the form `X.Y.Z`, however the deploy workflow (copied from somewhere else) published tags in the form `vX.Y.Z`.
This is the root cause of #11548 , because it tried to publish the release notes for tag `X.Y.Z` (which did not exist).
Fix #11548
(cherry picked from commit c1728948ac
)
2023-10-25 13:28:22 -03:00
github-actions[bot]
f8070ffb9b
[7.4.x] Add deploy instructions using the command-line ( #11553 )
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2023-10-25 13:37:56 +00:00
Bruno Oliveira
53df6164b4
Merge pull request #11546 from pytest-dev/release-7.4.3
...
Prepare release 7.4.3
2023-10-24 16:38:09 -03:00
Bruno Oliveira
2390610696
Tweak changelog.rst
2023-10-24 15:45:08 -03:00
pytest bot
a0714aa007
Prepare release version 7.4.3
2023-10-24 18:43:16 +00:00
github-actions[bot]
44ad1c9811
[7.4.x] fix #10447 - consider marks in reverse mro order to give base classes priority ( #11545 )
...
Co-authored-by: Ronny Pfannschmidt <opensource@ronnypfannschmidt.de>
2023-10-24 15:04:13 +00:00
github-actions[bot]
5dc77253d4
[7.4.x] Ensure logging tests always cleanup after themselves ( #11541 )
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2023-10-23 14:28:04 +00:00
github-actions[bot]
a517827318
[7.4.x] Configure ReadTheDocs to fail on warnings ( #11540 )
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2023-10-23 13:23:18 +00:00
github-actions[bot]
21fe071d79
[7.4.x] fix for ValueError raised in faulthandler teardown code ( #11455 )
...
Co-authored-by: Simon Blanchard <bnomis@gmail.com>
2023-09-20 12:41:01 +00:00
Bruno Oliveira
f8bb8572fe
Force terminal width when running tests ( #11425 ) ( #11432 )
...
Related to #11423
(cherry picked from commit 241f2a890e
)
2023-09-11 09:48:22 -03:00
github-actions[bot]
1944dc06d3
[7.4.x] Fix --import-mode=importlib when root contains `__init__.py` file ( #11426 )
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2023-09-10 13:27:53 +00:00
Bruno Oliveira
946634c84c
Merge pull request #11419 from nicoddemus/backport-11414-to-7.4.x
...
[7.4.x] Fix assert rewriting with assignment expressions (#11414 )
2023-09-09 10:08:41 -03:00
github-actions[bot]
d849a3ed64
[7.4.x] fix: closes #11343's [attr-defined] type errors ( #11421 )
...
Co-authored-by: Warren Markham <rabbitsinwarrens@gmail.com>
2023-09-09 13:02:31 +00:00
Bruno Oliveira
721a0881fb
Skip test_assertion_walrus_different_test_cases on Python 3.7
2023-09-09 09:43:15 -03:00
Marc Mueller
5341b9cd67
Fix assert rewriting with assignment expressions ( #11414 )
...
Fixes #11239
(cherry picked from commit 7259e8db98
)
2023-09-09 09:13:10 -03:00
Bruno Oliveira
c39bdf6190
Adjustments to the release process ( #11410 ) ( #11415 )
...
As discussed in #11408 :
* Improve documentation for the release process.
* Fix the description for the PRs created by the `prepare release pr` workflow.
* Fix pushing tag in the `deploy` workflow.
(cherry picked from commit e5c81fa41a
)
2023-09-08 08:42:55 -03:00
Bruno Oliveira
b0c4775a28
Merge pull request #11408 from pytest-dev/release-7.4.2
...
Prepare release 7.4.2
2023-09-07 15:47:56 -03:00
pytest bot
45f34dfb8d
Prepare release version 7.4.2
2023-09-07 17:21:49 +00:00
Bruno Oliveira
e4f022f0d8
Merge pull request #11406 from nicoddemus/backport-11404-to-7.4.x
...
[7.4.x] Fix crash when passing a very long cmdline argument (#11404 )
2023-09-07 14:14:40 -03:00
Bruno Oliveira
63b0c6f75f
Use _pytest.pathlib.safe_exists in get_dirs_from_args
...
Related to #11394
2023-09-07 13:50:02 -03:00
Bruno Oliveira
884b911a9c
Fix crash when passing a very long cmdline argument ( #11404 )
...
Fixes #11394
(cherry picked from commit 28ccf476b9
)
2023-09-07 12:54:41 -03:00
github-actions[bot]
6e49a74089
[7.4.x] Fix doctest collection of `functools.cached_property` objects. ( #11403 )
...
Co-authored-by: Ronny Pfannschmidt <opensource@ronnypfannschmidt.de>
2023-09-07 13:33:12 +00:00
github-actions[bot]
79c2012d40
[7.4.x] doc: Remove done training ( #11400 )
...
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2023-09-06 13:50:00 +00:00
github-actions[bot]
de69883e3a
[7.4.x] improve plugin list disclaimer ( #11398 )
...
Co-authored-by: Stefaan Lippens <soxofaan@users.noreply.github.com>
2023-09-06 11:02:29 +00:00
github-actions[bot]
1de00e9830
[7.4.x] Fix import_path for packages ( #11395 )
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2023-09-05 23:07:48 +00:00
Bruno Oliveira
7f5d9b9df4
Fix user_properties not saved to XML if fixture errors during teardown ( #11382 )
...
Move handling of user_properties to `finalize()`.
Previously if a fixture failed during teardown, `pytest_runtest_logreport` would not be called with "teardown", resulting in the user properties not being saved on the JUnit XML file.
Fixes : #11367
(cherry picked from commit 917ce9aa01
)
Co-authored-by: Israel Fruchter <israel.fruchter@gmail.com>
2023-09-03 15:01:56 -03:00
Bruno Oliveira
82eb86f707
Merge pull request #11377 from pytest-dev/release-7.4.1
...
Prepare release 7.4.1
2023-09-02 12:41:32 -03:00
Bruno Oliveira
0319a0d4fd
Checkout source code during deploy
...
We need the checked out repository in order to push the tag.
2023-09-02 12:38:39 -03:00
Bruno Oliveira
7855a72d2c
Improve CI workflow
...
* Build the package only once, and test on all platforms.
* Deploy is now triggered manually via an Action, which is then responsible for tagging the repository after the package has been uploaded successfully.
* Drop 'docs': we nowadays rely on readthedocs preview PR builds.
2023-09-02 08:46:22 -03:00
pytest bot
7a0a0e8b08
Prepare release version 7.4.1
2023-09-02 11:03:06 +00:00
github-actions[bot]
fbcfd3a52e
[7.4.x] Update CONTRIBUTING.rst ( #11371 )
...
Co-authored-by: Sourabh Beniwal <sourabhbeniwal@outlook.com>
2023-08-30 08:57:49 -03:00
github-actions[bot]
b170081788
[7.4.x] Issue 11354 fixing docs for lfnf ( #11364 )
...
Co-authored-by: Sean Patrick Malloy <spmalloy@ucdavis.edu>
2023-08-29 00:40:49 +00:00
Ran Benita
7a5f2feefb
[7.4.x] Fixes for typed pluggy ( #11355 )
...
Since version 1.3 pluggy added typing, which requires some fixes to
please mypy.
2023-08-26 22:15:32 +00:00
github-actions[bot]
69140717d4
[7.4.x] Improve duplicate values documentation ( #11296 )
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2023-08-08 14:44:03 +03:00
Bruno Oliveira
5c7c3f6329
Merge pull request #11294 from The-Compiler/pluggy-py38
...
ci: Use Python 3.8 to test latest pluggy
2023-08-07 08:13:03 -03:00
Florian Bruhin
ba40975bb7
ci: Use Python 3.8 to test latest pluggy
...
Pluggy dropped Python 3.7 support.
Also see 165fbbd12a
Fixes #11293
2023-08-07 12:08:56 +02:00
github-actions[bot]
e3fe7286f8
[7.4.x] doc: Link pytest.main to how-to guide ( #11290 )
...
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2023-08-07 10:47:37 +02:00
github-actions[bot]
34c73944e1
[7.4.x] doc: update information about assertion messages ( #11286 )
...
Co-authored-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
2023-08-07 10:47:12 +02:00
github-actions[bot]
350122abb2
[7.4.x] Remove ep2023 training ( #11242 )
...
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2023-07-22 18:40:56 +00:00
github-actions[bot]
06ff7ca13b
[7.4.x] Clarify docs for pytest.main default behavior ( #11188 )
...
Co-authored-by: antosikv <79337398+antosikv@users.noreply.github.com>
2023-07-09 15:54:59 +00:00
github-actions[bot]
6dfe498c77
[7.4.x] doc: fix EncodingWarnings in examples ( #11182 )
...
Co-authored-by: Ran Benita <ran@unusedvar.com>
2023-07-08 19:17:21 +00:00
github-actions[bot]
a566b78730
[7.4.x] reference: improve the node types docs a bit ( #11181 )
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2023-07-08 19:07:55 +00:00
github-actions[bot]
511adf85be
[7.4.x] Fix error assertion handling in approx when None in dict comparison ( #11180 )
...
Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
2023-07-08 18:37:35 +00:00