diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2020-05-17 12:53:46 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2020-05-17 12:53:46 +0200 |
commit | 7f13335d6fb782e59b4165a5928aa6c61f8176d1 (patch) | |
tree | eecb7eb78552de04abbfa1677b1ad6b2ac9a5721 | |
parent | bc1ad6c1f310beeffce9c67f847c26c363ca9a34 (diff) | |
download | psutil-7f13335d6fb782e59b4165a5928aa6c61f8176d1.tar.gz |
try to fix failure
-rw-r--r-- | .github/workflows/build_wheels.yml | 4 | ||||
-rwxr-xr-x | psutil/tests/test_unicode.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 7aafa600..0f922b34 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -11,7 +11,7 @@ jobs: matrix: os: [windows-latest, macos-latest, ubuntu-latest] env: - CIBW_SKIP: "*manylinux2010*" + CIBW_SKIP: "pp27-*win* cp27-*manylinux* pp-*manylinux*" CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 CIBW_MANYLINUX_I686_IMAGE: manylinux2014 steps: @@ -46,7 +46,7 @@ jobs: matrix: os: [windows-latest, macos-latest, ubuntu-latest] env: - CIBW_SKIP: "*manylinux2010*" + CIBW_SKIP: "pp27-*win* *27* cp27-*manylinux* pp-*manylinux*" 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 diff --git a/psutil/tests/test_unicode.py b/psutil/tests/test_unicode.py index c2128c83..af421d4e 100755 --- a/psutil/tests/test_unicode.py +++ b/psutil/tests/test_unicode.py @@ -144,7 +144,7 @@ def subprocess_supports_unicode(suffix): safe_rmpath(testfn) create_exe(testfn) sproc = spawn_testproc(cmd=[testfn]) - except UnicodeEncodeError: + except (UnicodeEncodeError, IOError): return False else: return True |