From 1de797798e386040f0881108c7c5ab87ae73ffac Mon Sep 17 00:00:00 2001 From: Dustin Ingram Date: Tue, 19 Nov 2024 10:47:16 -0500 Subject: [PATCH] Fix typo in PEP 625 email (#17120) * Fix typo * Put filename in quotes --- warehouse/templates/email/pep625-extension-email/body.html | 2 +- warehouse/templates/email/pep625-extension-email/body.txt | 2 +- warehouse/templates/email/pep625-name-email/body.html | 4 ++-- warehouse/templates/email/pep625-name-email/body.txt | 2 +- warehouse/templates/email/pep625-version-email/body.html | 2 +- warehouse/templates/email/pep625-version-email/body.txt | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/warehouse/templates/email/pep625-extension-email/body.html b/warehouse/templates/email/pep625-extension-email/body.html index dc7be8b4e097..9ba232507684 100644 --- a/warehouse/templates/email/pep625-extension-email/body.html +++ b/warehouse/templates/email/pep625-extension-email/body.html @@ -28,7 +28,7 @@ as-is and do not need to be updated.

- Specifically, your recent upload of {{ filename }} is incompatible with PEP + Specifically, your recent upload of '{{ filename }}' is incompatible with PEP 625 because it uses the .zip file extension.

diff --git a/warehouse/templates/email/pep625-extension-email/body.txt b/warehouse/templates/email/pep625-extension-email/body.txt index 51ac7aa592e6..3acf79bf3ddd 100644 --- a/warehouse/templates/email/pep625-extension-email/body.txt +++ b/warehouse/templates/email/pep625-extension-email/body.txt @@ -19,7 +19,7 @@ This email is notifying you of an upcoming deprecation that we have determined m In the future, PyPI will require all newly uploaded source distribution filenames to comply with PEP 625 (https://peps.python.org/pep-0625/). Any source distributions already uploaded will remain in place as-is and do not need to be updated. -Specifically, your recent upload of {{ filename }} is incompatible with PEP 625 because it uses the .zip extension. +Specifically, your recent upload of '{{ filename }}' is incompatible with PEP 625 because it uses the .zip extension. In most cases, this can be resolved by upgrading the version of your build tooling to a later version that supports PEP 625 and produces compliant filenames. diff --git a/warehouse/templates/email/pep625-name-email/body.html b/warehouse/templates/email/pep625-name-email/body.html index d5b415881ff4..61f579e36741 100644 --- a/warehouse/templates/email/pep625-name-email/body.html +++ b/warehouse/templates/email/pep625-name-email/body.html @@ -28,8 +28,8 @@ as-is and do not need to be updated.

- Specifically, your recent upload of {{ filename }} is incompatible with PEP - 625 because it does not contains the normalized project name + Specifically, your recent upload of '{{ filename }}' is incompatible with PEP + 625 because it does not contain the normalized project name '{{ normalized_name }}'.

diff --git a/warehouse/templates/email/pep625-name-email/body.txt b/warehouse/templates/email/pep625-name-email/body.txt index b54544ae0e42..d31af16a1dd8 100644 --- a/warehouse/templates/email/pep625-name-email/body.txt +++ b/warehouse/templates/email/pep625-name-email/body.txt @@ -19,7 +19,7 @@ This email is notifying you of an upcoming deprecation that we have determined m In the future, PyPI will require all newly uploaded source distribution filenames to comply with PEP 625 (https://peps.python.org/pep-0625/). Any source distributions already uploaded will remain in place as-is and do not need to be updated. -Specifically, your recent upload of {{ filename }} is incompatible with PEP 625 because it does not contain the normalized project name '{{ normalized_name }}'. +Specifically, your recent upload of '{{ filename }}' is incompatible with PEP 625 because it does not contain the normalized project name '{{ normalized_name }}'. In most cases, this can be resolved by upgrading the version of your build tooling to a later version that supports PEP 625 and produces compliant filenames. diff --git a/warehouse/templates/email/pep625-version-email/body.html b/warehouse/templates/email/pep625-version-email/body.html index 2e325d04fe25..cffc60acfc08 100644 --- a/warehouse/templates/email/pep625-version-email/body.html +++ b/warehouse/templates/email/pep625-version-email/body.html @@ -28,7 +28,7 @@ as-is and do not need to be updated.

- Specifically, your recent upload of {{ filename }} is incompatible with PEP + Specifically, your recent upload of '{{ filename }}' is incompatible with PEP 625 because it does not contain the normalized project version '{{ normalized_version }}'.

diff --git a/warehouse/templates/email/pep625-version-email/body.txt b/warehouse/templates/email/pep625-version-email/body.txt index 768081628713..5c279b3a94fb 100644 --- a/warehouse/templates/email/pep625-version-email/body.txt +++ b/warehouse/templates/email/pep625-version-email/body.txt @@ -19,7 +19,7 @@ This email is notifying you of an upcoming deprecation that we have determined m In the future, PyPI will require all newly uploaded source distribution filenames to comply with PEP 625 (https://peps.python.org/pep-0625/). Any source distributions already uploaded will remain in place as-is and do not need to be updated. -Specifically, your recent upload of {{ filename }} is incompatible with PEP 625 because it does not contain contain the normalized project version '{{ normalized_version }}'. +Specifically, your recent upload of '{{ filename }}' is incompatible with PEP 625 because it does not contain contain the normalized project version '{{ normalized_version }}'. In most cases, this can be resolved by upgrading the version of your build tooling to a later version that supports PEP 625 and produces compliant filenames.