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:
parent
a4964cfc43
commit
4b9f05cf31
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue