@@ -135,17 +135,7 @@ pip.parse(
135135 ],
136136 hub_name = "pip" ,
137137 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" ,
149139 # These modifications were created above and we
150140 # are providing pip.parse with the label of the mod
151141 # and the name of the wheel.
@@ -179,8 +169,17 @@ pip.parse(
179169 ],
180170 hub_name = "pip" ,
181171 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+ },
184183 # These modifications were created above and we
185184 # are providing pip.parse with the label of the mod
186185 # and the name of the wheel.
0 commit comments