Bump pytest from 7.4.4 to 8.2.1
Bumps pytest from 7.4.4 to 8.2.1.
Release notes
Sourced from pytest's releases.
8.2.1
pytest 8.2.1 (2024-05-19)
Improvements
- #12334: Support for Python 3.13 (beta1 at the time of writing).
Bug Fixes
- #12120: Fix [PermissionError]{.title-ref} crashes arising from directories which are not selected on the command-line.
- #12191: Keyboard interrupts and system exits are now properly handled during the test collection.
- #12300: Fixed handling of 'Function not implemented' error under squashfuse_ll, which is a different way to say that the mountpoint is read-only.
- #12308: Fix a regression in pytest 8.2.0 where the permissions of automatically-created
.pytest_cache
directories becamerwx------
instead of the expectedrwxr-xr-x
.Trivial/Internal Changes
- #12333: pytest releases are now attested using the recent Artifact Attestation support from GitHub, allowing users to verify the provenance of pytest's sdist and wheel artifacts.
8.2.0
pytest 8.2.0 (2024-04-27)
Deprecations
#12069: A deprecation warning is now raised when implementations of one of the following hooks request a deprecated
py.path.local
parameter instead of thepathlib.Path
parameter which replaced it:
pytest_ignore_collect
{.interpreted-text role="hook"} - thepath
parameter - usecollection_path
instead.pytest_collect_file
{.interpreted-text role="hook"} - thepath
parameter - usefile_path
instead.pytest_pycollect_makemodule
{.interpreted-text role="hook"} - thepath
parameter - usemodule_path
instead.pytest_report_header
{.interpreted-text role="hook"} - thestartdir
parameter - usestart_path
instead.pytest_report_collectionfinish
{.interpreted-text role="hook"} - thestartdir
parameter - usestart_path
instead.The replacement parameters are available since pytest 7.0.0. The old parameters will be removed in pytest 9.0.0.
See
legacy-path-hooks-deprecated
{.interpreted-text role="ref"} for more details.Features
#11871: Added support for reading command line arguments from a file using the prefix character
@
, like e.g.:pytest @tests.txt
. The file must have one argument per line.See
Read arguments from file <args-from-file>
{.interpreted-text role="ref"} for details.Improvements
... (truncated)
Commits
-
66ff8df
Prepare release version 8.2.1 -
3ffcfd1
Merge pull request #12340 from pytest-dev/backport-12334-to-8.2.x -
0b28313
[8.2.x] Add Python 3.13 (beta) support -
f3dd93a
[8.2.x] Attest package provenance (#12335) -
bb5a125
[8.2.x] Spelling (#12331) -
f179bf2
Merge pull request #12327 from pytest-dev/backport-12325-to-8.2.x -
2b671b5
[8.2.x] cacheprovider: fix.pytest_cache
not being world-readable -
65ab7cb
Merge pull request #12324 from pytest-dev/backport-12320-to-8.2.x -
4d5fb7d
Merge pull request #12319 from pytest-dev/backport-12311-to-8.2.x -
cbe5996
[8.2.x] changelog: document unittest 8.2 change as breaking - Additional commits viewable in compare view