#12592: Fixed KeyError{.interpreted-text role="class"} crash when using --import-mode=importlib in a directory layout where a directory contains a child directory with the same name.
#12818: Assertion rewriting now preserves the source ranges of the original instructions, making it play well with tools that deal with the AST, like executing.
#12849: ANSI escape codes for colored output now handled correctly in pytest.fail{.interpreted-text role="func"} with [pytrace=False]{.title-ref}.
#9353: pytest.approx{.interpreted-text role="func"} now uses strict equality when given booleans.
Improved documentation
#10558: Fix ambiguous docstring of pytest.Config.getoption{.interpreted-text role="func"}.
#10829: Improve documentation on the current handling of the --basetemp option and its lack of retention functionality (temporary directory location and retention{.interpreted-text role="ref"}).
#12866: Improved cross-references concerning the recwarn{.interpreted-text role="fixture"} fixture.
#12966: Clarify filterwarnings{.interpreted-text role="ref"} docs on filter precedence/order when using multiple @pytest.mark.filterwarnings <pytest.mark.filterwarnings ref>{.interpreted-text role="ref"} marks.
Contributor-facing changes
#12497: Fixed two failing pdb-related tests on Python 3.13.
Commits
53f8b4e Update pypa/gh-action-pypi-publish to v1.12.2
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the python-packages group with 2 updates: pydantic and pytest.
Updates
pydantic
from 2.10.1 to 2.10.2Release notes
Sourced from pydantic's releases.
Changelog
Sourced from pydantic's changelog.
Commits
fe32515
Prepare for v2.10.2 release (#10982)226cfaf
HideBaseModel.__replace__
definition from type checkers (#10979)02229a6
hashing support for urls (#10975)a9cf39c
Fix type hint ofField.default
to be compatible with Python 3.8 and 3.9 (#1...869eafd
Support serialization as any forSecret
types andUrl
types (#10947)7c0ed72
Do not evaluate annotations for private fields (#10962)d6fc7fc
Only evaluateFieldInfo
annotations if required during schema building (#10...Updates
pytest
from 8.3.3 to 8.3.4Release notes
Sourced from pytest's releases.
Commits
53f8b4e
Update pypa/gh-action-pypi-publish to v1.12.298dff36
Prepare release version 8.3.41b474e2
approx: use exact comparison for bool (#13013)b541721
docs: Fix wrong statement about sys.modules with importlib import mode (#1298...16cb87b
pytest.fail: fix ANSI escape codes for colored output (#12959) (#12990)be6bc81
Issue #12966 Clarify filterwarnings docs on precedence when using multiple ma...7aeb72b
Improve docs on basetemp and retention (#12912) (#12928)c875841
Merge pull request #12917 from pytest-dev/patchback/backports/8.3.x/ded1f44e5...6502816
Merge pull request #12913 from jakkdl/dontfailonbadpath52135b0
Merge pull request #12885 from The-Compiler/pdb-py311 (#12887)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show