certbot/certbot-ci/certbot_integration_tests/utils
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
..
__init__.py [Unix] Create a framework for certbot integration tests: PART 1 (#6578) 2019-03-01 13:18:06 -08:00
acme_server.py pylint: upgrade pinned verson and fix new lints (#8936) 2021-07-15 11:03:39 -07:00
certbot_call.py Add Python 3.10 support and tests (#9077) 2021-11-08 15:55:32 -08:00
constants.py Fix test farm tests by using a local Pebble instance (#8561) 2020-12-22 10:24:20 -08:00
dns_server.py pylint: upgrade pinned verson and fix new lints (#8936) 2021-07-15 11:03:39 -07:00
misc.py Use latest version of mypy (#8992) 2021-08-17 10:52:57 -07:00
pebble_artifacts.py Deprecate acme.typing_magic module, stop using it in certbot (#8643) 2021-03-09 16:12:32 -08:00
pebble_ocsp_server.py Upgrade to mypy 0.812 (#8748) 2021-04-02 11:54:40 -07:00
proxy.py Remove dependency on six (#8650) 2021-02-09 11:43:15 -08:00