diff --git a/.github/workflows/test_latest_versions.yml b/.github/workflows/test_latest_versions.yml index 44ec39b7d..7d1e43822 100644 --- a/.github/workflows/test_latest_versions.yml +++ b/.github/workflows/test_latest_versions.yml @@ -20,7 +20,7 @@ jobs: max-parallel: 4 matrix: os: [ubuntu-latest] - python-version: ["3.8", "3.11"] + python-version: ["3.8", "3.12"] include: - os: macos-latest python-version: "3.8" @@ -47,4 +47,8 @@ jobs: pver=${{ matrix.python-version }} tox -epy${pver/./} -- --run-slow notebook_flags="" + if [ "$pver" = "3.12" ]; then + echo Skipping tutorials that require cplex + notebook_flags="${notebook_flags} --ignore=docs/circuit_cutting/cutqc/tutorials/tutorial_1_automatic_cut_finding.ipynb" + fi tox -epy${pver/./}-notebook -- ${notebook_flags} diff --git a/INSTALL.rst b/INSTALL.rst index 47ad3e2e4..068f40e2b 100644 --- a/INSTALL.rst +++ b/INSTALL.rst @@ -177,7 +177,8 @@ take care when installing the toolbox, depending on which tools they intend to use. - The automatic wire cut search in the ``cutqc`` package depends - on CPLEX, which is only available on Intel chips. + on CPLEX, which is only available on Intel chips and is not yet available + for Python 3.12. In each case, one method that is guaranteed to work is to :ref:`use the toolbox within Docker