diff --git a/poetry.lock b/poetry.lock index 4acf3cf..10b0dd0 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2039,5 +2039,5 @@ tensorflow = ["tensorflow", "tensorflow-macos"] [metadata] lock-version = "2.0" -python-versions = ">=3.8,<3.12" -content-hash = "2037550758fa4d239a49c4ddb39e4aa224da1e71c2fbc236f08e2f823609bbb3" +python-versions = ">=3.8,<3.13" +content-hash = "42e7e6bdda7ded89b2e52f10dd0bd7c50f0d0a6cbee76ac50e1bc99e0f60cadf" diff --git a/pyproject.toml b/pyproject.toml index e3b5bee..a8d0831 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,15 +12,17 @@ exclude = ["tests/*", "Makefile"] modelscan = "modelscan.cli:main" [tool.poetry.dependencies] -python = ">=3.8,<3.12" +python = ">=3.8,<3.13" click = "^8.1.3" numpy = "1.24.0" rich = "^13.4.2" -h5py = { version = "^3.9.0", optional = true } -tensorflow = { version = "^2.13.0", optional = true } -tensorflow-macos = { version = "^2.13.0", platform = "darwin", optional = true } -tensorflow-io-gcs-filesystem = { version = ">=0.23.1,<0.35", optional = true } tomlkit = "^0.12.3" +h5py = { version = "^3.9.0", optional = true } + +# TODO: Add py3.12 once TF release supports +tensorflow = { version = "^2.13.0", optional = true, python = "<3.12" } +tensorflow-macos = { version = "^2.13.0", platform = "darwin", optional = true, python = "<3.12" } +tensorflow-io-gcs-filesystem = { version = ">=0.23.1,<0.35", optional = true, python = "<3.12" } [tool.poetry.extras] tensorflow = ["tensorflow", "tensorflow-macos"]