Skip to content

Commit cd24907

Browse files
authored
[CI Workaround] Avoid errors on Python 3.8 macos-latest as GitHub CI has dropped support (pypa#4327)
2 parents 2760eef + f3f5bf7 commit cd24907

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ jobs:
6161
- platform: ubuntu-latest
6262
python: "3.10"
6363
distutils: stdlib
64+
# Python 3.8, 3.9 are on macos-13 but not macos-latest (macos-14-arm64)
65+
# https://github.com/actions/setup-python/issues/850
66+
# https://github.com/actions/setup-python/issues/696#issuecomment-1637587760
67+
- {python: "3.8", platform: "macos-13"}
68+
exclude:
69+
- {python: "3.8", platform: "macos-latest"}
6470
runs-on: ${{ matrix.platform }}
6571
continue-on-error: ${{ matrix.python == '3.13' }}
6672
env:

setuptools/tests/test_editable_install.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ def editable_opts(request):
118118
SETUP_SCRIPT_STUB = "__import__('setuptools').setup()"
119119

120120

121+
@pytest.mark.xfail(sys.platform == "darwin", reason="pypa/setuptools#4328")
121122
@pytest.mark.parametrize(
122123
"files",
123124
[
@@ -897,6 +898,7 @@ class TestOverallBehaviour:
897898
},
898899
}
899900

901+
@pytest.mark.xfail(sys.platform == "darwin", reason="pypa/setuptools#4328")
900902
@pytest.mark.parametrize("layout", EXAMPLES.keys())
901903
def test_editable_install(self, tmp_path, venv, layout, editable_opts):
902904
project, _ = install_project(

0 commit comments

Comments
 (0)