Skip to content

chore(deps): bump pytest from 9.0.2 to 9.0.3 in /scripts/security in the pip group across 1 directory - #4955

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/scripts/security/pip-590e9db7b9
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/scripts/security/pip-590e9db7b9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 25, 2026

Copy link
Copy Markdown
Contributor

Bumps the pip group with 1 update in the /scripts/security directory: pytest.

Updates pytest from 9.0.2 to 9.0.3

Release notes

Sourced from pytest's releases.

9.0.3

pytest 9.0.3 (2026-04-07)

Bug fixes

  • #12444: Fixed pytest.approx which now correctly takes into account ~collections.abc.Mapping keys order to compare them.

  • #13634: Blocking a conftest.py file using the -p no: option is now explicitly disallowed.

    Previously this resulted in an internal assertion failure during plugin loading.

    Pytest now raises a clear UsageError explaining that conftest files are not plugins and cannot be disabled via -p.

  • #13734: Fixed crash when a test raises an exceptiongroup with __tracebackhide__ = True.

  • #14195: Fixed an issue where non-string messages passed to unittest.TestCase.subTest() were not printed.

  • #14343: Fixed use of insecure temporary directory (CVE-2025-71176).

Improved documentation

  • #13388: Clarified documentation for -p vs PYTEST_PLUGINS plugin loading and fixed an incorrect -p example.
  • #13731: Clarified that capture fixtures (e.g. capsys and capfd) take precedence over the -s / --capture=no command-line options in Accessing captured output from a test function <accessing-captured-output>.
  • #14088: Clarified that the default pytest_collection hook sets session.items before it calls pytest_collection_finish, not after.
  • #14255: TOML integer log levels must be quoted: Updating reference documentation.

Contributor-facing changes

  • #12689: The test reports are now published to Codecov from GitHub Actions. The test statistics is visible on the web interface.

    -- by aleguy02

Commits

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> 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 <dependency name> 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 <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
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the pip group with 1 update in the /scripts/security directory: [pytest](https://github.com/pytest-dev/pytest).


Updates `pytest` from 9.0.2 to 9.0.3
- [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.0.2...9.0.3)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.0.3
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 25, 2026
@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
clawhub Ready Ready Preview Nov 25, 2026 6:54am UTC

Request Review

@clawsweeper

clawsweeper Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added the P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. label Nov 25, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Nov 25, 2026
@clawsweeper

clawsweeper Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

This PR updates pytest from 9.0.2 to 9.0.3 and replaces its hashes in both scanner test-tool requirement files.

Example: Run a fixed-original encrypted diagnostic with consumer=workflow and source=reviewed.

  • Before: The installer selects pytest 9.0.2, matching the diagnostic inventory.
  • After: The installer selects pytest 9.0.3, and inventory validation rejects the installed environment.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The small dependency update breaks an exact diagnostic inventory contract and lacks owner direction for changing qualified versions.
Proof confidence 🌊 off-meta tidepool Not applicable: This bot-authored test-tool dependency update is outside the contributor proof gate; the Vercel preview does not exercise scanner installation.
Patch quality 🦪 silver shellfish (2/6) 1 actionable review finding remain.

Product

Kind: Maintenance · Worth it: Needs a maintainer decision · Fix scope: Complete
User problem: Scanner preparation still uses pytest 9.0.2; the proposed release includes upstream fixes, but no affected ClawHub scenario is established.
Reason: Routine dependency maintenance has potential value, but changing the scanner owner's explicitly qualified inventory requires a decision about which consumers may advance.

Merge readiness

⛔ Blocked before merge - 2 items remain

Keep this PR open: main still pins pytest 9.0.2, and this update would break fixed-original diagnostics using the workflow consumer by installing a version their inventory validator rejects.

Reviewed head: a60e6bcd4d42ffe35fab5f7a3cccba4e7db12df8
Owner decision: Required. See Decision needed.

Decision needed

  • Question: Should pytest 9.0.3 be adopted outside the frozen diagnostic qualification environments?
  • Recommendation: Preserve historical qualification and scope the update: Keep the historical inventory exact and approve adoption only for consumers whose qualification can advance.
  • Why: The existing owner-authored contract deliberately preserves pytest 9.0.2, and this PR contains no owner approval changing that contract.

Before merge

  • Preserve the pytest version required by fixed-original diagnostics (P2) - Both changed locks are copied by installOriginalRuntime and installed into its scanner environments. For a fixed-original diagnostic using consumer=workflow, run-clawscan-original038-diagnostic.ts:161 enables fixed038, and clawscan-diagnostic-runtime.ts:231-232 checks the resulting package inventory. judge-original-038-runtime.json requires pytest 9.0.2 for both scanners, so installing 9.0.3 causes 'Fixed-original dependencies differ from production contract' before capture. Preserve the qualified test-tool set for this path when advancing other consumers; do not rewrite the historical inventory to make the comparison pass. The separately pinned recovery-approved consumer is unaffected.
  • Explain or restore the original intent of Both scanner test-tool requirement files - da02df4: fix(scanner): preserve qualified test dependencies #4954 pinned the observed complete test-tool inventories after fresh installs resolved newer transitive dependencies.

Findings

  • [P2] Preserve the pytest version required by fixed-original diagnostics — scripts/security/aig-test-requirements.txt:2

Provenance

Agent review details

How this fits together

ClawHub installs hash-pinned test tools into its host scanner environments before adapter checks; fixed-original diagnostics subsequently compare installed packages against the retained qualification inventory.

flowchart TD
  A[Diagnostic workflow] --> B[Consumer checkout]
  B --> C[Scanner installer]
  D[Test requirement pins] --> C
  C --> E[Installed scanner environments]
  E --> F[Fixed inventory validator]
  F --> G[Diagnostic capture]
Loading

Technical review

Best possible solution:

Preserve pytest 9.0.2 for fixed-original qualification environments and advance other consumers only through an owner-approved dependency update that leaves historical inventories exact.

Do we have a high-confidence way to reproduce the issue?

The failure is source-reproducible: the fixed-original entry point installs pytest 9.0.3 from these files, then compares its installed version with the required 9.0.2; no target code was executed.

Is this the best way to solve the issue?

Best-fix verdict: too broad for historical consumers; preserve their existing dependency owner rather than changing retained incident fixtures, while separately deciding whether current consumers should advance.

Full review comments:

  • [P2] Preserve the pytest version required by fixed-original diagnostics — scripts/security/aig-test-requirements.txt:2
    Both changed locks are copied by installOriginalRuntime and installed into its scanner environments. For a fixed-original diagnostic using consumer=workflow, run-clawscan-original038-diagnostic.ts:161 enables fixed038, and clawscan-diagnostic-runtime.ts:231-232 checks the resulting package inventory. judge-original-038-runtime.json requires pytest 9.0.2 for both scanners, so installing 9.0.3 causes 'Fixed-original dependencies differ from production contract' before capture. Preserve the qualified test-tool set for this path when advancing other consumers; do not rewrite the historical inventory to make the comparison pass. The separately pinned recovery-approved consumer is unaffected.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against da02df44297c.

Testing

Proof path: none.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vincent Koc: Raw commit da02df4 adds specs/security-consumer-model-policy.md:90 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: da02df44297c; files: specs/security-consumer-model-policy.md)

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add merge-risk: 🚨 automation: The dependency change makes workflow-consumer fixed-original diagnostics fail their exact installed-package inventory check before capture.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🌊 off-meta tidepool and patch quality is 🦪 silver shellfish.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • merge-risk: 🚨 automation: The dependency change makes workflow-consumer fixed-original diagnostics fail their exact installed-package inventory check before capture.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🌊 off-meta tidepool and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 25, 2026, 2:05 AM ET / 07:05 UTC.

This branch was successfully deployed

1 active deployment
Preview – clawhub — a60e6bcd Deployed Nov 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. python Pull requests that update python code rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants