mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
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>
Apache plugin for Certbot