chore: refactor cibuildwheel.utils (#2252)

* chore: refactor cibuildwheel.utils

* rework build_frontend extra flags

* ci(fix): use tonistiigi/binfmt:qemu-v8.1.5 image for qemu
This commit is contained in:
Matthieu Darbois
2025-01-27 14:35:56 -05:00
committed by GitHub
parent 318a963cc3
commit b605f8fec8
39 changed files with 1188 additions and 1187 deletions
+3 -2
View File
@@ -7,12 +7,13 @@ from pathlib import Path
import pytest
import validate_pyproject.api
from cibuildwheel.util import resources
DIR = Path(__file__).parent.resolve()
def test_validate_default_schema():
filepath = DIR.parent / "cibuildwheel/resources/defaults.toml"
with filepath.open("rb") as f:
with resources.DEFAULTS.open("rb") as f:
example = tomllib.load(f)
validator = validate_pyproject.api.Validator()