Skip to content

Commit 98728b1

Browse files
authored
Enable CI for windows-2019 (#3168)
2 parents a2e8ef9 + 8afae7f commit 98728b1

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ jobs:
2424
platform:
2525
- ubuntu-latest
2626
- macos-latest
27-
# disable tests on Windows due to pypa/distutils#118
28-
# - windows-latest
27+
- windows-2019
2928
include:
3029
- platform: ubuntu-latest
3130
python: "3.10"

setuptools/tests/test_build_meta.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@
1818
IS_PYPY = '__pypy__' in sys.builtin_module_names
1919

2020

21+
pytestmark = pytest.mark.skipif(
22+
sys.platform == "win32" and IS_PYPY,
23+
reason="The combination of PyPy + Windows + pytest-xdist + ProcessPoolExecutor "
24+
"is flaky and problematic"
25+
)
26+
27+
2128
class BuildBackendBase:
2229
def __init__(self, cwd='.', env={}, backend_name='setuptools.build_meta'):
2330
self.cwd = cwd

0 commit comments

Comments
 (0)