From 68706bd91810176ff4871975376fd6f793db80fa Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 9 Jan 2024 22:51:14 +0100 Subject: [PATCH 1/3] AppVeyor: Test EOL versions of CPython Run `py --list` to see which versions of Python are present. https://www.appveyor.com/docs/windows-images-software/#visual-studio-2019 --- .appveyor.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index 7661aa63..bf084dd3 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,3 +1,4 @@ +# https://www.appveyor.com/docs/windows-images-software/#visual-studio-2019 image: Visual Studio 2019 environment: global: @@ -9,6 +10,12 @@ environment: - TOXENV: py35-optional - TOXENV: py36-base - TOXENV: py36-optional + - TOXENV: py37-base + - TOXENV: py37-optional + - TOXENV: py38-base + - TOXENV: py38-optional + - TOXENV: py312-base + - TOXENV: py312-optional install: - git submodule update --init --recursive @@ -17,6 +24,7 @@ install: build: off test_script: + - py --list - tox after_test: From fa890f38b63c13b7d816be735afca4ef57427160 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 9 Jan 2024 23:04:20 +0100 Subject: [PATCH 2/3] PY_PYTHON: 2.7, TOXENV: py27-base --- .appveyor.yml | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index bf084dd3..46aea36a 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,21 +1,18 @@ +# appveyor.yml - https://www.appveyor.com/docs/lang/python # https://www.appveyor.com/docs/windows-images-software/#visual-studio-2019 +# https://www.appveyor.com/docs/windows-images-software/#visual-studio-2022 +--- image: Visual Studio 2019 environment: - global: - PATH: "C:\\Python27\\Scripts\\;%PATH%" matrix: - - TOXENV: py27-base - - TOXENV: py27-optional - - TOXENV: py35-base - - TOXENV: py35-optional - - TOXENV: py36-base - - TOXENV: py36-optional - - TOXENV: py37-base - - TOXENV: py37-optional - - TOXENV: py38-base - - TOXENV: py38-optional - - TOXENV: py312-base - - TOXENV: py312-optional + - PY_PYTHON: 2.7 + TOXENV: py27-base + - PY_PYTHON: 2.7 + TOXENV: py27-optional + - PY_PYTHON: 3.7 + TOXENV: py37-base + - PY_PYTHON: 3.7 + TOXENV: py37-optional install: - git submodule update --init --recursive From 707ebb2847af83fe08b9cdafb50a011a211e5985 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 9 Jan 2024 23:13:46 +0100 Subject: [PATCH 3/3] py -m pip install tox ; py -m tox --- .appveyor.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 46aea36a..93088fcc 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -16,13 +16,15 @@ environment: install: - git submodule update --init --recursive - - python -m pip install tox + - py --list + - py -VV + - py -m pip install --upgrade pip + - py -m pip install tox build: off test_script: - - py --list - - tox + - py -m tox after_test: - python debug-info.py