@@ -54,8 +54,6 @@ py_wheel(
5454 testonly = True , # Set this to verify the generated .dist target doesn't break things
5555 # Package data. We're building "example_minimal_library-0.0.1-py3-none-any.whl"
5656 distribution = "example_minimal_library" ,
57- incompatible_normalize_name = True ,
58- incompatible_normalize_version = True ,
5957 python_tag = "py3" ,
6058 version = "0.0.1" ,
6159 deps = [
@@ -78,8 +76,6 @@ py_wheel(
7876 testonly = True ,
7977 abi = "$(ABI)" ,
8078 distribution = "example_minimal_library" ,
81- incompatible_normalize_name = True ,
82- incompatible_normalize_version = True ,
8379 python_tag = "$(PYTHON_TAG)" ,
8480 toolchains = ["//examples/wheel:make_variable_tags" ],
8581 version = "$(VERSION)" ,
@@ -99,8 +95,6 @@ py_wheel(
9995 name = "minimal_with_py_library_with_stamp" ,
10096 # Package data. We're building "example_minimal_library-0.0.1-py3-none-any.whl"
10197 distribution = "example_minimal_library{BUILD_USER}" ,
102- incompatible_normalize_name = False ,
103- incompatible_normalize_version = False ,
10498 python_tag = "py3" ,
10599 stamp = 1 ,
106100 version = "0.1.{BUILD_TIMESTAMP}" ,
@@ -129,8 +123,6 @@ py_wheel(
129123 name = "minimal_with_py_package" ,
130124 # Package data. We're building "example_minimal_package-0.0.1-py3-none-any.whl"
131125 distribution = "example_minimal_package" ,
132- incompatible_normalize_name = True ,
133- incompatible_normalize_version = True ,
134126 python_tag = "py3" ,
135127 version = "0.0.1" ,
136128 deps = [":example_pkg" ],
@@ -164,8 +156,6 @@ py_wheel(
164156 "//examples/wheel:README.md" : "README" ,
165157 },
166158 homepage = "www.example.com" ,
167- incompatible_normalize_name = True ,
168- incompatible_normalize_version = True ,
169159 license = "Apache 2.0" ,
170160 project_urls = {
171161 "Bug Tracker" : "www.example.com/issues" ,
@@ -187,8 +177,6 @@ py_wheel(
187177 entry_points = {
188178 "console_scripts" : ["main = foo.bar:baz" ],
189179 },
190- incompatible_normalize_name = True ,
191- incompatible_normalize_version = True ,
192180 python_tag = "py3" ,
193181 strip_path_prefixes = [
194182 "examples" ,
@@ -203,8 +191,6 @@ py_wheel(
203191 name = "custom_package_root_multi_prefix" ,
204192 # Package data. We're building "custom_custom_package_root_multi_prefix-0.0.1-py3-none-any.whl"
205193 distribution = "example_custom_package_root_multi_prefix" ,
206- incompatible_normalize_name = True ,
207- incompatible_normalize_version = True ,
208194 python_tag = "py3" ,
209195 strip_path_prefixes = [
210196 "examples/wheel/lib" ,
@@ -220,8 +206,6 @@ py_wheel(
220206 name = "custom_package_root_multi_prefix_reverse_order" ,
221207 # Package data. We're building "custom_custom_package_root_multi_prefix_reverse_order-0.0.1-py3-none-any.whl"
222208 distribution = "example_custom_package_root_multi_prefix_reverse_order" ,
223- incompatible_normalize_name = True ,
224- incompatible_normalize_version = True ,
225209 python_tag = "py3" ,
226210 strip_path_prefixes = [
227211 "examples/wheel" ,
@@ -236,8 +220,6 @@ py_wheel(
236220py_wheel (
237221 name = "python_requires_in_a_package" ,
238222 distribution = "example_python_requires_in_a_package" ,
239- incompatible_normalize_name = True ,
240- incompatible_normalize_version = True ,
241223 python_requires = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" ,
242224 python_tag = "py3" ,
243225 version = "0.0.1" ,
@@ -249,8 +231,6 @@ py_wheel(
249231py_wheel (
250232 name = "use_rule_with_dir_in_outs" ,
251233 distribution = "use_rule_with_dir_in_outs" ,
252- incompatible_normalize_name = True ,
253- incompatible_normalize_version = True ,
254234 python_tag = "py3" ,
255235 version = "0.0.1" ,
256236 deps = [
@@ -264,8 +244,6 @@ py_wheel(
264244 name = "python_abi3_binary_wheel" ,
265245 abi = "abi3" ,
266246 distribution = "example_python_abi3_binary_wheel" ,
267- incompatible_normalize_name = True ,
268- incompatible_normalize_version = True ,
269247 # these platform strings must line up with test_python_abi3_binary_wheel() in wheel_test.py
270248 platform = select ({
271249 ":aarch64-apple-darwin" : "macosx_11_0_arm64" ,
@@ -279,28 +257,13 @@ py_wheel(
279257 version = "0.0.1" ,
280258)
281259
282- py_wheel (
283- name = "legacy_filename_escaping" ,
284- # Per https://www.python.org/dev/peps/pep-0427/#escaping-and-unicode
285- # runs of non-alphanumeric, non-digit symbols should be replaced with a single underscore.
286- # Unicode non-ascii letters should *not* be replaced with underscore.
287- distribution = "file~~name-escaping" ,
288- incompatible_normalize_name = False ,
289- incompatible_normalize_version = False ,
290- python_tag = "py3" ,
291- version = "0.0.1-r7" ,
292- deps = [":example_pkg" ],
293- )
294-
295260py_wheel (
296261 name = "filename_escaping" ,
297262 # Per https://packaging.python.org/en/latest/specifications/binary-distribution-format/#escaping-and-unicode
298263 # runs of "-", "_" and "." should be replaced with a single underscore.
299264 # Unicode non-ascii letters aren't allowed according to
300265 # https://packaging.python.org/en/latest/specifications/name-normalization/.
301266 distribution = "File--Name-Escaping" ,
302- incompatible_normalize_name = True ,
303- incompatible_normalize_version = True ,
304267 python_tag = "py3" ,
305268 version = "v0.0.1.RC1+ubuntu-r7" ,
306269 deps = [":example_pkg" ],
@@ -315,7 +278,6 @@ py_test(
315278 ":custom_package_root_multi_prefix_reverse_order" ,
316279 ":customized" ,
317280 ":filename_escaping" ,
318- ":legacy_filename_escaping" ,
319281 ":minimal_with_py_library" ,
320282 ":minimal_with_py_library_with_stamp" ,
321283 ":minimal_with_py_package" ,
0 commit comments