Skip to content

Commit 53cf799

Browse files
fix: restrict installation to Ubuntu 18.04 (microsoft#665)
1 parent dee8d6f commit 53cf799

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def run(self) -> None:
9292
if platform == "mac":
9393
wheel = "macosx_10_13_x86_64.whl"
9494
if platform == "linux":
95-
wheel = "manylinux1_x86_64.whl"
95+
wheel = "manylinux_2_27_x86_64.whl"
9696
if platform == "win32":
9797
wheel = "win32.whl"
9898
if platform == "win32_x64":

tests/test_installation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ def test_install(tmp_path: Path):
2828
if sys.platform == "win32":
2929
wheelpath = list((root / "dist").glob("playwright*win_amd64*.whl"))[0]
3030
elif sys.platform == "linux":
31-
wheelpath = list((root / "dist").glob("playwright*manylinux1*.whl"))[0]
31+
wheelpath = list((root / "dist").glob("playwright*manylinux_2_27_*.whl"))[0]
3232
elif sys.platform == "darwin":
3333
wheelpath = list((root / "dist").glob("playwright*macosx_10_*.whl"))[0]
34+
subprocess.check_output([context.env_exe, "-m", "pip", "install", "pip", "-U"])
3435
subprocess.check_output(
3536
[
3637
context.env_exe,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy