certbot/certbot-ci
Florian Klink 25e79e4aca
tree-wide: use LooseVersion instead of StrictVersion (#8081)
According to `distutils/version.py`, StrictVersion is pretty strict in
what version numbers to accept:

> A version number consists of two or three dot-separated numeric
> components, with an optional "pre-release" tag on the end.  The
> pre-release tag consists of the letter 'a' or 'b' followed by a number.

This assumption already fails for some pretty basic python libraries
itself, like setuptools, also available in `46.1.3.post20200610`, a
completely valid version number according to
https://www.python.org/dev/peps/pep-0440/#post-releases.

There doesn't seem to be a particular reason on why StrictVersion has
been used here, so let's use LooseVersion, to be compatible with these
versions.

Co-authored-by: Adrien Ferrand <adferrand@users.noreply.github.com>
2020-06-19 17:11:35 +02:00
..
certbot_integration_tests Run hooks with Powershell on Windows (#7800) 2020-04-27 09:38:30 -07:00
windows_installer_integration_tests Windows installer integration tests (#7724) 2020-02-05 14:12:29 -08:00
MANIFEST.in [Unix] Create a framework for certbot integration tests: PART 3g (#6953) 2019-04-15 17:39:38 -07:00
setup.py tree-wide: use LooseVersion instead of StrictVersion (#8081) 2020-06-19 17:11:35 +02:00