@@ -2306,11 +2306,13 @@ def test_cli_version(capsys: "pytest.CaptureFixture[str]"):
2306
2306
def test_pip_finds_recent_manylinux_wheels (
2307
2307
monkeypatch : "pytest.MonkeyPatch" , lightgbm_environment : Path , conda_exe : str
2308
2308
):
2309
- """Ensure that we find a pre-built manylinux wheel for lightgbm.
2309
+ """Ensure that we find a manylinux wheel with glibc > 2.17 for lightgbm.
2310
2310
2311
- If not, installation would trigger a build of lightgbm from source. If this test
2312
- fails, it likely means that MANYLINUX_TAGS in `conda_lock/pypi_solver.py` is out of
2313
- date.
2311
+ See https://github.com/conda/conda-lock/issues/517 for more context.
2312
+
2313
+ If not found, installation would trigger a build of lightgbm from source.
2314
+ If this test fails, it likely means that MANYLINUX_TAGS in
2315
+ `conda_lock/pypi_solver.py` is out of date.
2314
2316
"""
2315
2317
monkeypatch .chdir (lightgbm_environment .parent )
2316
2318
run_lock ([lightgbm_environment ], conda_exe = conda_exe , platforms = ["linux-64" ])
@@ -2324,4 +2326,6 @@ def test_pip_finds_recent_manylinux_wheels(
2324
2326
assert manylinux_match , "No match found for manylinux version in {lightgbm_dep.url}"
2325
2327
2326
2328
manylinux_version = [int (each ) for each in manylinux_match .groups ()]
2329
+ # Make sure the manylinux wheel was built with glibc > 2.17 as a
2330
+ # non-regression test for #517
2327
2331
assert manylinux_version > [2 , 17 ]
0 commit comments