Skip to content

Commit

Permalink
Revert the canonicalization of the version. Ref pypa/setuptools#3593.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Apr 13, 2024
1 parent 96ce7aa commit b26678d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distutils/dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import logging
from email import message_from_file

from ._vendor.packaging.utils import canonicalize_name, canonicalize_version
from ._vendor.packaging.utils import canonicalize_name

try:
import warnings
Expand Down Expand Up @@ -1193,7 +1193,7 @@ def get_version(self):
def get_fullname(self):
return "{}-{}".format(
canonicalize_name(self.get_name()).replace('-', '_'),
canonicalize_version(self.get_version()),
self.get_version(),
)

def get_author(self):
Expand Down

0 comments on commit b26678d

Please sign in to comment.