Remove DeprecationWarning about LegacyVersion

This commit is contained in:
Petr Viktorin 2020-12-16 21:36:25 +01:00
commit cae1e54349
2 changed files with 20 additions and 0 deletions

View file

@ -88,6 +88,11 @@ Patch4: dummy-certifi.patch
# this warning is juts moot. Also, the warning breaks CPython test suite.
Patch5: nowarn-pip._internal.main.patch
# Don't warn the user about packaging's LegacyVersion being deprecated.
# (This also breaks Python's test suite when warnings are treated as errors.)
# Upstream issue: https://github.com/pypa/packaging/issues/368
Patch6: no-version-warning.patch
# Downstream only patch
# Users might have local installations of pip from using
# `pip install --user --upgrade pip` on older/newer versions.