Compare commits

...

1 Commits

Author SHA1 Message Date
Adrien Ferrand
a87a536f82 Setup CI system for Python3.9 2020-10-22 21:27:28 +02:00
23 changed files with 51 additions and 23 deletions

View File

@@ -4,7 +4,7 @@ jobs:
- name: IMAGE_NAME - name: IMAGE_NAME
value: ubuntu-18.04 value: ubuntu-18.04
- name: PYTHON_VERSION - name: PYTHON_VERSION
value: 3.8 value: 3.9
- group: certbot-common - group: certbot-common
strategy: strategy:
matrix: matrix:
@@ -14,9 +14,12 @@ jobs:
linux-py37: linux-py37:
PYTHON_VERSION: 3.7 PYTHON_VERSION: 3.7
TOXENV: py37 TOXENV: py37
linux-py37-nopin: linux-py38:
PYTHON_VERSION: 3.7 PYTHON_VERSION: 3.8
TOXENV: py37 TOXENV: py38
linux-py39-nopin:
PYTHON_VERSION: 3.9
TOXENV: py39
CERTBOT_NO_PIN: 1 CERTBOT_NO_PIN: 1
linux-boulder-v1-integration-certbot-oldest: linux-boulder-v1-integration-certbot-oldest:
TOXENV: integration-certbot-oldest TOXENV: integration-certbot-oldest
@@ -62,6 +65,14 @@ jobs:
PYTHON_VERSION: 3.8 PYTHON_VERSION: 3.8
TOXENV: integration TOXENV: integration
ACME_SERVER: boulder-v2 ACME_SERVER: boulder-v2
linux-boulder-v1-py39-integration:
PYTHON_VERSION: 3.9
TOXENV: integration
ACME_SERVER: boulder-v1
linux-boulder-v2-py39-integration:
PYTHON_VERSION: 3.9
TOXENV: integration
ACME_SERVER: boulder-v2
nginx-compat: nginx-compat:
TOXENV: nginx_compat TOXENV: nginx_compat
le-auto-oraclelinux6: le-auto-oraclelinux6:
@@ -72,16 +83,16 @@ jobs:
# We run one of these test farm tests on macOS to help ensure the # We run one of these test farm tests on macOS to help ensure the
# tests continue to work on the platform. # tests continue to work on the platform.
IMAGE_NAME: macOS-10.15 IMAGE_NAME: macOS-10.15
PYTHON_VERSION: 3.8 PYTHON_VERSION: 3.9
TOXENV: test-farm-apache2 TOXENV: test-farm-apache2
farmtest-leauto-upgrades: farmtest-leauto-upgrades:
PYTHON_VERSION: 3.7 PYTHON_VERSION: 3.9
TOXENV: test-farm-leauto-upgrades TOXENV: test-farm-leauto-upgrades
farmtest-certonly-standalone: farmtest-certonly-standalone:
PYTHON_VERSION: 3.7 PYTHON_VERSION: 3.9
TOXENV: test-farm-certonly-standalone TOXENV: test-farm-certonly-standalone
farmtest-sdists: farmtest-sdists:
PYTHON_VERSION: 3.7 PYTHON_VERSION: 3.9
TOXENV: test-farm-sdists TOXENV: test-farm-sdists
pool: pool:
vmImage: $(IMAGE_NAME) vmImage: $(IMAGE_NAME)

View File

@@ -72,7 +72,7 @@ jobs:
displayName: Check Powershell 5.x is used in vs2017-win2016 displayName: Check Powershell 5.x is used in vs2017-win2016
- task: UsePythonVersion@0 - task: UsePythonVersion@0
inputs: inputs:
versionSpec: 3.8 versionSpec: 3.9
addToPath: true addToPath: true
- task: DownloadPipelineArtifact@2 - task: DownloadPipelineArtifact@2
inputs: inputs:
@@ -117,7 +117,7 @@ jobs:
displayName: Install dependencies displayName: Install dependencies
- task: UsePythonVersion@0 - task: UsePythonVersion@0
inputs: inputs:
versionSpec: 3.8 versionSpec: 3.9
addToPath: true addToPath: true
- task: DownloadSecureFile@1 - task: DownloadSecureFile@1
name: credentials name: credentials
@@ -148,7 +148,7 @@ jobs:
steps: steps:
- task: UsePythonVersion@0 - task: UsePythonVersion@0
inputs: inputs:
versionSpec: 3.8 versionSpec: 3.9
addToPath: true addToPath: true
- script: | - script: |
set -e set -e
@@ -183,7 +183,7 @@ jobs:
displayName: Install dependencies displayName: Install dependencies
- task: UsePythonVersion@0 - task: UsePythonVersion@0
inputs: inputs:
versionSpec: 3.8 versionSpec: 3.9
addToPath: true addToPath: true
- task: DownloadPipelineArtifact@2 - task: DownloadPipelineArtifact@2
inputs: inputs:

View File

@@ -1,17 +1,17 @@
jobs: jobs:
- job: test - job: test
variables: variables:
PYTHON_VERSION: 3.8 PYTHON_VERSION: 3.9
strategy: strategy:
matrix: matrix:
macos-py27: macos-py27:
IMAGE_NAME: macOS-10.15 IMAGE_NAME: macOS-10.15
PYTHON_VERSION: 2.7 PYTHON_VERSION: 2.7
TOXENV: py27 TOXENV: py27
macos-py38: macos-py39:
IMAGE_NAME: macOS-10.15 IMAGE_NAME: macOS-10.15
PYTHON_VERSION: 3.8 PYTHON_VERSION: 3.9
TOXENV: py38 TOXENV: py39
windows-py36: windows-py36:
IMAGE_NAME: vs2017-win2016 IMAGE_NAME: vs2017-win2016
PYTHON_VERSION: 3.6 PYTHON_VERSION: 3.6
@@ -38,13 +38,13 @@ jobs:
IMAGE_NAME: ubuntu-18.04 IMAGE_NAME: ubuntu-18.04
PYTHON_VERSION: 3.6 PYTHON_VERSION: 3.6
TOXENV: py36 TOXENV: py36
linux-py38-cover: linux-py39-cover:
IMAGE_NAME: ubuntu-18.04 IMAGE_NAME: ubuntu-18.04
PYTHON_VERSION: 3.8 PYTHON_VERSION: 3.9
TOXENV: py38-cover TOXENV: py38-cover
linux-py37-lint: linux-py39-lint:
IMAGE_NAME: ubuntu-18.04 IMAGE_NAME: ubuntu-18.04
PYTHON_VERSION: 3.7 PYTHON_VERSION: 3.9
TOXENV: lint TOXENV: lint
linux-py36-mypy: linux-py36-mypy:
IMAGE_NAME: ubuntu-18.04 IMAGE_NAME: ubuntu-18.04
@@ -52,7 +52,6 @@ jobs:
TOXENV: mypy TOXENV: mypy
linux-integration: linux-integration:
IMAGE_NAME: ubuntu-18.04 IMAGE_NAME: ubuntu-18.04
PYTHON_VERSION: 2.7
TOXENV: integration TOXENV: integration
ACME_SERVER: pebble ACME_SERVER: pebble
apache-compat: apache-compat:
@@ -63,11 +62,9 @@ jobs:
TOXENV: le_auto_centos6 TOXENV: le_auto_centos6
apacheconftest: apacheconftest:
IMAGE_NAME: ubuntu-18.04 IMAGE_NAME: ubuntu-18.04
PYTHON_VERSION: 2.7
TOXENV: apacheconftest-with-pebble TOXENV: apacheconftest-with-pebble
nginxroundtrip: nginxroundtrip:
IMAGE_NAME: ubuntu-18.04 IMAGE_NAME: ubuntu-18.04
PYTHON_VERSION: 2.7
TOXENV: nginxroundtrip TOXENV: nginxroundtrip
pool: pool:
vmImage: $(IMAGE_NAME) vmImage: $(IMAGE_NAME)

View File

@@ -66,6 +66,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
], ],

View File

@@ -53,6 +53,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',

View File

@@ -52,6 +52,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
], ],

View File

@@ -50,6 +50,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
], ],

View File

@@ -63,6 +63,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',

View File

@@ -63,6 +63,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',

View File

@@ -64,6 +64,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',

View File

@@ -74,6 +74,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',

View File

@@ -63,6 +63,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',

View File

@@ -62,6 +62,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',

View File

@@ -66,6 +66,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',

View File

@@ -62,6 +62,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',

View File

@@ -63,6 +63,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',

View File

@@ -63,6 +63,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',

View File

@@ -63,6 +63,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',

View File

@@ -63,6 +63,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',

View File

@@ -58,6 +58,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',

View File

@@ -62,6 +62,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',

View File

@@ -49,6 +49,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',

View File

@@ -131,6 +131,7 @@ setup(
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Security', 'Topic :: Security',
'Topic :: System :: Installation/Setup', 'Topic :: System :: Installation/Setup',