Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
javinp committed Jan 24, 2024
1 parent cff55c1 commit 1acd1e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[build-system]
requires=[
"tensorflow-macos <2.15,>=2.14;sys_platform=='darwin' and platform_machine=='arm64'",
"tensorflow-aarch64 <2.15,>=2.14;sys_platform=='linux' and platform_machine=='aarch64'",
"tensorflow <2.15,>=2.14;platform_machine!='arm64' and platform_machine!='aarch64'",
"tensorflow-macos <2.16,>=2.15;sys_platform=='darwin' and platform_machine=='arm64'",
"tensorflow-aarch64 <2.16,>=2.15;sys_platform=='linux' and platform_machine=='aarch64'",
"tensorflow <2.16,>=2.15;platform_machine!='arm64' and platform_machine!='aarch64'",
"setuptools"
]

Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
here = os.path.abspath(os.path.dirname(__file__))

TF_PACKAGES = ["tensorflow-gpu", "tensorflow-cpu"]
TF_VER = ">=2.14,<2.15"
TF_VER = ">=2.15,<2.16"

deps = [
"pillow>=10.0.1,<10.1",
"scikit-learn>=1.3.1,<1.4",
"pillow>=10.2.0,<10.2.1",
"scikit-learn>=1.4,<1.4.1",
"pytest>=7.4.2,<7.5",
]

Expand All @@ -39,7 +39,7 @@
# quite picky about its numpy version, and you have to let it pull in
# the exact version that tensorflow was built with.
if platform.machine() not in ["aarch64", "arm64"]:
deps += ["tensorflowjs>=4.11,<4.12", "numpy>=1.25.2,<1.26"]
deps += ["tensorflowjs>=4.16,<4.17", "numpy>=1.26.3,<1.27"]

# Get the long description from the relevant file
with open(os.path.join(here, "README.md"), "r") as f:
Expand Down

0 comments on commit 1acd1e5

Please sign in to comment.