certbot/tools
Brad Warren 00235d3807
Switch oldest tests to Python 3 (#8590)
Fixes https://github.com/certbot/certbot/issues/8580.

With this PR, it should now be possible to run the oldest tests natively on Linux, at least when using an older version of Python 3, which hasn't been possible in a long time. Unfortunately, this isn't possible on macOS which I opened https://github.com/certbot/certbot/issues/8589 to track.

You can see the full test suite running with these changes at https://dev.azure.com/certbot/certbot/_build/results?buildId=3283&view=results.

I took the version numbers for the packages I updated by searching for the oldest version of the dependency I think we should try and support based on the updated comments at the top of `oldest_constraints.txt`. While kind of annoying, I think it'd be a good idea for the reviewer to double check that I didn't make a mistake with the versions I used here.

To find these versions, I used https://packages.ubuntu.com, https://packages.debian.org, and a CentOS 7 Docker image with EPEL 7 installed. For the latter, not all packages are available in Python 3 yet (which is something Certbot's EPEL package maintainers are working on) and in that case I didn't worry about the system because I think they can/will package the newest version available. If they end up hitting any issues here when trying to package Certbot on Python 3, we can always work with them to fix it.

* remove py27 from oldest name

* update min cryptography version

* remove run_oldest_tests.sh

* upgrade setuptools and pyopenssl

* update cffi, pyparsing, and idna

* expand oldest_constraints comments

* clarify oldest comment

* update min configobj version

* update min parsedatetime version

* quote tox env name

* use Python 3.6 in the oldest tests

* use Python 3.6 for oldest integration tests

* properly pin asn1crypto

* update min six version

* set basepython for a nicer error message

* remove outdated python 2 oldest constraints
2021-01-25 12:59:14 -08:00
..
docker Enable again build isolation with proper pinning of build dependencies (#8443) 2020-12-16 10:49:31 -08:00
snap Pin DNS plugin snap build dependencies (#8553) 2020-12-18 15:02:23 -08:00
_changelog_top.txt Remove list of modified packages from changelog. (#7146) 2019-06-11 14:02:54 -07:00
_release.sh Always sign certbot-auto with a yubikey (#8600) 2021-01-12 13:45:26 -08:00
_venv_common.py Write a replacement for pipstrap (#8401) 2020-11-06 11:17:41 +01:00
deactivate.py Minor bugfixes (#7891) 2020-04-13 10:41:39 -07:00
dev_constraints.txt Enable Python 3.8 for Certbot on Windows (#8465) 2021-01-06 16:17:34 -08:00
eff-pubkey.pem Add pubkey to tree 2016-03-01 11:21:51 -08:00
extract_changelog.py Reorganize imports (#7616) 2019-12-09 15:50:20 -05:00
finish_release.py Add finish_release flags and CLI parsing (#8522) 2020-12-10 15:13:48 -08:00
half-sign.c Use SHA256 openssl signatures 2016-01-11 14:22:51 -08:00
install_and_test.py Remove letshelp-certbot (#7761) 2020-02-14 17:19:19 -08:00
merge_requirements.py Add Python 3.9 support and tests (#8460) 2020-11-19 12:48:36 -08:00
oldest_constraints.txt Switch oldest tests to Python 3 (#8590) 2021-01-25 12:59:14 -08:00
pip_install.py Enable again build isolation with proper pinning of build dependencies (#8443) 2020-12-16 10:49:31 -08:00
pip_install_editable.py Add comment about pyca's use of tools script (#8044) 2020-06-08 12:14:02 -07:00
pipstrap.py Enable again build isolation with proper pinning of build dependencies (#8443) 2020-12-16 10:49:31 -08:00
pipstrap_constraints.txt Enable again build isolation with proper pinning of build dependencies (#8443) 2020-12-16 10:49:31 -08:00
readlink.py Reorganize imports (#7616) 2019-12-09 15:50:20 -05:00
release.sh Release script improvements (#6337) 2018-09-05 14:10:05 -07:00
retry.sh Automatically retry test farm tests (#8325) 2020-09-30 17:05:52 -07:00
simple_http_server.py Some improvements (#8132) 2020-07-06 16:04:59 -07:00
sphinx-quickstart.sh Convert http links to https (#8287) 2020-09-23 19:36:55 +02:00
strip_hashes.py Address review comments 2019-03-04 15:52:38 +02:00
venv.py Reorganize imports (#7616) 2019-12-09 15:50:20 -05:00
venv3.py Refactor certbot/ and certbot/tests/ to use the same structure as the other packages (#7544) 2019-11-25 14:28:05 -08:00