Fix pip release script. [skip ci] (#6845)
This commit is contained in:
parent
b9a4f3336a
commit
3d919db0c0
@ -49,7 +49,7 @@ def download_wheels(
|
||||
dir_URL: str,
|
||||
src_filename_prefix: str,
|
||||
target_filename_prefix: str,
|
||||
) -> None:
|
||||
) -> List:
|
||||
"""Download all binary wheels. dir_URL is the URL for remote directory storing the release
|
||||
wheels
|
||||
|
||||
@ -71,6 +71,7 @@ def download_wheels(
|
||||
stdout = ret.stdout.decode("utf-8")
|
||||
assert stderr.find("warning") == -1, "Unresolved warnings:\n" + stderr
|
||||
assert stdout.find("warning") == -1, "Unresolved warnings:\n" + stdout
|
||||
return filenames
|
||||
|
||||
|
||||
def check_path():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user