From d31cc96f6518e6558a52042295ed9b1ad718aca0 Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Fri, 14 Aug 2026 22:37:18 +0300 Subject: [PATCH 1/3] gh-actions cibw: use the cache --- .github/workflows/wheels.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 70d09ad3..26cd4684 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -48,7 +48,6 @@ jobs: key: cibw-${{ runner.os }}-${{ hashFiles('pyproject.toml') }} restore-keys: | cibw-${{ runner.os }}- - lookup-only: true # Used to host cibuildwheel - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: @@ -105,7 +104,6 @@ jobs: key: cibw-${{ runner.os }}-${{ hashFiles('pyproject.toml') }} restore-keys: | cibw-${{ runner.os }}- - lookup-only: true - name: Build wheels run: python -m cibuildwheel . --output-dir wheelhouse env: @@ -173,7 +171,6 @@ jobs: key: cibw-${{ runner.os }}-${{ hashFiles('pyproject.toml') }} restore-keys: | cibw-${{ runner.os }}- - lookup-only: true # Used to host cibuildwheel - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 @@ -235,7 +232,6 @@ jobs: key: cibw-${{ runner.os }}-${{ hashFiles('pyproject.toml') }} restore-keys: | cibw-${{ runner.os }}- - lookup-only: true - name: Set up QEMU uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0 From 2a754986d9c987041f40826372180ced50fb44ec Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Sat, 15 Aug 2026 14:22:13 +0300 Subject: [PATCH 2/3] cibuildwheel: skip flaky test test_load_by_yaml_metaschema --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5263875e..4d4c7ad0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ build-backend = "setuptools.build_meta" write_to = "src/schema_salad/_version.py" [tool.cibuildwheel] -test-command = "python -m pytest -n auto --junitxml={project}/test-results/junit_$(python -V | awk '{print $2}')_${AUDITWHEEL_PLAT}.xml --pyargs schema_salad" +test-command = "python -m pytest -n auto -k 'not (test_load_by_yaml_metaschema)' --junitxml={project}/test-results/junit_$(python -V | awk '{print $2}')_${AUDITWHEEL_PLAT}.xml --pyargs schema_salad" test-requires = "-r test-requirements.txt" test-extras = "pycodegen" skip = ["cp31?t-*"] @@ -30,7 +30,7 @@ environment = { SCHEMA_SALAD_USE_MYPYC="1", MYPYPATH="$(pwd)/mypy-stubs", CCACHE before-all = "apk add ccache || yum install -y ccache || dnf --nogpg -y install https://www.rpmfind.net/linux/opensuse/ports/riscv/tumbleweed/repo/oss/riscv64/ccache-4.13.6-1.3.riscv64.rpm https://www.rpmfind.net/linux/opensuse/ports/riscv/tumbleweed/repo/oss/riscv64/libcpp-httplib0_49-0.49.0-4.1.riscv64.rpm https://www.rpmfind.net/linux/opensuse/ports/riscv/tumbleweed/repo/oss/riscv64/libfmt12-12.1.0-1.1.riscv64.rpm https://www.rpmfind.net/linux/opensuse/ports/riscv/tumbleweed/repo/oss/riscv64/libhiredis1_3_0-1.3.0-1.1.riscv64.rpm https://www.rpmfind.net/linux/opensuse/ports/riscv/tumbleweed/repo/oss/riscv64/libxxhash0-0.8.3-4.2.riscv64.rpm || apt-get install -y --no-install-recommends ccache" [tool.cibuildwheel.pyodide] -test-command = "python -m pytest -n 0 --junitxml={project}/test-results/junit_$(python -V | awk '{print $2}')_${AUDITWHEEL_PLAT}.xml --pyargs schema_salad" +test-command = "python -m pytest -n 0 -k 'not (test_load_by_yaml_metaschema)' --junitxml={project}/test-results/junit_$(python -V | awk '{print $2}')_${AUDITWHEEL_PLAT}.xml --pyargs schema_salad" [tool.black] line-length = 100 From 8e28202f3be40edaf41b880a601636edc48803fe Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Sat, 15 Aug 2026 15:21:28 +0300 Subject: [PATCH 3/3] cibuildwheel: skip cp315-pyodide* for now --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4d4c7ad0..26d91935 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,8 +21,9 @@ write_to = "src/schema_salad/_version.py" test-command = "python -m pytest -n auto -k 'not (test_load_by_yaml_metaschema)' --junitxml={project}/test-results/junit_$(python -V | awk '{print $2}')_${AUDITWHEEL_PLAT}.xml --pyargs schema_salad" test-requires = "-r test-requirements.txt" test-extras = "pycodegen" -skip = ["cp31?t-*"] -# ^ https://mypy.readthedocs.io/en/stable/changelog.html#mypyc-partial-unsafe-support-for-free-threading +skip = ["cp31?t-*", "cp315-pyodide*"] +# cp31?t: https://mypy.readthedocs.io/en/stable/changelog.html#mypyc-partial-unsafe-support-for-free-threading +# cp315-pyodide_wasm32: cachecontrol/msgpack isn't ready for py315/pyodide yet build-verbosity = 1 environment = { SCHEMA_SALAD_USE_MYPYC="1", MYPYPATH="$(pwd)/mypy-stubs", CCACHE_SLOPPINESS="include_file_ctime,include_file_mtime,locale,time_macros", CCACHE_NOHASHDIR="true" }