From 7c3771f0b1f426cbf465268b57f2a33ed9b9bbe3 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 5 Jul 2021 09:58:50 +0200 Subject: Add glibc check to mkvenv.py --- scripts/mkvenv.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/mkvenv.py b/scripts/mkvenv.py index d5cd5f5d7..7f6920bb8 100755 --- a/scripts/mkvenv.py +++ b/scripts/mkvenv.py @@ -238,6 +238,9 @@ def install_pyqt_binary(venv_dir: pathlib.Path, version: str) -> None: utils.print_error( f"{platform.machine()} is not a supported architecture for PyQt5 binaries " f"on {sys.platform}, this will most likely fail.") + elif sys.platform == 'linux' and platform.libc_ver()[0] != 'glibc': + utils.print_error("Non-glibc Linux is not a supported platform for PyQt5 " + "binaries, this will most likely fail.") pip_install(venv_dir, '-r', pyqt_requirements_file(version), '--only-binary', 'PyQt5,PyQtWebEngine') -- cgit v1.2.3-54-g00ecf