Skip to content

Commit

Permalink
Revert "fix: restrict installation to Ubuntu 18.04 (#665)"
Browse files Browse the repository at this point in the history
This reverts commit 53cf799.

On apt based PIP installations only PIP 20.0.2 is shippd, so we can't
assume that they have a PIP which is >= 20.3 currently. Maybe in 1-2 years.
  • Loading branch information
mxschmitt committed May 12, 2021
1 parent c0de93c commit 8ff6b3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def run(self) -> None:
if platform == "mac":
wheel = "macosx_10_13_x86_64.whl"
if platform == "linux":
wheel = "manylinux_2_27_x86_64.whl"
wheel = "manylinux1_x86_64.whl"
if platform == "win32":
wheel = "win32.whl"
if platform == "win32_x64":
Expand Down
3 changes: 1 addition & 2 deletions tests/test_installation.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ def test_install(tmp_path: Path):
if sys.platform == "win32":
wheelpath = list((root / "dist").glob("playwright*win_amd64*.whl"))[0]
elif sys.platform == "linux":
wheelpath = list((root / "dist").glob("playwright*manylinux_2_27_*.whl"))[0]
wheelpath = list((root / "dist").glob("playwright*manylinux1*.whl"))[0]
elif sys.platform == "darwin":
wheelpath = list((root / "dist").glob("playwright*macosx_10_*.whl"))[0]
subprocess.check_output([context.env_exe, "-m", "pip", "install", "pip", "-U"])
subprocess.check_output(
[
context.env_exe,
Expand Down

0 comments on commit 8ff6b3b

Please sign in to comment.