From df8040108a03cb1371a9ba182177724ce1c3bd34 Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Wed, 28 Oct 2026 15:28:32 +0000 Subject: [PATCH] Run olddeps CI test on Debian bookworm Ubuntu 22.04 doesn't have a recent enough SQLite version Ubuntu 24.04 would be *too* recent --- .github/workflows/tests.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 309ec2111f..a9b0665406 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -468,7 +468,9 @@ jobs: needs: - linting-done - changes - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest + # Debian oldstable, to test against our minimum supported SQLite version + container: docker.io/python:3.11-bookworm steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -478,16 +480,10 @@ jobs: toolchain: ${{ env.RUST_VERSION }} - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 - # There aren't wheels for some of the older deps, so we need to install - # their build dependencies - run: | - sudo apt-get -qq update - sudo apt-get -qq install build-essential libffi-dev python3-dev \ - libxslt-dev xmlsec1 zlib1g-dev libjpeg-dev libwebp-dev - - - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 - with: - python-version: "3.11" + apt-get -qq update + # xmlsec1 is needed for the SAML tests + apt-get -qq install xmlsec1 - name: Prepare old deps # Note: we install using `uv` here, not poetry or pip to allow us to test with the