2021-08-09 18:33:45 +00:00
|
|
|
diff --git a/src/pip/_vendor/packaging/version.py b/src/pip/_vendor/packaging/version.py
|
|
|
|
index de9a09a..154e94d 100644
|
|
|
|
--- a/src/pip/_vendor/packaging/version.py
|
|
|
|
+++ b/src/pip/_vendor/packaging/version.py
|
|
|
|
@@ -108,11 +108,6 @@ class LegacyVersion(_BaseVersion):
|
2020-12-16 20:36:25 +00:00
|
|
|
self._version = str(version)
|
|
|
|
self._key = _legacy_cmpkey(self._version)
|
|
|
|
|
|
|
|
- warnings.warn(
|
|
|
|
- "Creating a LegacyVersion has been deprecated and will be "
|
|
|
|
- "removed in the next major release",
|
|
|
|
- DeprecationWarning,
|
|
|
|
- )
|
|
|
|
|
2021-08-09 18:33:45 +00:00
|
|
|
def __str__(self) -> str:
|
|
|
|
return self._version
|