From e73d2fa9f0b081091d8b07926a61f457a766cbcd Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sat, 28 Oct 2023 01:57:56 +0200 Subject: [PATCH 1/2] ci(win32): install the setuptools package to build in appveyor Present so far, it wasn't installed in the first image containing Python 3.12. --- scripts/build/appveyor.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/scripts/build/appveyor.py b/scripts/build/appveyor.py index d2752f9f..22b8b4c6 100755 --- a/scripts/build/appveyor.py +++ b/scripts/build/appveyor.py @@ -71,17 +71,14 @@ def step_install(): python_info() configure_sdk() configure_postgres() - - if opt.is_wheel: - install_wheel_support() + install_python_build_tools() -def install_wheel_support(): +def install_python_build_tools(): """ - Install an up-to-date pip wheel package to build wheels. + Install or upgrade pip and build tools. """ - run_python("-m pip install --upgrade pip".split()) - run_python("-m pip install wheel".split()) + run_python("-m pip install --upgrade pip setuptools wheel".split()) def configure_sdk(): From 46191f1fdeffecfa46c9791f3d03b4f48f0e67a5 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sat, 28 Oct 2023 11:41:40 +0200 Subject: [PATCH 2/2] ci(windows): add Python 3.12 to the testing grid --- .appveyor/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.appveyor/tests.yml b/.appveyor/tests.yml index f460b4ba..0cf91dda 100644 --- a/.appveyor/tests.yml +++ b/.appveyor/tests.yml @@ -6,6 +6,8 @@ environment: matrix: # For Python versions available on Appveyor, see # https://www.appveyor.com/docs/windows-images-software/#python + - {PY_VER: "312", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019} + - {PY_VER: "312", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019} - {PY_VER: "311", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019} - {PY_VER: "311", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019} - {PY_VER: "310", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}