aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/dist.py
diff options
context:
space:
mode:
authorMin RK <benjaminrk@gmail.com>2015-01-20 11:24:18 -0800
committerMin RK <benjaminrk@gmail.com>2015-01-20 11:24:18 -0800
commit0478d8fa223ca94e5c9a3f42dd5f92ed8be1270f (patch)
treed1695515260817f8c666bccc3cf43437ab022bb3 /setuptools/dist.py
parentc279903336c73f74c9c8df7aac1e43fb6046c34e (diff)
downloadexternal_python_setuptools-0478d8fa223ca94e5c9a3f42dd5f92ed8be1270f.tar.gz
external_python_setuptools-0478d8fa223ca94e5c9a3f42dd5f92ed8be1270f.tar.bz2
external_python_setuptools-0478d8fa223ca94e5c9a3f42dd5f92ed8be1270f.zip
remove warning on normalization
It seems inappropriate to show a warning on schemes officially supported in PEP 440. --HG-- branch : no-normalize-warning
Diffstat (limited to 'setuptools/dist.py')
-rw-r--r--setuptools/dist.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py
index bc29b131..03d78520 100644
--- a/setuptools/dist.py
+++ b/setuptools/dist.py
@@ -276,13 +276,6 @@ class Distribution(_Distribution):
ver = packaging.version.Version(self.metadata.version)
normalized_version = str(ver)
if self.metadata.version != normalized_version:
- warnings.warn(
- "The version specified requires normalization, "
- "consider using '%s' instead of '%s'." % (
- normalized_version,
- self.metadata.version,
- )
- )
self.metadata.version = normalized_version
except (packaging.version.InvalidVersion, TypeError):
warnings.warn(