@@ -135,17 +135,7 @@ pip.parse(
135
135
],
136
136
hub_name = "pip" ,
137
137
python_version = "3.9" ,
138
- # The requirements files for each platform that we want to support.
139
- requirements_by_platform = {
140
- # Default requirements file for needs to explicitly provide the platforms
141
- "//:requirements_lock_3_9.txt" : "linux_*,osx_*" ,
142
- # This API allows one to specify additional platforms that the users
143
- # configure the toolchains for themselves. In this example we add
144
- # `windows_aarch64` to illustrate that `rules_python` won't fail to
145
- # process the value, but it does not mean that this example will work
146
- # on Windows ARM.
147
- "//:requirements_windows_3_9.txt" : "windows_x86_64,windows_aarch64" ,
148
- },
138
+ requirements_lock = "requirements_lock_3_9.txt" ,
149
139
# These modifications were created above and we
150
140
# are providing pip.parse with the label of the mod
151
141
# and the name of the wheel.
@@ -179,8 +169,17 @@ pip.parse(
179
169
],
180
170
hub_name = "pip" ,
181
171
python_version = "3.10" ,
182
- requirements_lock = "//:requirements_lock_3_10.txt" ,
183
- requirements_windows = "//:requirements_windows_3_10.txt" ,
172
+ # The requirements files for each platform that we want to support.
173
+ requirements_by_platform = {
174
+ # Default requirements file for needs to explicitly provide the platforms
175
+ "//:requirements_lock_3_10.txt" : "linux_*,osx_*" ,
176
+ # This API allows one to specify additional platforms that the users
177
+ # configure the toolchains for themselves. In this example we add
178
+ # `windows_aarch64` to illustrate that `rules_python` won't fail to
179
+ # process the value, but it does not mean that this example will work
180
+ # on Windows ARM.
181
+ "//:requirements_windows_3_10.txt" : "windows_x86_64,windows_aarch64" ,
182
+ },
184
183
# These modifications were created above and we
185
184
# are providing pip.parse with the label of the mod
186
185
# and the name of the wheel.
0 commit comments