Skip to content
Merged
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
5 changes: 4 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ def tests_minimal(session: Session) -> None:
"""Run the test suite with minimal dependencies."""
session.install(".")
install_pytest(session)
run_pytest(session, mpl=True)
# We cannot run `pytest --mpl` here because the visualization output
# depends on the Matplotlib version, and the pinning is only present
# in the `dev` extra.
run_pytest(session)


@nox.session(python=PYTHON_VERSIONS)
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ dev = [
"pytest-cov",
"pytest-mock",
"pytest-mpl",
"qiskit>=1.0",
"qiskit>=1.0,<2.4",
"qiskit_qasm3_import",
"qiskit-aer",
"matplotlib==3.10.9",
]
doc = [
"furo",
Expand Down
Loading
Loading