From aff981215192bb47f7ff9c1968cc9f4474a8621d Mon Sep 17 00:00:00 2001 From: Alessandro Candido Date: Wed, 28 Feb 2024 07:28:20 +0100 Subject: [PATCH] build: Temporary switch to qibojit branch for py3.12 support Required for the quasi-circular dependency --- pyproject.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index da2ee7a8d4..ff03a6a5fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" @@ -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 @@ -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] @@ -83,7 +83,7 @@ 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 @@ -91,7 +91,7 @@ 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"