[pre-commit.ci] pre-commit autoupdate (#2127)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.6...v0.9.1) - [github.com/python-jsonschema/check-jsonschema: 0.30.0 → 0.31.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.30.0...0.31.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent
a96545b729
commit
c65b088000
@@ -64,9 +64,9 @@ def test_build_identifiers(tmp_path):
|
||||
build_identifiers = utils.cibuildwheel_get_build_identifiers(
|
||||
project_dir, prerelease_pythons=True
|
||||
)
|
||||
assert len(expected_wheels) == len(
|
||||
build_identifiers
|
||||
), f"{expected_wheels} vs {build_identifiers}"
|
||||
assert len(expected_wheels) == len(build_identifiers), (
|
||||
f"{expected_wheels} vs {build_identifiers}"
|
||||
)
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
||||
@@ -77,7 +77,7 @@ def test_simple(tmp_path):
|
||||
assert os.path.exists('{package}/setup.py')
|
||||
""",
|
||||
)
|
||||
setup_py_assertion_cmd = f'python -c "{setup_py_assertion_snippet !s}"'
|
||||
setup_py_assertion_cmd = f'python -c "{setup_py_assertion_snippet!s}"'
|
||||
|
||||
# build the wheels from sdist
|
||||
actual_wheels = cibuildwheel_from_sdist_run(
|
||||
|
||||
+3
-3
@@ -295,12 +295,12 @@ def expected_wheels(
|
||||
|
||||
if machine_arch == "arm64":
|
||||
arm64_macosx = _floor_macosx(min_macosx, "11.0")
|
||||
platform_tags = [f'macosx_{arm64_macosx.replace(".", "_")}_arm64']
|
||||
platform_tags = [f"macosx_{arm64_macosx.replace('.', '_')}_arm64"]
|
||||
else:
|
||||
platform_tags = [f'macosx_{min_macosx.replace(".", "_")}_x86_64']
|
||||
platform_tags = [f"macosx_{min_macosx.replace('.', '_')}_x86_64"]
|
||||
|
||||
if include_universal2:
|
||||
platform_tags.append(f'macosx_{min_macosx.replace(".", "_")}_universal2')
|
||||
platform_tags.append(f"macosx_{min_macosx.replace('.', '_')}_universal2")
|
||||
else:
|
||||
msg = f"Unsupported platform {platform!r}"
|
||||
raise Exception(msg)
|
||||
|
||||
Reference in New Issue
Block a user