From f3adc972d8cf119e1897eaeb0fb623137a6e378e Mon Sep 17 00:00:00 2001 From: Priti Shah Date: Thu, 22 Dec 2022 13:43:44 -0500 Subject: [PATCH 1/3] Use python 3.10 --- tox.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index e258456eb..7826073b6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.1 -envlist = py39, lint, docs +envlist = py310, lint, docs skipsdist = True [testenv] @@ -16,7 +16,7 @@ commands = python -m unittest -v [testenv:lint] -basepython = python3.9 +basepython = python3.10 deps = pylint ipython @@ -26,7 +26,7 @@ commands = # pylint -rn --rcfile={toxinidir}/.pylintrc qiskit_metal [testenv:docs] -basepython = python3.9 +basepython = python3.10 envdir = .tox/docs passenv = DOCS_FROM_MASTER QISKIT_DOCS_BUILD_TUTORIALS deps = @@ -36,7 +36,7 @@ commands = sphinx-build -b html {posargs} {toxinidir}/docs/ {toxinidir}/docs/_build/html [testenv:gettext] -basepython = python3.9 +basepython = python3.10 envdir = .tox/docs deps = -r requirements-dev.txt From 1879d7156001d25756800f43376bdf89dd8148e5 Mon Sep 17 00:00:00 2001 From: Priti Shah Date: Thu, 22 Dec 2022 13:46:54 -0500 Subject: [PATCH 2/3] Remove changes --- tox.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 7826073b6..e258456eb 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.1 -envlist = py310, lint, docs +envlist = py39, lint, docs skipsdist = True [testenv] @@ -16,7 +16,7 @@ commands = python -m unittest -v [testenv:lint] -basepython = python3.10 +basepython = python3.9 deps = pylint ipython @@ -26,7 +26,7 @@ commands = # pylint -rn --rcfile={toxinidir}/.pylintrc qiskit_metal [testenv:docs] -basepython = python3.10 +basepython = python3.9 envdir = .tox/docs passenv = DOCS_FROM_MASTER QISKIT_DOCS_BUILD_TUTORIALS deps = @@ -36,7 +36,7 @@ commands = sphinx-build -b html {posargs} {toxinidir}/docs/ {toxinidir}/docs/_build/html [testenv:gettext] -basepython = python3.10 +basepython = python3.9 envdir = .tox/docs deps = -r requirements-dev.txt From 5f242d79d2032dd28576141182baf6508b7278d2 Mon Sep 17 00:00:00 2001 From: Priti Shah Date: Thu, 22 Dec 2022 13:47:50 -0500 Subject: [PATCH 3/3] Use 3.9 for docs --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9d34b8799..ab937a5e6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -14,7 +14,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.9" - name: Install dependencies run: | python -m pip install --upgrade pip