Skip to content

CI: optional test run on a pypy 3.11 nightly build, see #1755 - #10142

Merged
ThomasWaldmann merged 1 commit into
borgbackup:masterfrom
ThomasWaldmann:ci-pypy-nightly
Aug 17, 2026
Merged

CI: optional test run on a pypy 3.11 nightly build, see #1755#10142
ThomasWaldmann merged 1 commit into
borgbackup:masterfrom
ThomasWaldmann:ci-pypy-nightly

Conversation

@ThomasWaldmann

Copy link
Copy Markdown
Member

Summary

Adds an optional, non-blocking workflow that runs the test suite against a
pypy 3.11 nightly build (actions/setup-python with python-version: pypy-3.11-nightly).

  • Runs on a schedule (05:00 UTC) and via workflow_dispatch, not on PRs, so it does not
    add time to normal CI.
  • continue-on-error: true, so it never blocks anything - it only reports.
  • No fuse extras (the fuse bindings do not support pypy, those tests skip) and the unlocked
    development requirements (the lock file pins versions/wheels for CPython).

Why a nightly rather than a released pypy: pypy nightlies change daily, and borg's C extension
code keeps running into cpyext differences - pypy/pypy#5543, #5544, #5545, #5546, #5564 and
#5565 all came out of testing borg on pypy. This job notices breakage on either side early.
It also is what upstream suggested in pypy/pypy#5546.

Split out of #9976, so the workflow can be considered independently of the pypy code changes.

Note on merge order: on master alone the suite does not pass on pypy yet - without #9976
about 500 tests fail on the cpyext memoryview incompatibility (pypy/pypy#5564), so this job
would report a red run until #9976 is merged. It is continue-on-error, so nothing is blocked
either way, but merging this after #9976 avoids the noise.

See #1755.

Scheduled (and manually triggerable) job that installs a pypy-3.11-nightly via
actions/setup-python and runs the test suite with it. It is not part of ci.yml
and it is continue-on-error, so it never blocks anything - it only reports.

pypy nightlies change daily and borg's C extension code keeps running into
cpyext differences, so both borg regressions and pypy regressions show up here
early. No fuse extras: the fuse bindings do not support pypy, those tests skip.
The unlocked development requirements are used, because the lock file pins
versions/wheels for CPython.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@ThomasWaldmann
ThomasWaldmann merged commit aa39d83 into borgbackup:master Aug 17, 2026
3 of 16 checks passed
@ThomasWaldmann
ThomasWaldmann deleted the ci-pypy-nightly branch August 17, 2026 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant