Deprecate support of Apache 2.2 in certbot-apache (#8516)

Fixes #8462

* Deprecate support of Apache 2.2 in certbot-apache

* Add a changelog
This commit is contained in:
Adrien Ferrand
2020-12-10 12:57:13 -08:00
committed by GitHub
parent 878c3e396f
commit e9a96f5e2a
2 changed files with 5 additions and 0 deletions
@@ -327,6 +327,9 @@ class ApacheConfigurator(common.Installer):
if self.version < (2, 2): if self.version < (2, 2):
raise errors.NotSupportedError( raise errors.NotSupportedError(
"Apache Version {0} not supported.".format(str(self.version))) "Apache Version {0} not supported.".format(str(self.version)))
elif self.version < (2, 4):
logger.warning('Support for Apache 2.2 is deprecated and will be removed in a '
'future release.')
# Recover from previous crash before Augeas initialization to have the # Recover from previous crash before Augeas initialization to have the
# correct parse tree from the get go. # correct parse tree from the get go.
+2
View File
@@ -13,6 +13,8 @@ Certbot adheres to [Semantic Versioning](https://semver.org/).
* We deprecated support for Python 2 in Certbot and its ACME library. * We deprecated support for Python 2 in Certbot and its ACME library.
Support for Python 2 will be removed in the next planned release of Certbot. Support for Python 2 will be removed in the next planned release of Certbot.
* certbot-auto was deprecated on all systems. * certbot-auto was deprecated on all systems.
* We deprecated support for Apache 2.2 in the certbot-apache plugin and it will
be removed in a future release of Certbot.
### Fixed ### Fixed