[Bot] Update dependencies (#2426)
* Update dependencies * tests: ignore tag order Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * tests: use sorted platform tags Per PEP 425, compressed tag sets should be sorted. This was fixed in auditwheel 6.4.0 * tests: use sorted platform tags this shouldn't change that often, use static order to allow override. --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by: mayeut <mayeut@users.noreply.github.com>
This commit is contained in:
co-authored by
cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
Henry Schreiner
mayeut
parent
7e099863cd
commit
0e8f4f777d
@@ -1,5 +1,6 @@
|
||||
import textwrap
|
||||
|
||||
import packaging.utils
|
||||
import pytest
|
||||
|
||||
from cibuildwheel.logger import Logger
|
||||
@@ -37,7 +38,9 @@ def test(tmp_path, build_frontend_env, capfd):
|
||||
|
||||
# check that the expected wheels are produced
|
||||
expected_wheels = utils.expected_wheels("spam", "0.1.0")
|
||||
assert set(actual_wheels) == set(expected_wheels)
|
||||
actual_wheels_normalized = {packaging.utils.parse_wheel_filename(w) for w in actual_wheels}
|
||||
expected_wheels_normalized = {packaging.utils.parse_wheel_filename(w) for w in expected_wheels}
|
||||
assert actual_wheels_normalized == expected_wheels_normalized
|
||||
|
||||
enable_groups = utils.get_enable_groups()
|
||||
if EnableGroup.GraalPy not in enable_groups:
|
||||
|
||||
@@ -95,7 +95,7 @@ def test(manylinux_image, tmp_path):
|
||||
actual_wheels = utils.cibuildwheel_run(project_dir, add_env=add_env)
|
||||
|
||||
platform_tag_map = {
|
||||
"manylinux2014": ["manylinux_2_17", "manylinux2014"],
|
||||
"manylinux2014": ["manylinux2014", "manylinux_2_17"],
|
||||
}
|
||||
expected_wheels = utils.expected_wheels(
|
||||
"spam",
|
||||
|
||||
+4
-4
@@ -250,11 +250,11 @@ def _expected_wheels(
|
||||
|
||||
if manylinux_versions is None:
|
||||
manylinux_versions = {
|
||||
"armv7l": ["manylinux_2_17", "manylinux2014", "manylinux_2_31"],
|
||||
"i686": ["manylinux_2_5", "manylinux1", "manylinux_2_17", "manylinux2014"],
|
||||
"x86_64": ["manylinux_2_5", "manylinux1", "manylinux_2_28"],
|
||||
"armv7l": ["manylinux2014", "manylinux_2_17", "manylinux_2_31"],
|
||||
"i686": ["manylinux1", "manylinux2014", "manylinux_2_17", "manylinux_2_5"],
|
||||
"x86_64": ["manylinux1", "manylinux_2_28", "manylinux_2_5"],
|
||||
"riscv64": ["manylinux_2_31", "manylinux_2_35"],
|
||||
}.get(machine_arch, ["manylinux_2_17", "manylinux2014", "manylinux_2_28"])
|
||||
}.get(machine_arch, ["manylinux2014", "manylinux_2_17", "manylinux_2_28"])
|
||||
|
||||
if musllinux_versions is None:
|
||||
musllinux_versions = ["musllinux_1_2"]
|
||||
|
||||
Reference in New Issue
Block a user