summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-11-20 19:52:37 -0500
committerNed Batchelder <ned@nedbatchelder.com>2019-11-25 15:54:39 -0500
commitb90db9580f2a70c83bc224a6867c40a06e4c0aa0 (patch)
tree3762dabc7ce6f33e37473e166f01784f90ed8b03
parent20ce77515dc3183a33f86adbaa2a82fd8f52bbed (diff)
downloadpython-coveragepy-git-b90db9580f2a70c83bc224a6867c40a06e4c0aa0.tar.gz
Test on Python 3.9
-rw-r--r--appveyor.yml15
-rw-r--r--requirements/dev.pip2
-rw-r--r--requirements/pytest.pip4
-rw-r--r--requirements/tox.pip2
-rw-r--r--tox.ini5
5 files changed, 22 insertions, 6 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 0d435181..8404fd4c 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -17,8 +17,7 @@ environment:
PYTEST_ADDOPTS: "-n 0"
# Note: There is logic to install Python version $PYTHON_VERSION if the
- # $PYTHON directory doesn't exist. Last I tried (Oct 2018), that installation
- # failed, and I don't know why. $PYTHON_VERSION is visible in the job
+ # $PYTHON directory doesn't exist. $PYTHON_VERSION is visible in the job
# descriptions, but can be wrong in the minor version, since we use the
# version pre-installed on AppVeyor.
matrix:
@@ -82,6 +81,18 @@ environment:
PYTHON_VERSION: "3.8.0"
PYTHON_ARCH: "64"
+ - JOB: "3.9 32-bit"
+ TOXENV: "py39"
+ PYTHON: "C:\\Python39"
+ PYTHON_VERSION: "3.9.0a1"
+ PYTHON_ARCH: "32"
+
+ - JOB: "3.9 64-bit"
+ TOXENV: "py39"
+ PYTHON: "C:\\Python39-x64"
+ PYTHON_VERSION: "3.9.0a1"
+ PYTHON_ARCH: "64"
+
# Meta coverage
- JOB: "Meta 2.7"
TOXENV: "py27"
diff --git a/requirements/dev.pip b/requirements/dev.pip
index 2965a67b..3fe10954 100644
--- a/requirements/dev.pip
+++ b/requirements/dev.pip
@@ -5,7 +5,7 @@
# https://requires.io/github/nedbat/coveragepy/requirements/
pip==19.3.1
-virtualenv==16.7.6
+virtualenv==16.7.8
pluggy==0.13.0
diff --git a/requirements/pytest.pip b/requirements/pytest.pip
index 2ad9fb70..3b549974 100644
--- a/requirements/pytest.pip
+++ b/requirements/pytest.pip
@@ -8,7 +8,9 @@ pytest==4.6.6
pytest-xdist==1.30.0
flaky==3.6.1
mock==3.0.5
-PyContracts==1.8.12
+# Use a fork of PyContracts that supports Python 3.9
+#PyContracts==1.8.12
+git+https://github.com/slorg1/contracts@collections_and_validator
hypothesis==4.41.2
# Our testing mixins
diff --git a/requirements/tox.pip b/requirements/tox.pip
index c81173de..8dfcc669 100644
--- a/requirements/tox.pip
+++ b/requirements/tox.pip
@@ -2,6 +2,6 @@
# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
# The version of tox used by coverage.py
-tox==3.14.0
+tox==3.14.1
# Adds env recreation on requirements file changes.
tox-battery==0.5.1
diff --git a/tox.ini b/tox.ini
index 78eb44ab..21daa002 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,7 +2,7 @@
# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
[tox]
-envlist = py{27,35,36,37,38}, pypy{2,3}, doc, lint
+envlist = py{27,35,36,37,38,39}, pypy{2,3}, doc, lint
skip_missing_interpreters = {env:COVERAGE_SKIP_MISSING_INTERPRETERS:True}
toxworkdir = {env:TOXWORKDIR:.tox}
@@ -47,6 +47,9 @@ commands =
python setup.py --quiet build_ext --inplace
python igor.py test_with_tracer c {posargs}
+[testenv:py39]
+basepython = python3.9
+
[testenv:doc]
# Build the docs so we know if they are successful. We build twice: once with
# -q to get all warnings, and once with -QW to get a success/fail status