From 8c28cda679c8cf927d81ccf0f6519f5cd06fc0fa Mon Sep 17 00:00:00 2001 From: Hugo Date: Sat, 9 Nov 2019 13:32:03 +0200 Subject: [PATCH 1/4] Test Windows on Python 3.8 --- .azure-pipelines/jobs/test-windows.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines/jobs/test-windows.yml b/.azure-pipelines/jobs/test-windows.yml index f0ab8f812..1a933a693 100644 --- a/.azure-pipelines/jobs/test-windows.yml +++ b/.azure-pipelines/jobs/test-windows.yml @@ -26,7 +26,10 @@ jobs: Python37-x64: python.version: '3.7' python.architecture: x64 - maxParallel: 5 + Python38-x64: + python.version: '3.8' + python.architecture: x64 + maxParallel: 6 steps: - template: ../steps/run-tests-windows.yml @@ -54,7 +57,10 @@ jobs: Python37-x86: python.version: '3.7' python.architecture: x86 - maxParallel: 5 + Python38-x86: + python.version: '3.8' + python.architecture: x86 + maxParallel: 6 steps: - template: ../steps/run-tests-windows.yml From f08dc673a7910cec3bc537369557bbf90c95c110 Mon Sep 17 00:00:00 2001 From: Hugo Date: Sun, 10 Nov 2019 12:49:33 +0200 Subject: [PATCH 2/4] Upgrade virtualenv --- .azure-pipelines/steps/run-tests-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/steps/run-tests-windows.yml b/.azure-pipelines/steps/run-tests-windows.yml index 30b0021cb..4908c0ec7 100644 --- a/.azure-pipelines/steps/run-tests-windows.yml +++ b/.azure-pipelines/steps/run-tests-windows.yml @@ -25,7 +25,7 @@ steps: Set-Acl "R:\Temp" $acl displayName: Set RAMDisk Permissions -- bash: pip install --upgrade setuptools tox +- bash: pip install --upgrade setuptools tox virtualenv displayName: Install Tox - script: tox -e py -- -m unit -n auto --junit-xml=junit/unit-test.xml From 8d92e40c1fc92cbddff885f3654f0dccf3a2f7b0 Mon Sep 17 00:00:00 2001 From: Chris Hunt Date: Sun, 12 Jan 2020 19:44:43 -0500 Subject: [PATCH 3/4] Use USERPROFILE in expanduser test In Python 3.8, expanduser on Windows no longer respects HOME, per https://bugs.python.org/issue36264. --- tests/unit/test_compat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/test_compat.py b/tests/unit/test_compat.py index 634aacc40..1f31bc5ce 100644 --- a/tests/unit/test_compat.py +++ b/tests/unit/test_compat.py @@ -136,4 +136,5 @@ def test_console_to_str_warning(monkeypatch): ]) def test_expanduser(home, path, expanded, monkeypatch): monkeypatch.setenv("HOME", home) + monkeypatch.setenv("USERPROFILE", home) assert expanduser(path) == expanded From a5f5d8fa81f238fe6dbf4b65080a9c93c8f92661 Mon Sep 17 00:00:00 2001 From: Chris Hunt Date: Sun, 12 Jan 2020 19:54:47 -0500 Subject: [PATCH 4/4] Add Python 3.8 Windows Azure tests to CI docs --- docs/html/development/ci.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/html/development/ci.rst b/docs/html/development/ci.rst index e758705b2..e68b2b4e6 100644 --- a/docs/html/development/ci.rst +++ b/docs/html/development/ci.rst @@ -99,7 +99,7 @@ Actual testing | | +-------+---------------+-----------------+ | | x86 | CP3.7 | Azure | | | | +-------+---------------+-----------------+ -| | | CP3.8 | | | +| | | CP3.8 | Azure | | | | +-------+---------------+-----------------+ | | | PyPy | | | | | +-------+---------------+-----------------+ @@ -113,7 +113,7 @@ Actual testing | | +-------+---------------+-----------------+ | | x64 | CP3.7 | Azure | Azure | | | +-------+---------------+-----------------+ -| | | CP3.8 | | | +| | | CP3.8 | Azure | Azure | | | +-------+---------------+-----------------+ | | | PyPy | | | | | +-------+---------------+-----------------+