build: Make dependency groups optional

This commit is contained in:
Alessandro Candido
2024-02-08 16:38:23 +01:00
parent eec44f0621
commit 2de7a65d02
2 changed files with 838 additions and 4 deletions

View File

@@ -11,22 +11,29 @@ readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9,<3.13"
qibojit = "^0.0.7"
quimb = { version = "^0.0.7", extras = ["tensor"] }
quimb = { version = "^1.6.0", extras = ["tensor"] }
[tool.poetry.group.dev.dependencies]
ipython = "^7"
ipython = "^7.0.0"
[tool.poetry.group.tests]
optional = true
[tool.poetry.group.tests.dependencies]
pytest = "^8.0.0"
pytest-cov = "^4.1.0"
pytest-env = "^1.1.3"
[tool.poetry.group.analysis]
optional = true
[tool.poetry.group.analysis.dependencies]
pylint = "^3.0.3"
[tool.poetry.group.cuda]
optional = true
[tool.poetry.group.cuda.dependencies]
cupy = "^11.6.0"
cuquantum-python-cu11 = "^23.3.0"