certbot/tools
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
..
docker docker: delete CARGO_HOME (#8839) 2021-05-11 01:03:35 +02:00
pinning dns-rfc2136: use certbot's own is_ipaddress func (#9035) 2021-09-14 07:48:15 +10:00
snap Improve snapcraft remote build (#8985) 2021-08-12 15:34:40 -07:00
_changelog_top.txt Remove list of modified packages from changelog. (#7146) 2019-06-11 14:02:54 -07:00
_release.sh Change PGP keys (#9046) 2021-10-14 14:27:15 -07:00
extract_changelog.py Insert new line before "More details about these changes can be found on our GitHub repo." (#8645) 2021-02-25 16:30:48 -08:00
finish_release.py Add finish_release flags and CLI parsing (#8522) 2020-12-10 15:13:48 -08:00
install_and_test.py Fix python-augeas failure on Windows (v2) (#8951) 2021-07-29 11:25:25 -07:00
oldest_constraints.txt dns-rfc2136: use certbot's own is_ipaddress func (#9035) 2021-09-14 07:48:15 +10:00
pip_install.py Finish pinning system rewrite (#8934) 2021-07-22 12:00:30 -07:00
pip_install_editable.py remove references to certbot-constraints.txt (#8858) 2021-05-24 14:17:11 -07:00
pipstrap.py Pin pip & co like our other dependencies (#8868) 2021-06-09 17:01:54 -07:00
readlink.py Removed Python legacy __future__ imports (#8697) 2021-03-05 16:53:20 -08:00
release.sh Release script improvements (#6337) 2018-09-05 14:10:05 -07:00
requirements.txt Upgrade pinned versions of certbot dependencies (josepy in particular) (#9027) 2021-09-10 12:26:07 -07:00
retry.sh Automatically retry test farm tests (#8325) 2020-09-30 17:05:52 -07:00
sphinx-quickstart.sh Convert http links to https (#8287) 2020-09-23 19:36:55 +02:00
venv.py Add Python 3.10 support and tests (#9077) 2021-11-08 15:55:32 -08:00