Skip to content

Commit 0c6013d

Browse files
authored
Upload wasm wheels to PyPI (#21671)
PyPI supports wasm platform tags since recently, see also mypyc/mypy_mypyc-wheels#116
1 parent 1462b4e commit 0c6013d

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

misc/upload-pypi.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,7 @@ def is_whl_or_tar(name: str) -> bool:
3131

3232

3333
def item_ok_for_pypi(name: str) -> bool:
34-
if not is_whl_or_tar(name):
35-
return False
36-
37-
name = name.removesuffix(".tar.gz")
38-
name = name.removesuffix(".whl")
39-
40-
if name.endswith("wasm32"):
41-
return False
42-
43-
return True
34+
return is_whl_or_tar(name)
4435

4536

4637
def get_release_for_tag(tag: str) -> dict[str, Any]:

0 commit comments

Comments
 (0)