Skip to content

Commit

Permalink
[CI Workaround] Avoid errors on Python 3.8 macos-latest as GitHub CI …
Browse files Browse the repository at this point in the history
…has dropped support (#4327)
  • Loading branch information
abravalheri committed Apr 25, 2024
2 parents 2760eef + f3f5bf7 commit cd24907
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -61,6 +61,12 @@ jobs:
- platform: ubuntu-latest
python: "3.10"
distutils: stdlib
# Python 3.8, 3.9 are on macos-13 but not macos-latest (macos-14-arm64)
# https://github.com/actions/setup-python/issues/850
# https://github.com/actions/setup-python/issues/696#issuecomment-1637587760
- {python: "3.8", platform: "macos-13"}
exclude:
- {python: "3.8", platform: "macos-latest"}
runs-on: ${{ matrix.platform }}
continue-on-error: ${{ matrix.python == '3.13' }}
env:
Expand Down
2 changes: 2 additions & 0 deletions setuptools/tests/test_editable_install.py
Expand Up @@ -118,6 +118,7 @@ def editable_opts(request):
SETUP_SCRIPT_STUB = "__import__('setuptools').setup()"


@pytest.mark.xfail(sys.platform == "darwin", reason="pypa/setuptools#4328")
@pytest.mark.parametrize(
"files",
[
Expand Down Expand Up @@ -897,6 +898,7 @@ class TestOverallBehaviour:
},
}

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

0 comments on commit cd24907

Please sign in to comment.