diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 394418f..27b8a55 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -79,7 +79,7 @@ jobs: strategy: matrix: - python-version: ["3.12"] + python-version: ["3.12", "3.13"] steps: - name: Checkout diff --git a/docs/make.bat b/docs/make.bat index dc1312a..747ffb7 100644 --- a/docs/make.bat +++ b/docs/make.bat @@ -1,35 +1,35 @@ -@ECHO OFF - -pushd %~dp0 - -REM Command file for Sphinx documentation - -if "%SPHINXBUILD%" == "" ( - set SPHINXBUILD=sphinx-build -) -set SOURCEDIR=source -set BUILDDIR=build - -%SPHINXBUILD% >NUL 2>NUL -if errorlevel 9009 ( - echo. - echo.The 'sphinx-build' command was not found. Make sure you have Sphinx - echo.installed, then set the SPHINXBUILD environment variable to point - echo.to the full path of the 'sphinx-build' executable. Alternatively you - echo.may add the Sphinx directory to PATH. - echo. - echo.If you don't have Sphinx installed, grab it from - echo.https://www.sphinx-doc.org/ - exit /b 1 -) - -if "%1" == "" goto help - -%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% -goto end - -:help -%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% - -:end -popd +@ECHO OFF + +pushd %~dp0 + +REM Command file for Sphinx documentation + +if "%SPHINXBUILD%" == "" ( + set SPHINXBUILD=sphinx-build +) +set SOURCEDIR=source +set BUILDDIR=build + +%SPHINXBUILD% >NUL 2>NUL +if errorlevel 9009 ( + echo. + echo.The 'sphinx-build' command was not found. Make sure you have Sphinx + echo.installed, then set the SPHINXBUILD environment variable to point + echo.to the full path of the 'sphinx-build' executable. Alternatively you + echo.may add the Sphinx directory to PATH. + echo. + echo.If you don't have Sphinx installed, grab it from + echo.https://www.sphinx-doc.org/ + exit /b 1 +) + +if "%1" == "" goto help + +%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% +goto end + +:help +%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% + +:end +popd diff --git a/docs/source/example_grover_sat.ipynb b/docs/source/example_grover_sat.ipynb index e359105..27473e9 100644 --- a/docs/source/example_grover_sat.ipynb +++ b/docs/source/example_grover_sat.ipynb @@ -41,6 +41,7 @@ " i += 1\n", " return r\n", "\n", + "\n", "sat.export(\"qiskit\").draw(\"mpl\")" ] }, diff --git a/pyproject.toml b/pyproject.toml index 023cd53..5c27820 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Development Status :: 5 - Production/Stable", "Topic :: Scientific/Engineering :: Physics", "Operating System :: OS Independent", diff --git a/qlasskit/__init__.py b/qlasskit/__init__.py index a7c7e80..59bcb59 100644 --- a/qlasskit/__init__.py +++ b/qlasskit/__init__.py @@ -13,7 +13,7 @@ # limitations under the License. # isort:skip_file -__version__ = "0.1.34" +__version__ = "0.1.35" from .qcircuit import QCircuit, SupportedFrameworks, SupportedFramework # noqa: F401 from .qlassfun import QlassF, qlassf, qlassfa # noqa: F401 diff --git a/test/test_qlassf_to_bqm.py b/test/test_qlassf_to_bqm.py index 561660e..2e00e80 100644 --- a/test/test_qlassf_to_bqm.py +++ b/test/test_qlassf_to_bqm.py @@ -23,7 +23,7 @@ DISABLE_BQM_TESTS = False # os.getenv("GITHUB_ACTIONS") and -if sys.version_info.major == 3 and sys.version_info.minor == 12: +if sys.version_info.major == 3 and sys.version_info.minor >= 12: try: import dimod import neal