Skip to content

Commit 4ece659

Browse files
authored
Refactor code structure for improved readability and maintainability (#833)
- Consolidate dev dependencies in root `pyproject.toml` - Add `qdp-dev` dependency group for QDP build tools (maturin, patchelf, torch, numpy) - Align pytest version to `>=9.0.1` (matching qdp-python) - Add pytest markers configuration for `gpu` and `slow`
1 parent af3ff8b commit 4ece659

File tree

2 files changed

+350
-42
lines changed

2 files changed

+350
-42
lines changed

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ dependencies = [
1818
qdp = ["qumat-qdp"]
1919

2020
[dependency-groups]
21-
dev = ["pytest>=8.1.1", "ruff>=0.13.1", "pre-commit>=3.0.0"]
21+
dev = ["pytest>=9.0.1", "ruff>=0.13.1", "pre-commit>=3.0.0"]
22+
qdp-dev = [
23+
"maturin>=1.10.2",
24+
"patchelf>=0.17.2.4",
25+
"torch>=2.2",
26+
"numpy>=1.24,<2.0",
27+
]
2228

2329
[tool.uv]
2430
# Override to fix amazon-braket-default-simulator dependency on old numba/llvmlite

0 commit comments

Comments
 (0)