diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 1e927846..58be274b 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -82,7 +82,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Install Qermit - run: pip install -e . -v + run: pip install -e .[docs] -v - name: Build Docs run: | cd docs_src diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 7922f6d9..57709643 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -24,7 +24,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Install Qermit - run: pip install . + run: pip install .[docs] - name: Setup Pages uses: actions/configure-pages@v3 - name: Build Docs diff --git a/pyproject.toml b/pyproject.toml index a01a5f56..078dc7ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,14 +18,13 @@ python = ">=3.10, <3.13" pytket-qiskit = "^0.50.0" matplotlib = "^3.8.3" -pytest = "^8.1.1" -mypy = "^1.9.0" -flake8 = "^7.0.0" -sphinx = "^7.2.6" -pytest-cov = "^4.1.0" -sphinx-book-theme = "^1.1.2" -qiskit-ibm-provider = "^0.10.0" - +pytest = {version="^8.1.1", optional=true} +mypy = {version="^1.9.0", optional=true} +flake8 = {version="^7.0.0", optional=true} +sphinx = {version="^7.2.6", optional=true} +pytest-cov = {version="^4.1.0", optional=true} +sphinx-book-theme = {version="^1.1.2", optional=true} +qiskit-ibm-provider = {version="^0.10.0", optional=true} pytket-quantinuum = {version="^0.30.0", optional=true} [tool.poetry.extras]