James Frost
40d58e0ce7
Add html_baseurl to sphinx conf.py ( #12364 ) ( #12391 )
...
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:08:19 -03:00
github-actions[bot]
549190651e
[7.4.x] doc: Remove sold out training ( #11824 )
...
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2024-01-16 14:07:26 +00:00
github-actions[bot]
cf72d1a40e
[7.4.x] doc: Update training dates and add pytest sprint ( #11820 )
...
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2024-01-15 20:18:31 +00:00
Ran Benita
18dcd9d38d
Merge pull request #11752 from pytest-dev/release-7.4.4
...
Prepare release 7.4.4
2023-12-31 14:10:58 +02:00
pytest bot
33f694f4b3
Prepare release version 7.4.4
2023-12-31 10:17:27 +00:00
Ran Benita
76c107c463
Merge pull request #11751 from bluetech/backport-11143-to-7.4.x
...
(cherry picked from commit 084d756ae6
)
[ran: adapted to 7.4.x, fixed changelog issue number]
2023-12-31 12:12:34 +02:00
github-actions[bot]
531d76daa4
[7.4.x] Improve reporting from __iter__ exceptions ( #11749 )
2023-12-31 12:11:02 +02:00
Zac Hatfield-Dodds
a0f58fa9e7
Merge pull request #11143 from tushar-deepsource/patch-1
...
(cherry picked from commit 084d756ae6
)
[ran: adapted to 7.4.x, fixed changelog issue number]
2023-12-31 11:53:19 +02:00
github-actions[bot]
b1f3387d42
[7.4.x] #11091 : documentation should use hypthonated properties ( #11750 )
2023-12-31 11:50:38 +02:00
Ran Benita
2cdd619bf4
Merge pull request #11747 from pytest-dev/backport-11711-to-7.4.x
...
[7.4.x] nodes: fix tracebacks from collection errors are not getting pruned
2023-12-31 11:15:21 +02:00
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