We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
escape_name
1 parent 23e40b6 commit 0651747Copy full SHA for 0651747
src/poetry/core/masonry/utils/helpers.py
@@ -29,5 +29,8 @@ def escape_version(version: str) -> str:
29
30
31
def escape_name(name: str) -> str:
32
- """Escaped wheel name as specified in https://packaging.python.org/en/latest/specifications/binary-distribution-format/#escaping-and-unicode."""
+ """
33
+ Escaped wheel name as specified in https://packaging.python.org/en/latest/specifications/binary-distribution-format/#escaping-and-unicode.
34
+ This method should only be used for the generation of wheels, and not for the artifact package names.
35
36
return re.sub(r"[-_.]+", "_", name, flags=re.UNICODE).lower()
0 commit comments