Skip to content

Commit

Permalink
build: Temporary switch to qibojit branch for py3.12 support
Browse files Browse the repository at this point in the history
Required for the quasi-circular dependency
  • Loading branch information
alecandido committed Feb 28, 2024
1 parent 19368f2 commit aff9812
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ packages = [{ include = "qibo", from = "src" }]
include = ["*.out", "*.yml"]

[tool.poetry.dependencies]
python = ">=3.9,<3.12"
python = ">=3.9,<3.13"
scipy = "^1.10.1"
sympy = "^1.11.1"
cma = "^3.3.0"
Expand All @@ -30,8 +30,8 @@ hyperopt = "^0.2.7"
tabulate = "^0.9.0"
numpy = "^1.26.4"
networkx = "^3.2.1"
cvxpy = {version = "^1.4.2", optional = true}
tensorflow = { version = "^2.14.1", markers = "sys_platform == 'linux' or sys_platform == 'darwin'", optional = true}
cvxpy = { version = "^1.4.2", optional = true }
tensorflow = { version = "^2.14.1", markers = "sys_platform == 'linux' or sys_platform == 'darwin'", optional = true }

[tool.poetry.group.dev]
optional = true
Expand Down Expand Up @@ -66,7 +66,7 @@ dill = "^0.3.6"
pytest-cov = "^4.0.0"
pylint = "^3.0.3"
matplotlib = "^3.7.0"
qibojit = { git = "https://github.com/qiboteam/qibojit.git" }
qibojit = { git = "https://github.com/qiboteam/qibojit.git", branch = "py3.12" }
tensorflow = { version = "^2.14.1", markers = "sys_platform == 'linux'" }

[tool.poe.tasks]
Expand All @@ -83,15 +83,15 @@ optional = true
[tool.poetry.group.cuda11.dependencies]
cupy-cuda11x = "^12.0.0"
cuquantum-python-cu11 = "^23.3.0"
qibojit = { git = "https://github.com/qiboteam/qibojit.git" }
qibojit = { git = "https://github.com/qiboteam/qibojit.git", branch = "py3.12" }

[tool.poetry.group.cuda12]
optional = true

[tool.poetry.group.cuda12.dependencies]
cupy-cuda12x = "^12.0.0"
cuquantum-python-cu12 = "^23.3.0"
qibojit = { git = "https://github.com/qiboteam/qibojit.git" }
qibojit = { git = "https://github.com/qiboteam/qibojit.git", branch = "py3.12" }

[tool.pylint.reports]
output-format = "colorized"
Expand Down

0 comments on commit aff9812

Please sign in to comment.