From 2319287e0a60524271d7d771003e897075162148 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Wed, 22 Nov 2023 17:28:02 -0500 Subject: [PATCH] twine-upload: ::error, switch nudge order Signed-off-by: William Woodruff --- twine-upload.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twine-upload.sh b/twine-upload.sh index 3f7632c1..e4d51498 100755 --- a/twine-upload.sh +++ b/twine-upload.sh @@ -40,10 +40,10 @@ INPUT_VERIFY_METADATA="$(get-normalized-input 'verify-metadata')" INPUT_SKIP_EXISTING="$(get-normalized-input 'skip-existing')" INPUT_PRINT_HASH="$(get-normalized-input 'print-hash')" -PASSWORD_DEPRECATION_NUDGE="::warning title=Password-based uploads deprecated::\ +PASSWORD_DEPRECATION_NUDGE="::error title=Password-based uploads deprecated::\ Starting in 2024, PyPI will require all users to enable Two-Factor \ Authentication. This will consequently require all users to switch \ -to either API tokens or Trusted Publishers (preferred) for package \ +to either Trusted Publishers (preferred) or API tokens for package \ uploads. Read more: \ https://blog.pypi.org/posts/2023-05-25-securing-pypi-with-2fa/"