From 881a9cfe9acec1f0e911660a4c087946882c9aaa Mon Sep 17 00:00:00 2001 From: Esteban Zimanyi Date: Fri, 23 Oct 2026 01:27:56 +0200 Subject: [PATCH] Build PyMEOS-CFFI from the branch of the MEOS line the version maps to The test job builds MEOS from the MobilityDB branch the package version maps to (stable-X.Y on a released line, master on the next one), and PyMEOS-CFFI from a branch named as the PyMEOS one or else from the same line: the PyMEOS-CFFI stable-1.3 branch for 1.3.x, master for 1.4. Witness: PyMEOS #56 (run 39871461408) builds MEOS from stable-1.3 and, finding no PyMEOS-CFFI branch named gaps, clones PyMEOS-CFFI master, the 1.4 line, whose generator reads a catalog the 1.3 job does not provide: every job fails at "Install pymeos_cffi" with FileNotFoundError: builder/meos-idl.json. Measured: on the released stack (pymeos-cffi 1.3.0), PyMEOS master passes 4462 tests and #56 4505, the same 24 MF-JSON whitespace failures on both. Why: a released PyMEOS line binds the released MEOS line and the CFFI cut from it; CFFI master tracks MEOS master, so it never builds against a stable-X.Y libmeos. --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 967c58b0..ac1ccf41 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -90,12 +90,15 @@ jobs: python-version: ${{ matrix.python-version }} cache: "pip" + # A PyMEOS-CFFI branch named as this one carries a matching CFFI change; otherwise the + # CFFI of the MEOS line the package version maps to: stable-X.Y on a released line, + # master on the next one. - name: Fetch PyMEOS CFFI sources env: BRANCH_NAME: ${{ github.head_ref || github.ref_name }} run: | git clone --branch ${{ env.BRANCH_NAME }} --depth 1 https://github.com/MobilityDB/PyMEOS-CFFI \ - || git clone --branch ${{ github.base_ref || 'master' }} --depth 1 https://github.com/MobilityDB/PyMEOS-CFFI + || git clone --branch ${{ steps.meos_branch.outputs.meos_branch }} --depth 1 https://github.com/MobilityDB/PyMEOS-CFFI - name: Install python dependencies run: |