From c209bdb551fd384c8f5e6f5f78e6c05c42ba82a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Merc=C3=A8=20Mart=C3=ADn=20Prats?= Date: Fri, 27 Sep 2024 15:30:45 +0200 Subject: [PATCH] Removing x86_64 from tests and simplifying setup rules --- .github/workflows/wheels.yml | 2 +- pyproject.toml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 7d959c3..e95983c 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -11,7 +11,7 @@ jobs: CIBW_BUILD: cp311-* cp312-* # build for Python 3.11 and 3.12 CIBW_BUILD_VERBOSITY: 1 CIBW_SKIP: cp36-* *-win32 *-manylinux_i686 pp* *musllinux* - CIBW_ARCHS_MACOS: arm64 x86_64 # arm64 for Apple Sillicon support + CIBW_ARCHS_MACOS: arm64 # arm64 for Apple Sillicon support CIBW_ARCHS_LINUX: auto aarch64 # allowing arm processors CIBW_REPAIR_WHEEL_COMMAND_MACOS: 'delocate-listdeps {wheel} && delocate-wheel --require-archs {delocate_archs} --ignore-missing-dependencies -w {dest_dir} {wheel}' # not needed because those packages are already in package requirements diff --git a/pyproject.toml b/pyproject.toml index 9991f86..8413823 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,7 @@ [build-system] requires=[ - "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'", + "tensorflow <2.17,>=2.16; platform_machine!='aarch64'", "setuptools" ]