Skip to content

fix(deps): update dependency coverage to v7.14.2 - #35

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/coverage-7.x
Closed

fix(deps): update dependency coverage to v7.14.2#35
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/coverage-7.x

Conversation

@renovate

@renovate renovate Bot commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
coverage ==7.14.1==7.14.2 age confidence

Release Notes

coveragepy/coveragepy (coverage)

v7.14.2

Compare Source

  • Fix: some messages were being written to stdout, making coverage json -o - useless for capturing JSON output. Now messages are written to stderr,
    fixing issue 2197_.

  • Fix: CoverageData kept one SQLite connection per thread that recorded
    coverage, but never closed them when those threads terminated. On long runs
    with many short-lived threads this leaked one file descriptor per dead
    thread, eventually failing with OSError: [Errno 24] Too many open files.
    Connections belonging to terminated threads are now closed and dropped.
    Fixes issue 2192_.

  • Fix: when using sys.monitoring, we were assuming we could use the
    COVERAGE_ID tool id. But other tools might also assume they could use
    that id. Pre-allocated ids don't really make sense, so now we search for a
    usable one instead. Fixes issue 2187. Thanks, Matthew Lloyd <pull 2198_>.

  • Following the advice of cibuildwheel <no-13t_>_, we no longer distribute
    wheels for Python 3.13 free-threaded.

.. _issue 2187: #​2187
.. _issue 2192: #​2192
.. _issue 2197: #​2197
.. _pull 2198: #​2198
.. _no-13t: https://py-free-threading.github.io/ci/#building-free-threaded-wheels-with-cibuildwheel

.. _changes_7-14-1:


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@coderabbitai

coderabbitai Bot commented Jun 20, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The pinned coverage version in the dev optional dependency list within pyproject.toml is updated from 7.14.1 to 7.14.2. No other files or configuration values are changed.

Changes

coverage Dev Dependency Bump

Layer / File(s) Summary
coverage pin update
pyproject.toml
The coverage pin in the dev optional dependencies is changed from 7.14.1 to 7.14.2.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and accurately summarizes the main change: updating the coverage dependency from 7.14.1 to 7.14.2, which is the sole modification in this PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/coverage-7.x

Comment @coderabbitai help to get the list of available commands and usage tips.

@agents-workflows-bot

Copy link
Copy Markdown

Workflow source needed

PR #35 needs either a linked GitHub issue or one valid non-issue Workflow Source before PR metadata automation can manage it safely.

Please do one of:

  • Add <!-- meta:issue:123 --> or a normal Closes #123 / Related to #123 line.
  • Check one Workflow Source option in the PR body.
  • Add a hidden marker such as <!-- workflow-source:local_request -->, <!-- workflow-source:manual_remote -->, <!-- workflow-source:review_followup -->, <!-- workflow-source:sync_campaign -->, or <!-- workflow-source:dependabot -->.
  • Add a workflow source label such as workflow:source-direct-pr, workflow:source-local-request, workflow:source-review-followup, workflow:source-sync, or workflow:no-automation.

Once a valid source is present, this warning will not be reposted.

@github-actions

Copy link
Copy Markdown
Contributor

🤖 Keepalive Loop Status

PR #35 | Agent: Codex | Iteration 0/5

Current State

Metric Value
Iteration progress [----------] 0/5
Action wait (missing-agent-label)
Disposition skipped (transient)
Gate failure
Tasks 0/2 complete
Timeout 45 min (default)
Timeout usage 1m elapsed (3%, 44m remaining)
Keepalive ❌ disabled
Autofix ❌ disabled

🔍 Failure Classification

| Error type | infrastructure |
| Error category | resource |
| Suggested recovery | Confirm the referenced resource exists (repo, PR, branch, workflow, or file). |

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
pyproject.toml (1)

37-40: ⚠️ Potential issue | 🟠 Major

Add fail_under = 35 to the [tool.coverage.report] section in pyproject.toml to match the coverage-min: "35" setting in workflow files.

The coding guidelines require coverage threshold settings to match between pyproject.toml and workflow files. The .github/workflows/pr-00-gate.yml file specifies coverage-min: "35", but pyproject.toml lacks the corresponding fail_under setting in the [tool.coverage.report] section. Add fail_under = 35 to align with the workflow configuration.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@pyproject.toml` around lines 37 - 40, In the `[tool.coverage.report]` section
of pyproject.toml, add the configuration `fail_under = 35` to match the coverage
threshold specified in the workflow files. This setting should be added
alongside the existing precision, show_missing, and skip_covered settings to
ensure consistency between the local coverage configuration and the CI/CD
workflow requirements.

Source: Coding guidelines

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@pyproject.toml`:
- Around line 37-40: In the `[tool.coverage.report]` section of pyproject.toml,
add the configuration `fail_under = 35` to match the coverage threshold
specified in the workflow files. This setting should be added alongside the
existing precision, show_missing, and skip_covered settings to ensure
consistency between the local coverage configuration and the CI/CD workflow
requirements.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: ceeb1ca1-6a90-4df4-9f85-0029e4d6cb80

📥 Commits

Reviewing files that changed from the base of the PR and between 4bd119e and a08fd09.

📒 Files selected for processing (1)
  • pyproject.toml
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • stranske/Workflows (auto-detected)
📜 Review details
⏰ Context from checks skipped due to timeout. (1)
  • GitHub Check: Python CI / logs summary
🧰 Additional context used
📓 Path-based instructions (3)
pyproject.toml

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

pyproject.toml: For mypy type errors on modules with existing type issues, add overrides to pyproject.toml with ignore_errors = true instead of using exclude patterns
Use ignore_errors = true in mypy overrides instead of exclude patterns because exclude only prevents direct checking, not imports from other modules

Files:

  • pyproject.toml
{pyproject.toml,.github/workflows/**/*.{yml,yaml}}

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

Ensure coverage threshold settings match between pyproject.toml ([tool.coverage.report] fail_under) and workflow files (coverage-min setting)

Files:

  • pyproject.toml
{requirements*.txt,setup.py,pyproject.toml}

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

Pin jsonschema to compatible range jsonschema>=4.17.3,<4.23.0 due to breaking changes in version 4.23.0+ with referencing

Files:

  • pyproject.toml
🔀 Multi-repo context stranske/Workflows

Based on my exploration of the repository, I've identified relevant cross-repository context related to the coverage version update:

Findings

Repository: stranske/Workflows

Coverage JSON Usage [::stranske/Workflows::]

The project has significant coverage integration that directly processes coverage.json output:

  1. tools/coverage_trend.py [::stranske/Workflows::]:

    • Parses coverage.json to extract coverage metrics
    • Used to generate trend analysis and identify hotspot files
    • Called with --coverage-json argument to load coverage data
  2. tools/coverage_guard.py [::stranske/Workflows::]:

    • Loads coverage.json (default path: coverage.json) to compare coverage against baseline
    • Extracts file-level coverage data to identify low-coverage hotspots
    • Maintains coverage baseline breach tracking via GitHub issues
  3. Workflow Integration [::stranske/Workflows::]:

    • Coverage is a pinned dev dependency in pyproject.toml for the test suite
    • Multiple GitHub Actions workflows reference coverage artifacts and metrics
    • pyproject.toml configures coverage with parallel mode and branch coverage enabled

Potential Impact of v7.14.2 Changes [::stranske/Workflows::]:

The most relevant fix in coverage 7.14.2 for this project is:

  • Output stream correction: Messages previously written to stdout are now written to stderr, improving JSON output capture with coverage json -o -

Status: This change should be beneficial for the repository since it fixes JSON output capture, which directly supports the existing coverage.json parsing in tools/coverage_trend.py and tools/coverage_guard.py. The fix ensures cleaner JSON output when coverage reports are generated or piped.

The other fixes (connection leak, tool ID handling, wheel distribution) should have no negative impact on the Python-based coverage tools used in this repository.

🔇 Additional comments (1)
pyproject.toml (1)

20-20: LGTM!

@stranske

Copy link
Copy Markdown
Owner

Closing as superseded by Workflows source-of-truth pin update stranske/Workflows#2497. The coverage pin is owned by Workflows .github/workflows/autofix-versions.env and should propagate through Maint 52/dev-tool sync rather than a pyproject-only Renovate PR.

@stranske stranske closed this Jun 22, 2026
@stranske
stranske deleted the renovate/coverage-7.x branch June 22, 2026 04:15
@renovate

renovate Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (==7.14.2). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant