Skip to content

Commit 7fb248e

Browse files
committed
Tmp restrict python>=3.10, python<3.11 for windows
1 parent a08ff2a commit 7fb248e

File tree

2 files changed

+66
-22
lines changed

2 files changed

+66
-22
lines changed

poetry.lock

Lines changed: 55 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ dlc-live-test = "dlclive.check_install.check_install:main"
2424
dlc-live-benchmark = "dlclive.benchmark:main"
2525

2626
[tool.poetry.dependencies]
27+
#python = [
28+
# { version = ">=3.10,<3.11", platform = "win32" },
29+
# { version = ">=3.10,<3.12", platform = "linux" },
30+
# { version = ">=3.10,<3.12", markers = "sys_platform == 'darwin'" }
31+
#]
2732
python = ">=3.10,<3.12"
2833
numpy = ">=1.20,<2"
2934
"ruamel.yaml" = "^0.17.20"
@@ -48,9 +53,14 @@ tensorflow = [
4853
]
4954
tensorflow-macos = { version = "^2.7.0,<=2.12", optional = true, markers = "sys_platform == 'darwin'" }
5055
tensorflow-metal = { version = "<1.3.0", optional = true, markers = "sys_platform == 'darwin'" }
56+
tensorflow-io-gcs-filesystem = [
57+
{ version = "==0.27", optional = true, platform = "win32", python = ">=3.10,<3.11" },
58+
{ version = "*", optional = true, platform = "linux" },
59+
{ version = "*", optional = true, markers = "sys_platform == 'darwin'" }
60+
]
5161

5262
[tool.poetry.extras]
53-
tf = [ "tensorflow", "tensorflow-macos", "tensorflow-metal"]
63+
tf = [ "tensorflow", "tensorflow-macos", "tensorflow-metal", "tensorflow-io-gcs-filesystem"]
5464
pytorch = ["scipy", "timm", "torch", "torchvision"]
5565

5666
[tool.poetry.group.dev.dependencies]

0 commit comments

Comments
 (0)