From ed766cd1e24b2763c540622aac0d0b89aad13359 Mon Sep 17 00:00:00 2001 From: TheTrueAI Date: Sun, 25 Oct 2026 17:47:39 +0100 Subject: [PATCH 1/2] Fix CI: bump coveralls action, cap hypothesis on PyPy 3.10 - coverallsapp/github-action 2.3.8 installs the coveralls formula by its fully-qualified name, which Homebrew 6 requires for untrusted taps. 2.3.7 fails on macOS with "Refusing to load formula coverallsapp/coveralls/coveralls from untrusted tap". - hypothesis>=6.156 ships a Rust extension built with pyo3 0.29, which does not support PyPy < 3.11, and there are no pp310 wheels. Keep PyPy 3.10 on the last pure-Python release. --- .github/workflows/ci.yml | 4 ++-- pyproject.toml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9655039f..8f9af4213 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,7 @@ jobs: # See: https://github.com/pypy/pypy/issues/3808 TEST_SOCKETCAN: "${{ matrix.os == 'ubuntu-latest' && ! startsWith(matrix.env, 'pypy' ) }}" - name: Coveralls Parallel - uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e # 2.3.7 + uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # 2.3.8 with: github-token: ${{ secrets.github_token }} flag-name: Unittests-${{ matrix.os }}-${{ matrix.env }} @@ -73,7 +73,7 @@ jobs: fetch-depth: 0 persist-credentials: false - name: Coveralls Finished - uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e # 2.3.7 + uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # 2.3.8 with: github-token: ${{ secrets.github_token }} parallel-finished: true diff --git a/pyproject.toml b/pyproject.toml index 9dd55f8df..6694cc2bc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -103,6 +103,8 @@ test = [ "pytest-cov==7.1.*", "coverage==7.14.*", "hypothesis==6.*", + # hypothesis>=6.156 needs a Rust extension that does not support PyPy 3.10 + "hypothesis<6.156;platform_python_implementation=='PyPy' and python_version<'3.11'", "parameterized==0.9.*", ] dev = [ From 9b5fdc6e13b2a448b9f3173179ee197629ca3762 Mon Sep 17 00:00:00 2001 From: TheTrueAI Date: Sun, 25 Oct 2026 17:54:54 +0100 Subject: [PATCH 2/2] Fix CI: only install linux-modules-extra when vcan is missing ubuntu-latest now runs Ubuntu 26.04, where the vcan module is part of linux-modules and there is no linux-modules-extra package: E: Unable to locate package linux-modules-extra-7.0.0-1017-azure --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f9af4213..6a30acf65 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,8 +46,11 @@ jobs: - name: Setup SocketCAN if: ${{ matrix.os == 'ubuntu-latest' }} run: | - sudo apt-get update - sudo apt-get -y install linux-modules-extra-$(uname -r) + # Ubuntu 26.04 ships vcan in linux-modules, older releases need linux-modules-extra + if ! modinfo vcan > /dev/null 2>&1; then + sudo apt-get update + sudo apt-get -y install linux-modules-extra-$(uname -r) + fi sudo ./test/open_vcan.sh - name: Test with pytest via tox run: |