diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1af3c64..d8dbe2b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index c8bf556..9991f86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/setup.py b/setup.py index c30dc54..426b60c 100644 --- a/setup.py +++ b/setup.py @@ -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]