Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: coveragepy/coveragepy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7.16.1
Choose a base ref
...
head repository: coveragepy/coveragepy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7.16.2
Choose a head ref
  • 15 commits
  • 33 files changed
  • 9 contributors

Commits on Sep 13, 2026

  1. build: bump version to 7.16.2

    nedbat committed Sep 13, 2026
    Configuration menu
    Copy the full SHA
    08f1289 View commit details
    Browse the repository at this point in the history
  2. build: howto simplifications

    nedbat committed Sep 13, 2026
    Configuration menu
    Copy the full SHA
    f108ca8 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2026

  1. chore: bump the action-dependencies group with 4 updates (#2285)

    Bumps the action-dependencies group with 4 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/autobuild](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv).
    
    
    Updates `github/codeql-action/init` from 4.37.9 to 4.38.0
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@cdf488f...b96794f)
    
    Updates `github/codeql-action/autobuild` from 4.37.9 to 4.38.0
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@cdf488f...b96794f)
    
    Updates `github/codeql-action/analyze` from 4.37.9 to 4.38.0
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@cdf488f...b96794f)
    
    Updates `astral-sh/setup-uv` from 10.0.1 to 10.1.0
    - [Release notes](https://github.com/astral-sh/setup-uv/releases)
    - [Commits](astral-sh/setup-uv@20cfd1b...bec219d)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action/init
      dependency-version: 4.38.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: action-dependencies
    - dependency-name: github/codeql-action/autobuild
      dependency-version: 4.38.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: action-dependencies
    - dependency-name: github/codeql-action/analyze
      dependency-version: 4.38.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: action-dependencies
    - dependency-name: astral-sh/setup-uv
      dependency-version: 10.1.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: action-dependencies
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 20, 2026
    Configuration menu
    Copy the full SHA
    6218a3b View commit details
    Browse the repository at this point in the history
  2. build: restore if: always() so the branch protection gate can fail (#…

    …2286)
    
    The `success` job is the required check for branch protection, but with no
    `if:` condition GitHub skips it whenever `tests` does not succeed, so on a red
    matrix the check reports "skipped" rather than "failure".  `if: always()` was
    part of the gate when it landed in fdc40d0; f597744 replaced it with a
    `-notests` guard, and that guard went away when the `needs.changed` condition
    was added.
    
    `allowed-skips: tests` keeps the deliberate skips green: a `-notests` branch or
    a change that touches no test-relevant files.
    
    Co-authored-by: Claude Opus 5 <[email protected]>
    glaziermag and claude authored Sep 20, 2026
    Configuration menu
    Copy the full SHA
    8070b14 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8b7d10d View commit details
    Browse the repository at this point in the history
  4. chore: make upgrade

    nedbat committed Sep 20, 2026
    Configuration menu
    Copy the full SHA
    85a9088 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cc1ced4 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2026

  1. fix: loop completion arcs on Python 3.14 (#2281)

    * Fix loop completion arcs on Python 3.14
    
    Fixes #2168.
    
    * Limit loop completion fix to C tracer
    
    * Fix loop completion arcs in Python tracer
    
    * Test PyTracer return handling directly
    
    * no need for pragma in a file that's completely unmeasured
    
    * we don't test tracers this closely
    
    * make the change description more concise
    
    * remove now-unused imports
    
    * re-trigger build
    
    ---------
    
    Co-authored-by: Caitlyn Lye <[email protected]>
    Co-authored-by: Ned Batchelder <[email protected]>
    3 people authored Sep 21, 2026
    Configuration menu
    Copy the full SHA
    f653aae View commit details
    Browse the repository at this point in the history
  2. Document parallel tox coverage data files (#2284)

    * Document parallel tox coverage data files
    
    * Mention automatic combine for tox data files
    
    * clarify parallel test running and combining
    
    ---------
    
    Co-authored-by: Ned Batchelder <[email protected]>
    HanpuLi and nedbat authored Sep 21, 2026
    Configuration menu
    Copy the full SHA
    52afd6b View commit details
    Browse the repository at this point in the history
  3. refactor: positional-only args are better than pragmas

    Type checkers don't like the subclasses using different names for arguments, so
    mark the methods as positional-only to keep the names from mattering. They are
    called as positional as a parent class object anyway.
    nedbat committed Sep 21, 2026
    Configuration menu
    Copy the full SHA
    bc7b0e3 View commit details
    Browse the repository at this point in the history
  4. style: Protocols should use ... for method bodies

    The pyright type checker didn't like empty bodies, it checked the "None" return
    against the declared type.
    nedbat committed Sep 21, 2026
    Configuration menu
    Copy the full SHA
    08fbc32 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2026

  1. Configuration menu
    Copy the full SHA
    c6dab1f View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2026

  1. fix: stop counting the try/else line when a with statement raises (#2301

    )
    
    * Stop branch arcs at RERAISE so a raised with does not cover try/else.
    
    On Python 3.14 the not-taken with handler was walked into the following
    jump and the else line was reported as covered.
    
    Co-authored-by: Cursor <[email protected]>
    
    * Skip PyPy exception-handler line events that land on the try/else line.
    
    Co-authored-by: Cursor <[email protected]>
    
    * Wrap the PyPy opcode check so ruff format accepts it.
    
    * Cover the PyPy line skip and the no-fall-through branch.
    
    * Skip the opcode test when the interpreter has no PUSH_EXC_INFO.
    
    * Satisfy pylint and the type checker in the opcode test.
    
    * Narrow the opcode to int before building the fake code bytes.
    
    * Remove the useless pylint suppression on the opcode assertion.
    
    Co-authored-by: Cursor <[email protected]>
    
    * Run the reraise sample so the test file is fully covered.
    
    Co-authored-by: Cursor <[email protected]>
    
    * Import the opcode name only when the seeded revert has not removed it.
    
    Co-authored-by: Cursor <[email protected]>
    
    * Skip the arc test when the seeded revert removes the no-fall-through set.
    
    Co-authored-by: Cursor <[email protected]>
    
    * Type the seeded no-fall-through fallback as a set of ints.
    
    Co-authored-by: Cursor <[email protected]>
    
    * Build the seeded fallback set without redefining the imported name.
    
    Co-authored-by: Cursor <[email protected]>
    
    * Exclude the seeded-only test lines from coverage.
    
    Co-authored-by: Cursor <[email protected]>
    
    * Use the metacov exclude pragma for the seeded-only lines.
    
    Co-authored-by: Cursor <[email protected]>
    
    * no need for this deep a test of the PyPy fix
    
    * tweak the changelog
    
    ---------
    
    Co-authored-by: Cursor <[email protected]>
    Co-authored-by: Ned Batchelder <[email protected]>
    3 people authored Sep 26, 2026
    Configuration menu
    Copy the full SHA
    8ad7236 View commit details
    Browse the repository at this point in the history
  2. fix: dynamic_context for @staticmethod and @classmethod tests (issue …

    …1923) (#2297)
    
    * fix: give static and class method tests a dynamic context
    
    `qualname_from_frame()` found a test method through its `self` argument
    or through the module globals, so `@staticmethod` and `@classmethod`
    tests got no context under `dynamic_context = test_function`.  Use the
    code object's `co_qualname` (Python 3.11+) when neither lookup works,
    but only for real function frames, so a class body with a test-like
    name (test_bug_829) is still ignored.  Closes #1923.
    
    Co-Authored-By: Claude Fable 5.1 <[email protected]>
    
    * use a comment we will find when we drop 3.10
    
    ---------
    
    Co-authored-by: glaziermag <[email protected]>
    Co-authored-by: Claude Fable 5.1 <[email protected]>
    Co-authored-by: Ned Batchelder <[email protected]>
    4 people authored Sep 26, 2026
    Configuration menu
    Copy the full SHA
    a3e969f View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2026

  1. docs: prep for 7.16.2

    nedbat committed Sep 27, 2026
    Configuration menu
    Copy the full SHA
    5643ae7 View commit details
    Browse the repository at this point in the history
Loading