Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: python -m pip install --upgrade pip

- name: Install graphix with dev deps.
run: pip install .[dev]
run: pip install .[dev,extra]

- name: Run pytest
run: pytest --cov=./graphix --cov-report=xml --cov-report=term
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: python -m pip install --upgrade pip

- name: Install requirements
run: pip install -r requirements.txt -r requirements-dev.txt -r docs/requirements.txt
run: pip install .[dev,doc]

- name: Make docs
run: make -C docs html SPHINXOPTS="--fail-on-warning"
run: sphinx-build -M html docs/source docs/build --fail-on-warning
2 changes: 1 addition & 1 deletion .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- run: |
python -m pip install --upgrade pip
pip install -e .[dev]
pip install -e .[dev,extra]

- run: mypy

Expand Down
8 changes: 5 additions & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@
version: 2

build:
os: ubuntu-20.04
os: ubuntu-22.04
tools:
python: "3.10"
python: "3.12"

sphinx:
configuration: docs/source/conf.py

python:
install:
- requirements: docs/requirements.txt
- requirements: requirements.txt
- requirements: requirements-extra.txt
- requirements: requirements-doc.txt
- method: pip
path: .
135 changes: 0 additions & 135 deletions benchmarks/graphsim.py

This file was deleted.

4 changes: 0 additions & 4 deletions benchmarks/readme.rst

This file was deleted.

Empty file removed benchmarks/requirements.txt
Empty file.
169 changes: 0 additions & 169 deletions benchmarks/statevec.py

This file was deleted.

12 changes: 0 additions & 12 deletions docs/requirements.txt

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"sphinx.ext.autosectionlabel",
"sphinx.ext.napoleon",
"sphinx_gallery.gen_gallery",
"sphinxawesome_theme.highlighting",
]

templates_path = ["_templates"]
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ def tests_minimal(session: Session) -> None:
@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"])
def tests(session: Session) -> None:
"""Run the test suite with full dependencies."""
session.install("-e", ".[dev]")
session.install("-e", ".[extra]")
session.run("pytest")
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ dependencies = { file = ["requirements.txt"] }

[tool.setuptools.dynamic.optional-dependencies]
dev = { file = ["requirements-dev.txt"] }
doc = { file = ["requirements-doc.txt"] }
extra = { file = ["requirements-extra.txt"] }

[tool.ruff]
Expand Down
Loading