Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Ferrand <adferrand@users.noreply.github.com>2021-01-26 02:07:43 +0300
committerGitHub <noreply@github.com>2021-01-26 02:07:43 +0300
commit7399807ff2b4f8ac1f97e4f037f374610ca88797 (patch)
tree6e02df83f48b8d5d39d2e66a016167de87bf73c4 /.azure-pipelines
parent00235d3807f298c3cee700ed946a2fc6c3bf8145 (diff)
Drop Python 2 support (#8591)
Fixes #8389 #8584. This PR makes the necessary modifications to officially drop Python 2 support in the Certbot project. I did not remove the specific Python 2 compatibility branches that has been added in various places in the codebase, to reduce the size of this PR and this will be done in a future one * Update classifiers and python_requires in setup.py * Remove warnings about Python 2 deprecation * Remove Azure jobs on Python 2.7 * Remove references to python 2 in documentation * Pin dnspython to 2.1.0 * Update changelog * Remove warning ignore
Diffstat (limited to '.azure-pipelines')
-rw-r--r--.azure-pipelines/templates/jobs/extended-tests-jobs.yml8
-rw-r--r--.azure-pipelines/templates/jobs/standard-tests-jobs.yml14
2 files changed, 5 insertions, 17 deletions
diff --git a/.azure-pipelines/templates/jobs/extended-tests-jobs.yml b/.azure-pipelines/templates/jobs/extended-tests-jobs.yml
index 56e8d447e..48fcae18f 100644
--- a/.azure-pipelines/templates/jobs/extended-tests-jobs.yml
+++ b/.azure-pipelines/templates/jobs/extended-tests-jobs.yml
@@ -37,14 +37,6 @@ jobs:
PYTHON_VERSION: 3.6
TOXENV: integration-nginx-oldest
ACME_SERVER: boulder-v2
- linux-boulder-v1-py27-integration:
- PYTHON_VERSION: 2.7
- TOXENV: integration
- ACME_SERVER: boulder-v1
- linux-boulder-v2-py27-integration:
- PYTHON_VERSION: 2.7
- TOXENV: integration
- ACME_SERVER: boulder-v2
linux-boulder-v1-py36-integration:
PYTHON_VERSION: 3.6
TOXENV: integration
diff --git a/.azure-pipelines/templates/jobs/standard-tests-jobs.yml b/.azure-pipelines/templates/jobs/standard-tests-jobs.yml
index 6865857dd..3ff00b21a 100644
--- a/.azure-pipelines/templates/jobs/standard-tests-jobs.yml
+++ b/.azure-pipelines/templates/jobs/standard-tests-jobs.yml
@@ -4,10 +4,10 @@ jobs:
PYTHON_VERSION: 3.9
strategy:
matrix:
- macos-py27:
+ macos-py36:
IMAGE_NAME: macOS-10.15
- PYTHON_VERSION: 2.7
- TOXENV: py27
+ PYTHON_VERSION: 3.6
+ TOXENV: py36
macos-py39:
IMAGE_NAME: macOS-10.15
PYTHON_VERSION: 3.9
@@ -32,10 +32,6 @@ jobs:
IMAGE_NAME: ubuntu-18.04
PYTHON_VERSION: 3.6
TOXENV: '{dns,nginx}-oldest'
- linux-py27:
- IMAGE_NAME: ubuntu-18.04
- PYTHON_VERSION: 2.7
- TOXENV: py27
linux-py36:
IMAGE_NAME: ubuntu-18.04
PYTHON_VERSION: 3.6
@@ -65,11 +61,11 @@ jobs:
TOXENV: modification
apacheconftest:
IMAGE_NAME: ubuntu-18.04
- PYTHON_VERSION: 2.7
+ PYTHON_VERSION: 3.6
TOXENV: apacheconftest-with-pebble
nginxroundtrip:
IMAGE_NAME: ubuntu-18.04
- PYTHON_VERSION: 2.7
+ PYTHON_VERSION: 3.6
TOXENV: nginxroundtrip
pool:
vmImage: $(IMAGE_NAME)