Skip to content

Commit eda85c5

Browse files
authored
Apply suggestion from @aignas
1 parent ead6071 commit eda85c5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

python/private/pypi/extension.bzl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -387,12 +387,6 @@ def _configure(config, *, platform, os_name, arch_name, config_settings, env = {
387387
if key not in _SUPPORTED_PEP508_KEYS:
388388
fail("Unsupported key in the PEP508 environment: {}".format(key))
389389

390-
if not os_name:
391-
fail("'os_name' is required")
392-
393-
if not arch_name:
394-
fail("'arch_name' is required")
395-
396390
config["platforms"][platform] = struct(
397391
name = platform.replace("-", "_").lower(),
398392
os_name = os_name,

0 commit comments

Comments
 (0)