Skip to content

Commit

Permalink
Changing python versions in tests and removing tensorflow-macos
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerce committed Sep 27, 2024
1 parent c32a908 commit eaaba95
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.9','3.10','3.11']
python: ['3.10','3.11', '3.12']
env:
TF_CPP_MIN_LOG_LEVEL: 2

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires=[
"tensorflow-macos <2.17,>=2.16;sys_platform=='darwin' and platform_machine=='arm64'",
"tensorflow <2.17,>=2.16;sys_platform=='darwin' and platform_machine=='arm64'",
"tensorflow-aarch64 <2.17,>=2.16;sys_platform=='linux' and platform_machine=='aarch64'",
"tensorflow <2.17,>=2.16;platform_machine!='arm64' and platform_machine!='aarch64'",
"setuptools"
Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
# for our architecture
if platform.machine() == "aarch64" and platform.system() == "Linux":
deps += ["tensorflow-aarch64%s" % TF_VER]
elif platform.machine() == "arm64" and platform.system() == "Darwin":
deps += ["tensorflow-macos%s" % TF_VER]
else:
deps += ["tensorflow%s" % TF_VER]

Expand Down

0 comments on commit eaaba95

Please sign in to comment.