Skip to content

depbump: bump pytest from 9.0.2 to 9.0.3 (consolidates 9 PRs)#663

Closed
SumoSourabh wants to merge 1 commit into
delphix:developfrom
SumoSourabh:depbump/pytest-9.0.2-to-9.0.3
Closed

depbump: bump pytest from 9.0.2 to 9.0.3 (consolidates 9 PRs)#663
SumoSourabh wants to merge 1 commit into
delphix:developfrom
SumoSourabh:depbump/pytest-9.0.2-to-9.0.3

Conversation

@SumoSourabh
Copy link
Copy Markdown
Contributor

depbump: bump pytest from 9.0.2 to 9.0.3

Auto-generated by depbump — consolidates Dependabot PRs across modules, runs build verification, analyzes CVE exploitability, and produces a single ready-to-review PR.

TL;DR

Consolidated 9 stale Dependabot PRs for pytest across all 5 modules into one PR. Bumped from 9.0.2 → 9.0.3 (latest within current major). 762 tests pass before AND after the change, 0 install errors, 0 transitive dep movement. One CVE patched in this range (GHSA-6w46-j5rx-g56g); vSDK test code uses the affected fixtures (tmpdir/tmp_path) — fix is recommended.

Risk tier: MEDIUM

✅ depbump verified: build passes both pre- and post-change, smoke plugin builds clean, flake8 clean, CVE is medium-severity, vSDK is exposed to the fixture but the fix is a one-line bump with no breaking changes. Eligible for merge_ready.

Manifests affected (5)

  • common/requirements.txt: pytest 9.0.29.0.3
  • libs/requirements.txt: pytest 9.0.29.0.3
  • platform/requirements.txt: pytest 9.0.29.0.3
  • tools/requirements.txt: pytest 9.0.29.0.3
  • dvp/requirements.txt: pytest 9.0.29.0.3

Source PRs consolidated (9)

depbump does not close these. Once this PR merges and the dep version matches the manifests, Dependabot will auto-close them on its next scan.

CVE findings (1)

GHSA-6w46-j5rx-g56g · CVE-2025-71176 · CVSS medium

  • Fixed in: pytest 9.0.3
  • Summary: pytest has vulnerable tmpdir handling
  • Description: pytest through 9.0.2 on UNIX relies on directories with the /tmp/pytest-of-{user} name pattern, which allows local users to cause a denial of service or possibly gain privileges.
  • Your usage: 🟡 EXPOSED via pytest fixtures — 156 call sites of tmpdir/tmp_path across common/src, libs/src, platform/src, tools/src, dvp/src, which internally exercise the vulnerable code path.

Commit breakdown (10 commits between 9.0.2 and 9.0.3)

  • 1 security/CVE fix (CVE-2025-71176)
  • 4 bug fixes (assertrepr_compare revert, etc.)
  • 1 docs
  • 4 merge / patchback commits

No breaking changes detected.

Build verification

Phase Result Summary
Baseline (pre-change) ✅ PASS 762 tests passed across 5 modules
Post-change ✅ PASS 762 tests passed (same suite, post-bump)

Installed package changes (pip freeze diff)

- pytest==9.0.2
+ pytest==9.0.3

1 explicit + 0 transitive changes — clean patch bump.

Additional automations (pre-push)

  • sh bin/build_project.sh -f — flake8: 0 issues across 5 modules
  • sh bin/smoke_plugin_build.shdvp init + dvp build --dev → artifact.json 1.11 MB generated

Generated by depbump · policy: latest-minor-within-major

Consolidates 9 stale Dependabot PRs (delphix#634, delphix#635, delphix#636, delphix#637, delphix#641,
delphix#645, delphix#648, delphix#653, delphix#655) into one PR covering all 5 modules.

CVE addressed: GHSA-6w46-j5rx-g56g / CVE-2025-71176
(pytest 'vulnerable tmpdir handling', fixed in 9.0.3)
@SumoSourabh
Copy link
Copy Markdown
Contributor Author

Closing — this was a depbump dry-run rehearsal. The skill's fork-only push, source-PR notification, and merge_ready labeling all worked end-to-end. Subsequent runs will use the v2 flow with JIRA tracking + amended commit subject.

@SumoSourabh SumoSourabh deleted the depbump/pytest-9.0.2-to-9.0.3 branch May 26, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge_ready depbump: build + analysis verified, safe to merge

Development

Successfully merging this pull request may close these issues.

1 participant