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: CodSpeedHQ/pytest-codspeed
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.0.3
Choose a base ref
...
head repository: CodSpeedHQ/pytest-codspeed
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.0.4
Choose a head ref
  • 14 commits
  • 15 files changed
  • 6 contributors

Commits on Jun 22, 2026

  1. build: pin -std=c11 for instrument-hooks core.c

    The Zig-generated dist/core.c is rejected under C23 (GCC 15's default),
    so pin C11 in the native extension build.
    not-matthias committed Jun 22, 2026
    Configuration menu
    Copy the full SHA
    65832cc View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2026

  1. docs(readme): bump action version to v5 (#130)

    Refs COD-3244
    
    Co-authored-by: Claude <[email protected]>
    adriencaccia and claude authored Aug 24, 2026
    Configuration menu
    Copy the full SHA
    c7e9981 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2026

  1. feat: warn when running on an unsupported python version

    Print a warning in the pytest header when the interpreter is outside the version
    range pytest-codspeed claims to support, so customers upgrading Python are told
    their measurements run on an untested interpreter instead of getting silent,
    unvalidated results.
    
    On GitHub Actions the warning is emitted as a `::warning` workflow command so it
    becomes an annotation shown outside the job log; on GitLab CI, which has no
    annotation mechanism, the line is coloured instead. Mirrors the `warnCi` helper
    of the codspeed-node counterpart, including the percent-encoding of
    workflow-command syntax.
    
    The bounds mirror `requires-python` and the `Programming Language :: Python`
    classifiers in pyproject.toml, and the CI matrix.
    
    Refs COD-3400
    not-matthias committed Sep 4, 2026
    Configuration menu
    Copy the full SHA
    14b0bb9 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2026

  1. Configuration menu
    Copy the full SHA
    3027063 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d4041b View commit details
    Browse the repository at this point in the history
  3. ci: test against stable python 3.15 and 3.15t (#137)

    Python 3.15.0 is now available as a stable release in actions/setup-python, so replace the 3.15.0-beta.1 matrix entries with 3.15 and 3.15t. The free-threaded build is selected with the t suffix, like 3.14t, so the architecture matrix field is no longer used and is removed from the setup step.
    not-matthias authored Oct 12, 2026
    Configuration menu
    Copy the full SHA
    40ad6e6 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2026

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

Commits on Oct 30, 2026

  1. fix: support pytest 9.2 fixture manager changes

    pytest 9.2 replaced the private `FixtureManager._arg2fixturedefs` with
    `_arg2node2fixturedefs` (pytest-dev/pytest#14984). The
    `pytest_plugin_registered` hook wrote into `_arg2fixturedefs` to swap
    pytest-benchmark's `benchmark` fixture for ours, so every `--codspeed`
    run with pytest-benchmark installed crashed with an AttributeError.
    
    On pytest 9.1+, register the override through the public
    `pytest.register_fixture` API at session start instead. Older pytest
    keeps the previous `_arg2fixturedefs` swap.
    
    pytest-benchmark itself still reads the removed `Node._nodeid` on
    pytest 9.2, so the two tests that run it without `--codspeed` are
    marked as non-strict xfail on that combination.
    
    CI now also runs pytest ~=9.0.0 and ~=8.0.0 on the latest Python to
    cover the legacy override paths, and installs valgrind for the
    pytest-benchmark-4/5 configs, which the old `== 'pytest-benchmark'`
    check never matched.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    GuillaumeLagrange and claude committed Oct 30, 2026
    Configuration menu
    Copy the full SHA
    82c972b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a4c4d4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    088872f View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2026

  1. ci: skip the example tests when testing built wheels (#147)

    tests/examples holds files that other tests copy through pytester. Collected
    directly, they run pytest-benchmark's own fixture, which reads `node._nodeid`,
    removed in pytest 9.2 and still read by pytest-benchmark 5.3.0. The wheel tests
    install the latest pytest, so the v5.0.4 release build failed. The local pytest
    config already ignores tests/examples.
    
    Refs COD-4044
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
    adriencaccia and claude committed Oct 31, 2026
    Configuration menu
    Copy the full SHA
    39d95db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4087d63 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    02bb848 View commit details
    Browse the repository at this point in the history
  4. Release v5.0.4 🚀

    adriencaccia committed Oct 31, 2026
    Configuration menu
    Copy the full SHA
    7d20221 View commit details
    Browse the repository at this point in the history
Loading