Skip to content

Commit

Permalink
set matching python / tf
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentadam87 committed Apr 18, 2024
1 parent 0e86957 commit 973048a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ importlib-metadata = ">=4.4,<5.0"
numpy = "^1.21.0"
python = ">=3.10,<3.11"
tensorflow = ">=2.4.0,<2.9.0"
[tool.poetry.dependencies]
python = "^3.8 || ^3.9 || ^3.10 || ^3.11 || ^3.12"
tensorflow = [
{ version = "^2.4", markers = "python_version == '3.8' and python_version < '3.10'" },
{ version = "^2.7", markers = "python_version == '3.10'" },
{ version = "^2.9", markers = "python_version == '3.11'" },
{ version = "^2.12", markers = "python_version == '3.12'" }
]


[tool.poetry.dev-dependencies]
cpplint = "^1.5.3"
Expand Down Expand Up @@ -74,6 +83,6 @@ line_length = 95


[build-system]
requires = ["poetry>=0.12", "tensorflow>=2.4.0,<2.10.0", "cmake"]
requires = ["poetry>=0.12", "tensorflow>=2.4.0,<=2.12.0", "cmake"]
build-backend = "poetry.masonry.api"
flags = ["-DCMAKE_CXX_STANDARD=14"]

0 comments on commit 973048a

Please sign in to comment.