diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 524b7ea..459519b 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 12dd412..72f0a4d 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,13 +10,11 @@ build: os: ubuntu-22.04 tools: python: "3.12" + jobs: + post_create_environment: + - pip install poetry + post_install: + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs -# Build documentation in the "docs/" directory with Sphinx sphinx: configuration: docs/conf.py -# Optional but recommended, declare the Python requirements required -# to build your documentation -# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html -# python: -# install: -# - requirements: docs/requirements.txt diff --git a/poetry.lock b/poetry.lock index 8a1b1b7..2e2450c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1145,4 +1145,4 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "24db95e3f3d1a280f258797c0db39303817cd1de13b1675b85c464019211a1c3" +content-hash = "7c47b0b67dc18675f3f7bbcd0e445091713e8d16b81549457169b526b9a8f3f4" diff --git a/pyproject.toml b/pyproject.toml index c6d481d..be526c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ keywords = ["quantum-computing", "quantum-software"] include = [{ path = "ionizer/resources"}] [tool.poetry.dependencies] -python = "^3.10" +python = "^3.12" pennylane = "^0.37" [tool.poetry.group.dev.dependencies] @@ -18,6 +18,8 @@ pytest = "8.2" black = "24.2" pre-commit = "3.7.1" ruff = "^0.5.0" + +[tool.poetry.group.docs.dependencies] sphinx = "8.0.2" [build-system]