certbot/certbot-apache/certbot_apache/_internal
Brad Warren e8265dbf9c
Add Python 3.10 support and tests (#9077)
Fixes https://github.com/certbot/certbot/issues/9058.

The changes to the CI config are equivalent to the ones made in https://github.com/certbot/certbot/pull/8460.

Other than ignoring some warnings raised by botocore, the main additional work that had to be done here was switching away from using `distutils.version.LooseVersion` since the entire `distutils` module was deprecated in Python 3.10. To do that, I took a few different approaches:

* If the version strings being parsed are from Python packages such as Certbot or setuptools, I switched to using [pkg_resources.parse_version](https://setuptools.pypa.io/en/latest/pkg_resources.html#parsing-utilities) from `setuptools`. This functionality has been available since [setuptools 8.0 from 2014](https://setuptools.pypa.io/en/latest/history.html#id865).
* If the version strings being parsed are not from Python packages, I added code equivalent to `distutils.version.LooseVersion` in `certbot.util.parse_loose_version`.
* The code for `CERTBOT_PIP_NO_BINARY` can be completely removed since that variable isn't used or referenced anywhere in this repo.

* add python 3.10 support

* make some version changes

* don't use looseversion in setup.py

* switch to pkg_resources

* deprecate get_strict_version

* fix route53 tests

* remove unused CERTBOT_PIP_NO_BINARY code

* stop using distutils in letstest

* add unit tests

* more changelog entries
2021-11-08 15:55:32 -08:00
..
augeas_lens Convert http links to https (#8287) 2020-09-23 19:36:55 +02:00
tls_configs Disable TLS session tickets in Apache (#7771) 2020-03-23 16:49:52 -07:00
__init__.py Make the contents of the apache plugin private (#7579) 2019-11-25 09:44:40 -08:00
apache_util.py BF: apache cfg parsing - relax assumption that value cannot contain = (#8930) 2021-08-13 07:57:24 +10:00
apacheparser.py Use Python 3 style super (#8777) 2021-04-08 13:04:51 -07:00
assertions.py Upgrade pylint (#8855) 2021-05-24 10:02:55 -07:00
augeasparser.py Use Python 3 style super (#8777) 2021-04-08 13:04:51 -07:00
configurator.py Add Python 3.10 support and tests (#9077) 2021-11-08 15:55:32 -08:00
constants.py Remove all non essential references to the old Zope interfaces (#8988) 2021-08-17 14:51:26 -07:00
display_ops.py Deprecate zope.component in favor of an direct calls to functions from certbot.display.util module (#8835) 2021-07-19 17:09:06 -07:00
dualparser.py Deprecate acme.typing_magic module, stop using it in certbot (#8643) 2021-03-09 16:12:32 -08:00
entrypoint.py Add Python 3.10 support and tests (#9077) 2021-11-08 15:55:32 -08:00
http_01.py Fix some typos (found by codespell) (#9017) 2021-09-03 06:43:13 +10:00
interfaces.py Fix some typos (found by codespell) (#9017) 2021-09-03 06:43:13 +10:00
obj.py Use Python 3 style super (#8777) 2021-04-08 13:04:51 -07:00
override_arch.py Reimplement Certbot zope.interfaces into abstract base classes (#8950) 2021-07-29 13:45:29 -07:00
override_centos.py Fix some typos (found by codespell) (#9017) 2021-09-03 06:43:13 +10:00
override_darwin.py Reimplement Certbot zope.interfaces into abstract base classes (#8950) 2021-07-29 13:45:29 -07:00
override_debian.py Reimplement Certbot zope.interfaces into abstract base classes (#8950) 2021-07-29 13:45:29 -07:00
override_fedora.py Fix some typos (found by codespell) (#9017) 2021-09-03 06:43:13 +10:00
override_gentoo.py Reimplement Certbot zope.interfaces into abstract base classes (#8950) 2021-07-29 13:45:29 -07:00
override_suse.py Reimplement Certbot zope.interfaces into abstract base classes (#8950) 2021-07-29 13:45:29 -07:00
override_void.py Remove all non essential references to the old Zope interfaces (#8988) 2021-08-17 14:51:26 -07:00
parser.py Add type annotations to the acme project (#9036) 2021-10-25 09:43:21 +11:00
parsernode_util.py Minor bugfixes (#7891) 2020-04-13 10:41:39 -07:00