Skip to content

Commit

Permalink
Fix Python version in CI (#1210)
Browse files Browse the repository at this point in the history
Fixes #1207. We use
`list[str]` in type hints rather than `List[str]`, which was only added
in Python 3.9. So it broke CI.

Python 3.9 is fine as a floor, given that Python 3.12 is newest.
  • Loading branch information
Eric-Arellano authored Apr 19, 2024
1 parent 731d7a7 commit 1305558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/set-up-notebook-testing/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ runs:
steps:
- uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.9"
cache: "pip"

- name: Install Python packages
Expand Down

0 comments on commit 1305558

Please sign in to comment.