Skip to content

Commit

Permalink
Skip macos-latest Python 3.11 for the moment
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Oct 25, 2022
1 parent b8526c4 commit 5133339
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
numpy: [0, 1]
os: [ubuntu-latest, macos-latest, windows-latest]
exclude:
# https://github.com/actions/setup-python/issues/531
- os: macos-latest
python-version: "3.11"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down

2 comments on commit 5133339

@simonw
Copy link
Owner Author

@simonw simonw commented on 5133339 Oct 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refs #502

@chapmanjacobd
Copy link
Contributor

@chapmanjacobd chapmanjacobd commented on 5133339 Oct 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was fixed 5 hours ago actions/setup-python#531 (comment)

But I've had some experiences with macos actions failing due to limited availability. If your idea of risk tolerance is similar to mine, you might be pleased to discover that it is possible to do something like this:

      matrix:
        nv: [ {os: windows-latest, py: 3.8}, {os: macos-latest, py: 3.9}, {os: ubuntu-latest, py: "3.10"} ]

    runs-on: ${{ matrix.nv.os }}

https://github.com/chapmanjacobd/lb/blob/main/.github/workflows/push.yaml#L15

Please sign in to comment.