From 9c7b97c291e30a743ef4a87cd1dc70380f74b94f Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Wed, 23 Oct 2024 23:35:23 -0400 Subject: [PATCH] Updated pypi_test task to use --repository flag in its twine command. --- tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index a7c1dc5a..1226c6bf 100644 --- a/tasks.py +++ b/tasks.py @@ -339,7 +339,7 @@ def pypi(context): def pypi_test(context): """Build and upload a distribution to https://test.pypi.org""" with context.cd(TASK_ROOT_STR): - context.run('twine upload --repository-url https://test.pypi.org/legacy/ dist/*') + context.run('twine upload --repository testpypi dist/*') namespace.add_task(pypi_test)