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 diff --git a/pyproject.toml b/pyproject.toml index 5263875e..26d91935 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,11 +18,12 @@ 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-*"] -# ^ 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" } @@ -30,7 +31,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