Skip to content

Commit

Permalink
ops: Python 3.13 support
Browse files Browse the repository at this point in the history
We also drop Python 3.9 because there's no SciPy version that supports
both 3.9 and 3.13. We mask system Python to force Poetry to use the
version provided by the setup-python action.
  • Loading branch information
kerberizer committed Nov 19, 2024
1 parent 5361946 commit fbaa8c9
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 153 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,18 @@ jobs:
- '3.10'
- '3.11'
- '3.12'
- '3.13'

steps:

- name: Checkout the repository
uses: actions/[email protected]

- name: Mask existing system Python
run: >
which -a python{,3} | tr '\n' '\0' | xargs -0 stat -t &&
which -a python{,3} | tr '\n' '\0' | xargs -0 sudo rm -f
- name: Setup Python
uses: actions/[email protected]
with:
Expand Down
Loading

0 comments on commit fbaa8c9

Please sign in to comment.