@@ -125,9 +125,6 @@ def standard_or_nightly(standard, nightly):
125
125
# different architectures having different requirements.
126
126
# The entries here should be a simple duplicate of those in the collaborator
127
127
# build section.
128
- standard_or_nightly ('tensorflow-cpu-aws' , 'tf-nightly-cpu-aws' ) + '==' +
129
- _VERSION + ';platform_system=="Linux" and (platform_machine=="arm64" or '
130
- 'platform_machine=="aarch64")' ,
131
128
standard_or_nightly ('tensorflow-intel' , 'tf-nightly-intel' ) + '==' +
132
129
_VERSION + ';platform_system=="Windows"' ,
133
130
]
@@ -139,18 +136,19 @@ def standard_or_nightly(standard, nightly):
139
136
# If this is a collaborator build, then build an "installer" wheel and
140
137
# add the collaborator packages as the only dependencies.
141
138
REQUIRED_PACKAGES = [
142
- # Install the TensorFlow package built by AWS if the user is running
143
- # Linux on an Aarch64 machine.
144
- standard_or_nightly ('tensorflow-cpu-aws' , 'tf-nightly-cpu-aws' ) + '==' +
145
- _VERSION + ';platform_system=="Linux" and (platform_machine=="arm64" or '
146
- 'platform_machine=="aarch64")' ,
147
139
# Install the TensorFlow package built by Intel if the user is on a
148
140
# Windows machine.
149
141
standard_or_nightly ('tensorflow-intel' , 'tf-nightly-intel' ) + '==' +
150
142
_VERSION + ';platform_system=="Windows"' ,
151
- # Install the TensorFlow package built by Apple if the user is running
152
- # macOS on an Apple Silicon machine.
153
- standard_or_nightly ('tensorflow-macos' , 'tf-nightly-macos' ) + '==' +
143
+ # Starting with TF 2.16, Apple Silicon packages are uploaded directly
144
+ # to the "tensorflow" project on PyPI. In order to not break users who
145
+ # are still using `tensorflow-macos`, we upload an empty installer wheel
146
+ # to "tensorflow-macos" and add "tensorflow" as its dependency. Please
147
+ # note that this will go away in TF 2.17 and `tensorflow-macos` will be
148
+ # considered deprecated. Installer packages are not uploaded to
149
+ # `tf-nightly-macos`, `tf-nightly` is added below only to avoid breaking
150
+ # CI builds.
151
+ standard_or_nightly ('tensorflow' , 'tf-nightly' ) + '==' +
154
152
_VERSION + ';platform_system=="Darwin" and platform_machine=="arm64"' ,
155
153
]
156
154
0 commit comments