Skip to content

Commit

Permalink
Removing x86_64 from tests and simplifying setup rules
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerce committed Sep 27, 2024
1 parent 7fad4f5 commit c209bdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
]

Expand Down

0 comments on commit c209bdb

Please sign in to comment.