Skip to content

Commit d270db8

Browse files
authored
chore(tests): remove manylinux_2_24 tests (#423)
Support for manylinux_2_24 has ended on January 1st, 2023. The mirrors for debian stretch (base image) have moved & require reconfiguration if tests are to be kept. Given the manylinux image is EOL, just drop the tests.
1 parent aed555b commit d270db8

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

tests/integration/test_manylinux.py

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,12 @@
2626
MANYLINUX1_IMAGE_ID = f"quay.io/pypa/manylinux1_{PLATFORM}:latest"
2727
MANYLINUX2010_IMAGE_ID = f"quay.io/pypa/manylinux2010_{PLATFORM}:latest"
2828
MANYLINUX2014_IMAGE_ID = f"quay.io/pypa/manylinux2014_{PLATFORM}:latest"
29-
MANYLINUX_2_24_IMAGE_ID = f"quay.io/pypa/manylinux_2_24_{PLATFORM}:latest"
3029
MANYLINUX_2_28_IMAGE_ID = f"quay.io/pypa/manylinux_2_28_{PLATFORM}:latest"
3130
if PLATFORM in {"i686", "x86_64"}:
3231
MANYLINUX_IMAGES = {
3332
"manylinux_2_5": MANYLINUX1_IMAGE_ID,
3433
"manylinux_2_12": MANYLINUX2010_IMAGE_ID,
3534
"manylinux_2_17": MANYLINUX2014_IMAGE_ID,
36-
"manylinux_2_24": MANYLINUX_2_24_IMAGE_ID,
3735
"manylinux_2_28": MANYLINUX_2_28_IMAGE_ID,
3836
}
3937
POLICY_ALIASES = {
@@ -44,10 +42,8 @@
4442
else:
4543
MANYLINUX_IMAGES = {
4644
"manylinux_2_17": MANYLINUX2014_IMAGE_ID,
47-
"manylinux_2_24": MANYLINUX_2_24_IMAGE_ID,
45+
"manylinux_2_28": MANYLINUX_2_28_IMAGE_ID,
4846
}
49-
if PLATFORM in {"aarch64", "ppc64le"}:
50-
MANYLINUX_IMAGES["manylinux_2_28"] = MANYLINUX_2_28_IMAGE_ID
5147
POLICY_ALIASES = {
5248
"manylinux_2_17": ["manylinux2014"],
5349
}
@@ -65,7 +61,6 @@
6561
"manylinux_2_5": "devtoolset-2",
6662
"manylinux_2_12": "devtoolset-8",
6763
"manylinux_2_17": "devtoolset-10",
68-
"manylinux_2_24": "devtoolset-not-present",
6964
"manylinux_2_28": "gcc-toolset-12",
7065
"musllinux_1_1": "devtoolset-not-present",
7166
}
@@ -208,11 +203,6 @@ def build_numpy(container, policy, output_dir):
208203

209204
if policy.startswith("musllinux_"):
210205
docker_exec(container, "apk add openblas-dev")
211-
elif policy.startswith("manylinux_2_24_"):
212-
docker_exec(container, "apt-get update")
213-
docker_exec(
214-
container, "apt-get install -y --no-install-recommends libatlas-dev"
215-
)
216206
else:
217207
docker_exec(container, "yum install -y atlas atlas-devel")
218208

@@ -331,7 +321,6 @@ def test_repair_exclude(self, any_manylinux_container, io_folder):
331321
"manylinux_2_5_x86_64": ["libgfortran.so.1", "libgfortran.so.3"],
332322
"manylinux_2_12_x86_64": ["libgfortran.so.3", "libgfortran.so.5"],
333323
"manylinux_2_17_x86_64": ["libgfortran.so.3", "libgfortran.so.5"],
334-
"manylinux_2_24_x86_64": ["libgfortran.so.3"],
335324
"manylinux_2_28_x86_64": ["libgfortran.so.5"],
336325
"musllinux_1_1_x86_64": ["libgfortran.so.5"],
337326
}[policy]
@@ -369,11 +358,6 @@ def test_build_wheel_with_binary_executable(
369358
policy, tag, manylinux_ctr = any_manylinux_container
370359
if policy.startswith("musllinux_"):
371360
docker_exec(manylinux_ctr, "apk add gsl-dev")
372-
elif policy.startswith("manylinux_2_24_"):
373-
docker_exec(manylinux_ctr, "apt-get update")
374-
docker_exec(
375-
manylinux_ctr, "apt-get install -y --no-install-recommends libgsl-dev"
376-
)
377361
else:
378362
docker_exec(manylinux_ctr, "yum install -y gsl-devel")
379363

0 commit comments

Comments
 (0)