Skip to content

Commit

Permalink
Make optional deps optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Mills committed Mar 18, 2024
1 parent b773880 commit c70f808
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 7 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit c70f808

Please sign in to comment.