diff options
author | Florian Bruhin <me@the-compiler.org> | 2023-08-16 19:52:49 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2023-08-17 12:41:35 +0200 |
commit | ae150d3a9792e2b160f08653af138372e528e5c4 (patch) | |
tree | 296bfb053e5be9a6632943ef55afa6e5e253d2aa | |
parent | 680a941e641343dfaf734ef7707a093671c738a1 (diff) | |
download | qutebrowser-ae150d3a9792e2b160f08653af138372e528e5c4.tar.gz qutebrowser-ae150d3a9792e2b160f08653af138372e528e5c4.zip |
scripts: Don't upload PGP signature to PyPI
See https://blog.pypi.org/posts/2023-05-23-removing-pgp/
-rwxr-xr-x | scripts/dev/build_release.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index 573db8539..f9efa3ff5 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -634,6 +634,9 @@ def github_upload( def pypi_upload(artifacts: List[Artifact], experimental: bool) -> None: """Upload the given artifacts to PyPI using twine.""" + # https://blog.pypi.org/posts/2023-05-23-removing-pgp/ + artifacts = [a for a in artifacts if a.mimetype != 'application/pgp-signature'] + utils.print_title("Uploading to PyPI...") if experimental: run_twine('upload', artifacts, "-r", "testpypi") |