Skip to content

Commit

Permalink
remove linux pypy wheel,
Browse files Browse the repository at this point in the history
apply patch from #1758 (comment)
  • Loading branch information
Czaki committed May 16, 2020
1 parent e0822f4 commit de68be6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
env:
CIBW_SKIP: "pp27-*win* cp27-*manylinux*"
CIBW_SKIP: "pp27-*win* cp27-*manylinux2014* pp-*manylinux2010*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
steps:
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
env:
CIBW_SKIP: "pp27-*win* *27*"
CIBW_SKIP: "pp27-*win* *27* cp27-*manylinux2014* pp-*manylinux2010*"
CIBW_TEST_COMMAND: python -Wa {project}/psutil/tests/runner.py
CIBW_TEST_COMMAND_MACOS: LC_ALL='en_US.utf8' python -Wa {project}/psutil/tests/runner.py
CIBW_TEST_EXTRAS: test
Expand Down
4 changes: 3 additions & 1 deletion psutil/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@ def attempt(exe):
else:
return exe

if MACOS:
if GITHUB_WHEELS:
return 'python'
elif MACOS:
exe = \
attempt(sys.executable) or \
attempt(os.path.realpath(sys.executable)) or \
Expand Down

0 comments on commit de68be6

Please sign in to comment.