Fix Python version in CI (#1210)

Fixes https://github.com/Qiskit/documentation/pull/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.
This commit is contained in:
Eric Arellano 2024-04-19 15:04:06 -04:00 committed by GitHub
parent a4964cfc43
commit 4b9f05cf31
1 changed files with 1 additions and 1 deletions

View File

@ -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