DLPX-97348 depbump: bump pytest from 9.0.2 to 9.0.3 (consolidates 9 PRs)#666
Open
SumoSourabh wants to merge 1 commit into
Open
DLPX-97348 depbump: bump pytest from 9.0.2 to 9.0.3 (consolidates 9 PRs)#666SumoSourabh wants to merge 1 commit into
SumoSourabh wants to merge 1 commit into
Conversation
This was referenced May 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
This PR consolidates 9 open Dependabot PRs that all bump
pytestfrom9.0.2→9.0.3across the 5 module manifests into a single change. The bump pulls in CVE-2025-71176 (CVSS 6.8 MEDIUM — insecure tmpdir TOCTOU). All 47 upstream commits in the range have been classified; consumer call sites for the patched code path are exclusively in test code. Baseline + post-change builds both pass and the pip-freeze diff contains only the explicitpytestpin change (no transitive bumps).Risk tier: LOW —
merge_readyapplied.JIRA: DLPX-97348
Version transition
pytest9.0.29.0.39.0.3(matches resolved)latest-minor-within-major(per.depbump.md)common,libs,platform,tools,dvp)CVE findings
GHSA-6w46-j5rx-g56g / CVE-2025-71176 — CVSS 6.8 MEDIUM (
AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L)< 9.0.39.0.3TempPathFactory.getbasetemp()insrc/_pytest/tmpdir.py(stops following symlinks; rejects if rootdir is a symlink, closes TOCTOU window betweenstatandchmod)tmp_path,tmp_path_factory,tmpdir):tools/src/test/python/.../test_templates.py—tmp_path_factory(test code)tools/src/test/python/.../test_file_util.py—tmp_path(test code)tools/src/test/python/.../test_build.py—tmpdir(test code)tools/src/main/.../file_util.py:158:def tmpdir()is a name-collision — it's the consumer's own helper function, not pytest's fixture, and does not invoke the vulnerable code path.Commit breakdown (47 commits in 9.0.2…9.0.3)
ddee02a— CVE-2025-71176 backport)pytest.approxmapping key order,assertrepr_comparedict order, subtests non-string messages)All commits inspected via
gh api repos/pytest-dev/pytest/compare/9.0.2...9.0.3. None touch public API surfaces consumed by this repo.Manifests touched
common/requirements.txtpytest==9.0.2→pytest==9.0.3libs/requirements.txtpytest==9.0.2→pytest==9.0.3platform/requirements.txtpytest==9.0.2→pytest==9.0.3tools/requirements.txtpytest==9.0.2→pytest==9.0.3dvp/requirements.txtpytest==9.0.2→pytest==9.0.3Build verification
sh bin/build_project.sh -btsh bin/build_project.sh -btFreeze diff (
baselinevspost-change)Only the explicit pin — no transitive dep bumps required.
Additional automations (pre-push, in same venv)
sh bin/build_project.sh -fdvp init→dvp build)sh bin/smoke_plugin_build.shartifact.json1,167,726 bytesPost-push automations
Source PRs (will auto-close once this merges)
🤖 Generated by
depbump. Verification artifacts: baseline-freeze, postchange-freeze, freeze-diff captured locally in the run venv.