Repository navigation
build(deps-dev): bump pytest from 9.1.1 to 9.2.0 in the minor-patch group - #9
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps the minor-patch group with 1 update: [pytest](https://github.com/pytest-dev/pytest). Updates `pytest` from 9.1.1 to 9.2.0 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@9.1.1...9.2.0) --- updated-dependencies: - dependency-name: pytest dependency-version: 9.2.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch ... Signed-off-by: dependabot[bot] <support@github.com>
|
Closing: pytest 9.2 is incompatible with how our tests patch pydantic private attributes. Reproduced locally on this PR's tree (
Holding pytest at 9.1.1 via a Dependabot ignore (next PR) so this does not reopen weekly. When |
pytest 9.2 breaks every test that monkeypatches a pydantic PrivateAttr on Settings: monkeypatch's undo calls pydantic's __delattr__, which raises when the key is not in __pydantic_private__. Reproduced on #9's tree: 53 passed on 9.1.1, 1 passed + 52 errors on 9.2.0, all in the autouse _clean fixture (tests/unit/test_sandbox_org.py). An ignore keeps the bump from reopening every week. The real fix, when someone wants 9.2, is in that module's _patch_all(): set and restore through obj.__pydantic_private__ instead of monkeypatch.setattr. Co-Authored-By: Claude Code <noreply@anthropic.com>
pytest 9.2 breaks every test that monkeypatches a pydantic PrivateAttr on Settings: monkeypatch's undo calls pydantic's __delattr__, which raises when the key is not in __pydantic_private__. Reproduced on #9's tree: 53 passed on 9.1.1, 1 passed + 52 errors on 9.2.0, all in the autouse _clean fixture (tests/unit/test_sandbox_org.py). An ignore keeps the bump from reopening every week. The real fix, when someone wants 9.2, is in that module's _patch_all(): set and restore through obj.__pydantic_private__ instead of monkeypatch.setattr. Co-authored-by: georgiedekker <georgiedekker@gmail.com> Co-authored-by: Claude Code <noreply@anthropic.com>
Bumps the minor-patch group with 1 update: pytest.
Updates
pytestfrom 9.1.1 to 9.2.0Release notes
Sourced from pytest's releases.
... (truncated)
Commits
ae1d0ffPrepare release version 9.2.0143ce31pre-commit: exclude codespell on generated release announcements532dc5ftox: add attrs dependency to regen, needed in reportingdemo.rsta7b2446Merge pull request #15245 from pytest-dev/claude/project-thread-9jcf91679d09c[pre-commit.ci] pre-commit autoupdate (#15266)41d12cddocs: clarify typing for yield fixturesb9022baMerge pull request #15182 from 1871698/docs/improve-getting-started-description16f87a7docs: improve getting-started.rst test execution description082ed70Merge pull request #15255 from pytest-dev/claude/project-thread-eoi3d6ae37a01Merge pull request #15227 from pytest-dev/claude/project-thread-4etye4Dependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill 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 <dependency name> minor versionwill 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 <dependency name>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 <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions