DLPX-97344 depbump: bump pytest from 9.0.2 to 9.0.3 (consolidates 9 PRs)#665
Closed
SumoSourabh wants to merge 1 commit into
Closed
DLPX-97344 depbump: bump pytest from 9.0.2 to 9.0.3 (consolidates 9 PRs)#665SumoSourabh wants to merge 1 commit into
SumoSourabh wants to merge 1 commit into
Conversation
This was referenced May 27, 2026
Contributor
Author
|
Warm-up dry-run for depbump v2 — closing. Full E2E (consolidation, build verification, CVE analysis, JIRA tracking, blackbox dispatch) completed successfully; this PR is purely a rehearsal artifact. |
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
Consolidates 9 open Dependabot PRs bumping
pytest 9.0.2 → 9.0.3across all 5 vSDK modules (common,libs,platform,tools,dvp) into a single change. Empirically verified: baseline + post-change builds both GREEN with identical test counts (762 passed, 1 skipped); flake8 and end-to-end SDK smoke (dvp init+dvp build→artifact.json) both pass. Upstream contains 47 commits including a security fix for CVE-2025-71176 (insecure-tmpdir TOCTOU) — the vulnerable code path is reached via thetmpdirfixture used by thetoolstest suite, but exploitability is LOW (test-only, requires local attacker on shared multi-user system). Risk tier: LOW.Risk tier: LOW
CVE findings
ddee02a, PR tmpdir: fix insecure temporary directory vulnerability (CVE-2025-71176) pytest-dev/pytest#14343)_pytest.tmpdir.TempPathFactory.getbasetemp()— followed symlinks on the/tmp/pytest-of-<user>directory, enabling a symlink-swapping TOCTOU attacktoolsmodule's test suite uses thetmpdirfixture extensively (32+ uses intools/src/test/python/dlpx/virtualization/_internal/conftest.py, plustest_file_util.py(12),test_plugin_dependency_util.py(21),test_templates.py(3))/tmp/pytest-of-<victim>as a symlink before the victim runs pytest; not exploitable in single-tenant CI runners or single-user dev workstations. Still worth picking up the fix.Commit breakdown (47 commits, pytest 9.0.2 → 9.0.3)
exceptiongrouptraceback no longer crashes when only hidden frames present (#14025/#14045)-p(#14018/#14074)pytest.approxcorrectly handles Mapping key order (#13815/#14142)subtestshandles non-string messages consistently (#14196/#14199)assertrepr_comparedict-insertion-order fix #14050/#14193 was backported then reverted in #14366; net effect for 9.0.3 is no behavior change here.)xfaildefault (PR #14106 + backport #14107) — small surface changeNo breaking changes that affected the vSDK build (verified empirically — see below).
Build verification
sh bin/build_project.sh -btsh bin/build_project.sh -btPer-module test counts (both phases identical):
Pip freeze diff (baseline → post-change)
Single line of change — no transitive dependency bumps were pulled in.
Additional automations
sh bin/build_project.sh -fsh bin/smoke_plugin_build.shdvp init+dvp build --dev→artifact.json(1,167,546 bytes)Post-push automation
APPDATA_SDK_UBUNTU20_STAGED_CENTOS73)Manifests affected (5)
common/requirements.txt: pytest 9.0.2 → 9.0.3libs/requirements.txt: pytest 9.0.2 → 9.0.3platform/requirements.txt: pytest 9.0.2 → 9.0.3tools/requirements.txt: pytest 9.0.2 → 9.0.3dvp/requirements.txt: pytest 9.0.2 → 9.0.3Source PRs (will auto-close once this merges)
Version note
Source PRs proposed
pytest 9.0.3. depbump resolved to9.0.3(policy:latest-minor-within-major) — currently the latest pytest release; no further upgrade available within the 9.x major.JIRA
DLPX-97344
🤖 Generated with Claude Code via
/depbump