From 3ea0b8bb83fff1a231aea23356b08b133424fc59 Mon Sep 17 00:00:00 2001 From: Grant Gainey Date: Mon, 20 Oct 2025 08:35:53 -0400 Subject: [PATCH] Fix python-build for PEP 625 This change addresses the deprecation PyPi warned us about: "In the future, PyPI will require all newly uploaded source distribution filenames to comply with PEP 625. Any source distributions already uploaded will remain in place as-is and do not need to be updated. Specifically, your recent upload of 'pulp_container-client-2.26.3.tar.gz' is incompatible with PEP 625 because the filename does not contain the normalized project name 'pulp_container_client'." --- .../github/.github/workflows/scripts/build_python_client.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/github/.github/workflows/scripts/build_python_client.sh.j2 b/templates/github/.github/workflows/scripts/build_python_client.sh.j2 index 9ace5cfc..5842c268 100755 --- a/templates/github/.github/workflows/scripts/build_python_client.sh.j2 +++ b/templates/github/.github/workflows/scripts/build_python_client.sh.j2 @@ -20,7 +20,7 @@ pushd {{ plugin.name | snake }}-client python setup.py sdist bdist_wheel --python-tag py3 twine check "dist/{{ plugin.name | snake }}_client-"*"-py3-none-any.whl" -twine check "dist/{{ plugin.name | snake }}-client-"*".tar.gz" +twine check "dist/{{ plugin.name | snake }}_client-"*".tar.gz" tar cvf "../../{{ plugin_name }}/{{ plugin.app_label }}-python-client.tar" ./dist