Skip to content

Commit

Permalink
Change how we specify Python versions for testing (Qiskit#1207)
Browse files Browse the repository at this point in the history
We currently test everything with Python 3.11, but this is a problem as
not all writers have it available on their system. We also want to make
sure our docs work with as many versions of Python as possible.

This PR allows writers to test their docs with any version of Python,
and sets CI to test with Python 3.8 (the minimum version that Qiskit
supports).
  • Loading branch information
frankharkins authored Apr 19, 2024
1 parent d5cc966 commit 667169d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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.11"
python-version: "3.8"
cache: "pip"

- name: Install Python packages
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
min_version = 4.0
env_list = py311
env_list = py3
skipsdist = true

[testenv]
Expand Down

0 comments on commit 667169d

Please sign in to comment.