Skip to content

Commit

Permalink
Enable CI for windows-2019 (#3168)
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri authored Mar 14, 2022
2 parents a2e8ef9 + 8afae7f commit 98728b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
platform:
- ubuntu-latest
- macos-latest
# disable tests on Windows due to pypa/distutils#118
# - windows-latest
- windows-2019
include:
- platform: ubuntu-latest
python: "3.10"
Expand Down
7 changes: 7 additions & 0 deletions setuptools/tests/test_build_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
IS_PYPY = '__pypy__' in sys.builtin_module_names


pytestmark = pytest.mark.skipif(
sys.platform == "win32" and IS_PYPY,
reason="The combination of PyPy + Windows + pytest-xdist + ProcessPoolExecutor "
"is flaky and problematic"
)


class BuildBackendBase:
def __init__(self, cwd='.', env={}, backend_name='setuptools.build_meta'):
self.cwd = cwd
Expand Down

0 comments on commit 98728b1

Please sign in to comment.