From 2b99f9238fd0e413a6148fb8ea1e0b4b52e2b2e6 Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Tue, 18 Apr 2023 12:03:03 +0200 Subject: [PATCH 01/17] List projects and python versions --- appveyor.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index c9f49f4..3b989cd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -59,6 +59,9 @@ environment: using python : 3.8 : c:/python38-x64/python.exe : c:/python38-x64/include : c:/python38-x64/libs ; init: + - cmd: echo "List all projects and python versions" + - cmd: dir "C:\projects\" + - cmd: dir "C:\" #RDP from start - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) # Boost From 56185af29937a62570e5ce53522f7257cb6c58a4 Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Tue, 18 Apr 2023 12:06:00 +0200 Subject: [PATCH 02/17] List projects and python versions --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 3b989cd..f753fad 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -59,7 +59,7 @@ environment: using python : 3.8 : c:/python38-x64/python.exe : c:/python38-x64/include : c:/python38-x64/libs ; init: - - cmd: echo "List all projects and python versions" + - cmd: echo "List all projects and Python versions" - cmd: dir "C:\projects\" - cmd: dir "C:\" #RDP from start From 9663571052e2a28b50a8fd286bf024dc9582487d Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Tue, 18 Apr 2023 12:07:03 +0200 Subject: [PATCH 03/17] Add branch to white list --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index f753fad..c25858d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,6 +2,7 @@ version: 1.0.{build} branches: only: - master + - support-new-python-versions image: Visual Studio 2015 From 4a3faf6147c0c0b8b1bda2af9bcfc4c77eec6ce7 Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Tue, 18 Apr 2023 12:25:18 +0200 Subject: [PATCH 04/17] Update boost download URL --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index c25858d..1ce7023 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -68,7 +68,7 @@ init: # Boost - cmd: cd "C:\projects\" - cmd: md boost_build - - appveyor DownloadFile https://dl.bintray.com/boostorg/release/1.73.0/source/boost_1_73_0.zip + - appveyor DownloadFile https://boostorg.jfrog.io/artifactory/main/release/1.73.0/source/boost_1_73_0.zip - cmd: 7z -y x boost_1_73_0.zip -oC:\projects\boost_build\ # adding a boost-config.jam file From 897f1ed49ce85cd8c345fbc0d118c25819251614 Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Tue, 18 Apr 2023 13:01:50 +0200 Subject: [PATCH 05/17] Add python39 builds --- appveyor.yml | 92 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 54 insertions(+), 38 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 1ce7023..f131266 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,60 +4,76 @@ branches: - master - support-new-python-versions -image: Visual Studio 2015 +image: Visual Studio 2017 environment: matrix: - - platform: win32 - ADDR_MODEL: 32 - ARCH: win32-msvc14 - MSVCVERSION: 14.0 - PYTHONPATH: c:\Python36\ - PY_VER: 36 - BOOST_CFG: >- - using python : 3.6 : c:/python36/python.exe : c:/python36/include : c:/python36/libs ; - - platform: x64 - ADDR_MODEL: 64 - ARCH: x64-msvc14 - MSVCVERSION: 14.0 - PYTHONPATH: c:\Python36-x64\ - PY_VER: 36 - BOOST_CFG: >- - using python : 3.6 : c:/python36-x64/python.exe : c:/python36-x64/include : c:/python36-x64/libs ; + # - platform: win32 + # ADDR_MODEL: 32 + # ARCH: win32-msvc14 + # MSVCVERSION: 14.0 + # PYTHONPATH: c:\Python36\ + # PY_VER: 36 + # BOOST_CFG: >- + # using python : 3.6 : c:/python36/python.exe : c:/python36/include : c:/python36/libs ; + # - platform: x64 + # ADDR_MODEL: 64 + # ARCH: x64-msvc14 + # MSVCVERSION: 14.0 + # PYTHONPATH: c:\Python36-x64\ + # PY_VER: 36 + # BOOST_CFG: >- + # using python : 3.6 : c:/python36-x64/python.exe : c:/python36-x64/include : c:/python36-x64/libs ; - - platform: win32 - ADDR_MODEL: 32 - ARCH: win32-msvc14 - MSVCVERSION: 14.0 - PYTHONPATH: c:\Python37\ - PY_VER: 37 - BOOST_CFG: >- - using python : 3.7 : c:/python37/python.exe : c:/python37/include : c:/python37/libs ; - - platform: x64 - ADDR_MODEL: 64 - ARCH: x64-msvc14 - MSVCVERSION: 14.0 - PYTHONPATH: c:\Python37-x64\ - PY_VER: 37 - BOOST_CFG: >- - using python : 3.7 : c:/python37-x64/python.exe : c:/python37-x64/include : c:/python37-x64/libs ; + # - platform: win32 + # ADDR_MODEL: 32 + # ARCH: win32-msvc14 + # MSVCVERSION: 14.0 + # PYTHONPATH: c:\Python37\ + # PY_VER: 37 + # BOOST_CFG: >- + # using python : 3.7 : c:/python37/python.exe : c:/python37/include : c:/python37/libs ; + # - platform: x64 + # ADDR_MODEL: 64 + # ARCH: x64-msvc14 + # MSVCVERSION: 14.0 + # PYTHONPATH: c:\Python37-x64\ + # PY_VER: 37 + # BOOST_CFG: >- + # using python : 3.7 : c:/python37-x64/python.exe : c:/python37-x64/include : c:/python37-x64/libs ; + # - platform: win32 + # ADDR_MODEL: 32 + # ARCH: win32-msvc14 + # MSVCVERSION: 14.0 + # PYTHONPATH: c:\Python38\ + # PY_VER: 38 + # BOOST_CFG: >- + # using python : 3.8 : c:/python38/python.exe : c:/python38/include : c:/python38/libs ; + # - platform: x64 + # ADDR_MODEL: 64 + # ARCH: x64-msvc14 + # MSVCVERSION: 14.0 + # PYTHONPATH: c:\Python38-x64\ + # PY_VER: 38 + # BOOST_CFG: >- + # using python : 3.8 : c:/python38-x64/python.exe : c:/python38-x64/include : c:/python38-x64/libs ; - platform: win32 ADDR_MODEL: 32 ARCH: win32-msvc14 MSVCVERSION: 14.0 - PYTHONPATH: c:\Python38\ - PY_VER: 38 + PYTHONPATH: c:\Python39\ + PY_VER: 39 BOOST_CFG: >- - using python : 3.8 : c:/python38/python.exe : c:/python38/include : c:/python38/libs ; + using python : 3.9 : c:/python39/python.exe : c:/python39/include : c:/python39/libs ; - platform: x64 ADDR_MODEL: 64 ARCH: x64-msvc14 MSVCVERSION: 14.0 - PYTHONPATH: c:\Python38-x64\ + PYTHONPATH: c:\Python39-x64\ PY_VER: 38 BOOST_CFG: >- - using python : 3.8 : c:/python38-x64/python.exe : c:/python38-x64/include : c:/python38-x64/libs ; + using python : 3.9 : c:/python39-x64/python.exe : c:/python39-x64/include : c:/python39-x64/libs ; init: - cmd: echo "List all projects and Python versions" From b693c648f52c1a19759d5280d00e049e64ea7725 Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Tue, 18 Apr 2023 13:08:58 +0200 Subject: [PATCH 06/17] Use visual studio 2019 --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index f131266..9dbb3f9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,7 +4,7 @@ branches: - master - support-new-python-versions -image: Visual Studio 2017 +image: Visual Studio 2019 environment: matrix: From 0707535feb69b49215c57c535f541e8b02b8383b Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Tue, 18 Apr 2023 13:18:36 +0200 Subject: [PATCH 07/17] Modify msvc version --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 9dbb3f9..963496e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -61,7 +61,7 @@ environment: - platform: win32 ADDR_MODEL: 32 ARCH: win32-msvc14 - MSVCVERSION: 14.0 + MSVCVERSION: 14.2 PYTHONPATH: c:\Python39\ PY_VER: 39 BOOST_CFG: >- @@ -69,7 +69,7 @@ environment: - platform: x64 ADDR_MODEL: 64 ARCH: x64-msvc14 - MSVCVERSION: 14.0 + MSVCVERSION: 14.2 PYTHONPATH: c:\Python39-x64\ PY_VER: 38 BOOST_CFG: >- From 159e5d0fa29a43cf6c7fa26a407938fedc791641 Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Tue, 18 Apr 2023 15:35:21 +0200 Subject: [PATCH 08/17] Use boost 1.82.0 version --- appveyor.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 963496e..51677b3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -58,17 +58,19 @@ environment: # PY_VER: 38 # BOOST_CFG: >- # using python : 3.8 : c:/python38-x64/python.exe : c:/python38-x64/include : c:/python38-x64/libs ; - - platform: win32 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + platform: win32 ADDR_MODEL: 32 - ARCH: win32-msvc14 + ARCH: v142_x86 MSVCVERSION: 14.2 PYTHONPATH: c:\Python39\ PY_VER: 39 BOOST_CFG: >- using python : 3.9 : c:/python39/python.exe : c:/python39/include : c:/python39/libs ; - - platform: x64 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + platform: x64 ADDR_MODEL: 64 - ARCH: x64-msvc14 + ARCH: v142_x64 MSVCVERSION: 14.2 PYTHONPATH: c:\Python39-x64\ PY_VER: 38 @@ -84,8 +86,8 @@ init: # Boost - cmd: cd "C:\projects\" - cmd: md boost_build - - appveyor DownloadFile https://boostorg.jfrog.io/artifactory/main/release/1.73.0/source/boost_1_73_0.zip - - cmd: 7z -y x boost_1_73_0.zip -oC:\projects\boost_build\ + - appveyor DownloadFile https://boostorg.jfrog.io/artifactory/main/release/1.82.0/source/boost_1_82_0.zip + - cmd: 7z -y x boost_1_82_0.zip -oC:\projects\boost_build\ # adding a boost-config.jam file - cmd: echo %BOOST_CFG% >> %HOMEDRIVE%%HOMEPATH%\user-config.jam @@ -97,8 +99,8 @@ install: - cmd: echo "Platform='%Platform%'" - cmd: set PYTHONPATH=%PYTHONPATH% # building bootstrap - - cmd: cd C:/projects/boost_build/boost_1_73_0 - - cmd: C:/projects/boost_build/boost_1_73_0/bootstrap.bat + - cmd: cd C:/projects/boost_build/boost_1_82_0 + - cmd: C:/projects/boost_build/boost_1_82_0/bootstrap.bat clone_folder: C:\projects\boost-ci @@ -107,7 +109,7 @@ build: verbosity: minimal build_script: - - cmd: cd C:/projects/boost_build/boost_1_73_0 + - cmd: cd C:/projects/boost_build/boost_1_82_0 # static libraries - cmd: b2 -j4 --with-python variant=release toolset=msvc-%MSVCVERSION% address-model=%ADDR_MODEL% threading=multi link=static runtime-link=static install # shared libraries @@ -117,8 +119,8 @@ build_script: after_build: - cmd: cd C:/boost - cmd: dir - - 7z a boost-python-1.73.0_%ARCH%_py%PY_VER%.zip C:/boost - - move boost-python-1.73.0_%ARCH%_py%PY_VER%.zip c:/projects/boost-ci/ + - 7z a boost-python-1.82.0_%ARCH%_py%PY_VER%.zip C:/boost + - move boost-python-1.82.0_%ARCH%_py%PY_VER%.zip c:/projects/boost-ci/ on_finish: From 31acfb6ab9ca5172c32394344efa1bc233d03089 Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Tue, 18 Apr 2023 15:56:44 +0200 Subject: [PATCH 09/17] Uncomment older python builds --- appveyor.yml | 106 ++++++++++++++++++++++++++------------------------- 1 file changed, 54 insertions(+), 52 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 51677b3..72881dd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,60 +4,62 @@ branches: - master - support-new-python-versions -image: Visual Studio 2019 - environment: matrix: - # - platform: win32 - # ADDR_MODEL: 32 - # ARCH: win32-msvc14 - # MSVCVERSION: 14.0 - # PYTHONPATH: c:\Python36\ - # PY_VER: 36 - # BOOST_CFG: >- - # using python : 3.6 : c:/python36/python.exe : c:/python36/include : c:/python36/libs ; - # - platform: x64 - # ADDR_MODEL: 64 - # ARCH: x64-msvc14 - # MSVCVERSION: 14.0 - # PYTHONPATH: c:\Python36-x64\ - # PY_VER: 36 - # BOOST_CFG: >- - # using python : 3.6 : c:/python36-x64/python.exe : c:/python36-x64/include : c:/python36-x64/libs ; - - # - platform: win32 - # ADDR_MODEL: 32 - # ARCH: win32-msvc14 - # MSVCVERSION: 14.0 - # PYTHONPATH: c:\Python37\ - # PY_VER: 37 - # BOOST_CFG: >- - # using python : 3.7 : c:/python37/python.exe : c:/python37/include : c:/python37/libs ; - # - platform: x64 - # ADDR_MODEL: 64 - # ARCH: x64-msvc14 - # MSVCVERSION: 14.0 - # PYTHONPATH: c:\Python37-x64\ - # PY_VER: 37 - # BOOST_CFG: >- - # using python : 3.7 : c:/python37-x64/python.exe : c:/python37-x64/include : c:/python37-x64/libs ; - - # - platform: win32 - # ADDR_MODEL: 32 - # ARCH: win32-msvc14 - # MSVCVERSION: 14.0 - # PYTHONPATH: c:\Python38\ - # PY_VER: 38 - # BOOST_CFG: >- - # using python : 3.8 : c:/python38/python.exe : c:/python38/include : c:/python38/libs ; - # - platform: x64 - # ADDR_MODEL: 64 - # ARCH: x64-msvc14 - # MSVCVERSION: 14.0 - # PYTHONPATH: c:\Python38-x64\ - # PY_VER: 38 - # BOOST_CFG: >- - # using python : 3.8 : c:/python38-x64/python.exe : c:/python38-x64/include : c:/python38-x64/libs ; + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + platform: win32 + ADDR_MODEL: 32 + ARCH: v140_x86 + MSVCVERSION: 14.0 + PYTHONPATH: c:\Python36\ + PY_VER: 36 + BOOST_CFG: >- + using python : 3.6 : c:/python36/python.exe : c:/python36/include : c:/python36/libs ; + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + platform: x64 + ADDR_MODEL: 64 + ARCH: v140_x64 + MSVCVERSION: 14.0 + PYTHONPATH: c:\Python36-x64\ + PY_VER: 36 + BOOST_CFG: >- + using python : 3.6 : c:/python36-x64/python.exe : c:/python36-x64/include : c:/python36-x64/libs ; + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + platform: win32 + ADDR_MODEL: 32 + ARCH: v140_x86 + MSVCVERSION: 14.0 + PYTHONPATH: c:\Python37\ + PY_VER: 37 + BOOST_CFG: >- + using python : 3.7 : c:/python37/python.exe : c:/python37/include : c:/python37/libs ; + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + platform: x64 + ADDR_MODEL: 64 + ARCH: v140_x64 + MSVCVERSION: 14.0 + PYTHONPATH: c:\Python37-x64\ + PY_VER: 37 + BOOST_CFG: >- + using python : 3.7 : c:/python37-x64/python.exe : c:/python37-x64/include : c:/python37-x64/libs ; + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + platform: win32 + ADDR_MODEL: 32 + ARCH: v140_x86 + MSVCVERSION: 14.0 + PYTHONPATH: c:\Python38\ + PY_VER: 38 + BOOST_CFG: >- + using python : 3.8 : c:/python38/python.exe : c:/python38/include : c:/python38/libs ; + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + platform: x64 + ADDR_MODEL: 64 + ARCH: v140_x64 + MSVCVERSION: 14.0 + PYTHONPATH: c:\Python38-x64\ + PY_VER: 38 + BOOST_CFG: >- + using python : 3.8 : c:/python38-x64/python.exe : c:/python38-x64/include : c:/python38-x64/libs ; - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: win32 ADDR_MODEL: 32 From 2ef83f2856e17a375b0b99da7f9423c33580d182 Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Tue, 18 Apr 2023 16:50:48 +0200 Subject: [PATCH 10/17] Add new python versions --- appveyor.yml | 156 +++++++++++++++++++++++++++++++++------------------ 1 file changed, 101 insertions(+), 55 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 72881dd..ca35e62 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,81 +5,127 @@ branches: - support-new-python-versions environment: + BOOST_VERSION: "1.82.0" matrix: - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - platform: win32 - ADDR_MODEL: 32 - ARCH: v140_x86 - MSVCVERSION: 14.0 - PYTHONPATH: c:\Python36\ - PY_VER: 36 - BOOST_CFG: >- - using python : 3.6 : c:/python36/python.exe : c:/python36/include : c:/python36/libs ; - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - platform: x64 - ADDR_MODEL: 64 - ARCH: v140_x64 - MSVCVERSION: 14.0 - PYTHONPATH: c:\Python36-x64\ - PY_VER: 36 - BOOST_CFG: >- - using python : 3.6 : c:/python36-x64/python.exe : c:/python36-x64/include : c:/python36-x64/libs ; - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + # # Python 3.6 + # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + # platform: win32 + # ADDR_MODEL: 32 + # ARCH: v140_x86 + # MSVCVERSION: 14.0 + # PYTHONPATH: c:\Python36\ + # PY_VER: 36 + # BOOST_CFG: >- + # using python : 3.6 : c:/python36/python.exe : c:/python36/include : c:/python36/libs ; + # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + # platform: x64 + # ADDR_MODEL: 64 + # ARCH: v140_x64 + # MSVCVERSION: 14.0 + # PYTHONPATH: c:\Python36-x64\ + # PY_VER: 36 + # BOOST_CFG: >- + # using python : 3.6 : c:/python36-x64/python.exe : c:/python36-x64/include : c:/python36-x64/libs ; + # # Python 3.7 + # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + # platform: win32 + # ADDR_MODEL: 32 + # ARCH: v140_x86 + # MSVCVERSION: 14.0 + # PYTHONPATH: c:\Python37\ + # PY_VER: 37 + # BOOST_CFG: >- + # using python : 3.7 : c:/python37/python.exe : c:/python37/include : c:/python37/libs ; + # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + # platform: x64 + # ADDR_MODEL: 64 + # ARCH: v140_x64 + # MSVCVERSION: 14.0 + # PYTHONPATH: c:\Python37-x64\ + # PY_VER: 37 + # BOOST_CFG: >- + # using python : 3.7 : c:/python37-x64/python.exe : c:/python37-x64/include : c:/python37-x64/libs ; + # # Python 3.8 + # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + # platform: win32 + # ADDR_MODEL: 32 + # ARCH: v140_x86 + # MSVCVERSION: 14.0 + # PYTHONPATH: c:\Python38\ + # PY_VER: 38 + # BOOST_CFG: >- + # using python : 3.8 : c:/python38/python.exe : c:/python38/include : c:/python38/libs ; + # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + # platform: x64 + # ADDR_MODEL: 64 + # ARCH: v140_x64 + # MSVCVERSION: 14.0 + # PYTHONPATH: c:\Python38-x64\ + # PY_VER: 38 + # BOOST_CFG: >- + # using python : 3.8 : c:/python38-x64/python.exe : c:/python38-x64/include : c:/python38-x64/libs ; + # Python 3.9 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: win32 ADDR_MODEL: 32 - ARCH: v140_x86 - MSVCVERSION: 14.0 - PYTHONPATH: c:\Python37\ - PY_VER: 37 + ARCH: v142_x86 + MSVCVERSION: 14.2 + PYTHONPATH: c:\Python39\ + PY_VER: 39 BOOST_CFG: >- - using python : 3.7 : c:/python37/python.exe : c:/python37/include : c:/python37/libs ; - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + using python : 3.9 : c:/python39/python.exe : c:/python39/include : c:/python39/libs ; + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: x64 ADDR_MODEL: 64 - ARCH: v140_x64 - MSVCVERSION: 14.0 - PYTHONPATH: c:\Python37-x64\ - PY_VER: 37 + ARCH: v142_x64 + MSVCVERSION: 14.2 + PYTHONPATH: c:\Python39-x64\ + PY_VER: 39 BOOST_CFG: >- - using python : 3.7 : c:/python37-x64/python.exe : c:/python37-x64/include : c:/python37-x64/libs ; - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + using python : 3.9 : c:/python39-x64/python.exe : c:/python39-x64/include : c:/python39-x64/libs ; + # Python 3.10 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: win32 ADDR_MODEL: 32 - ARCH: v140_x86 - MSVCVERSION: 14.0 - PYTHONPATH: c:\Python38\ - PY_VER: 38 + ARCH: v142_x86 + MSVCVERSION: 14.2 + PYTHONPATH: c:\Python310\ + PY_VER: 310 BOOST_CFG: >- - using python : 3.8 : c:/python38/python.exe : c:/python38/include : c:/python38/libs ; - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + using python : 3.10 : c:/python310/python.exe : c:/python310/include : c:/python310/libs ; + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: x64 ADDR_MODEL: 64 - ARCH: v140_x64 - MSVCVERSION: 14.0 - PYTHONPATH: c:\Python38-x64\ - PY_VER: 38 + ARCH: v142_x64 + MSVCVERSION: 14.2 + PYTHONPATH: c:\Python310-x64\ + PY_VER: 310 BOOST_CFG: >- - using python : 3.8 : c:/python38-x64/python.exe : c:/python38-x64/include : c:/python38-x64/libs ; + using python : 3.10 : c:/python310-x64/python.exe : c:/python310-x64/include : c:/python310-x64/libs ; + # Python 3.11 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: win32 ADDR_MODEL: 32 ARCH: v142_x86 MSVCVERSION: 14.2 - PYTHONPATH: c:\Python39\ - PY_VER: 39 + PYTHONPATH: c:\Python311\ + PY_VER: 311 BOOST_CFG: >- - using python : 3.9 : c:/python39/python.exe : c:/python39/include : c:/python39/libs ; + using python : 3.11 : c:/python311/python.exe : c:/python311/include : c:/python311/libs ; - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: x64 ADDR_MODEL: 64 ARCH: v142_x64 MSVCVERSION: 14.2 - PYTHONPATH: c:\Python39-x64\ - PY_VER: 38 + PYTHONPATH: c:\Python311-x64\ + PY_VER: 311 BOOST_CFG: >- - using python : 3.9 : c:/python39-x64/python.exe : c:/python39-x64/include : c:/python39-x64/libs ; + using python : 3.11 : c:/python311-x64/python.exe : c:/python311-x64/include : c:/python311-x64/libs ; + init: + - cmd: set BOOST_VERSION_UNDERSCORED=%BOOST_VERSION:.=_% + - cmd: echo %BOOST_VERSION_UNDERSCORED% - cmd: echo "List all projects and Python versions" - cmd: dir "C:\projects\" - cmd: dir "C:\" @@ -88,8 +134,8 @@ init: # Boost - cmd: cd "C:\projects\" - cmd: md boost_build - - appveyor DownloadFile https://boostorg.jfrog.io/artifactory/main/release/1.82.0/source/boost_1_82_0.zip - - cmd: 7z -y x boost_1_82_0.zip -oC:\projects\boost_build\ + - appveyor DownloadFile https://boostorg.jfrog.io/artifactory/main/release/%BOOST_VERSION%/source/boost_%BOOST_VERSION_UNDERSCORED%.zip + - cmd: 7z -y x boost_%BOOST_VERSION_UNDERSCORED%.zip -oC:\projects\boost_build\ # adding a boost-config.jam file - cmd: echo %BOOST_CFG% >> %HOMEDRIVE%%HOMEPATH%\user-config.jam @@ -101,8 +147,8 @@ install: - cmd: echo "Platform='%Platform%'" - cmd: set PYTHONPATH=%PYTHONPATH% # building bootstrap - - cmd: cd C:/projects/boost_build/boost_1_82_0 - - cmd: C:/projects/boost_build/boost_1_82_0/bootstrap.bat + - cmd: cd C:/projects/boost_build/boost_%BOOST_VERSION_UNDERSCORED% + - cmd: C:/projects/boost_build/boost_%BOOST_VERSION_UNDERSCORED%/bootstrap.bat clone_folder: C:\projects\boost-ci @@ -111,7 +157,7 @@ build: verbosity: minimal build_script: - - cmd: cd C:/projects/boost_build/boost_1_82_0 + - cmd: cd C:/projects/boost_build/boost_%BOOST_VERSION_UNDERSCORED% # static libraries - cmd: b2 -j4 --with-python variant=release toolset=msvc-%MSVCVERSION% address-model=%ADDR_MODEL% threading=multi link=static runtime-link=static install # shared libraries @@ -121,8 +167,8 @@ build_script: after_build: - cmd: cd C:/boost - cmd: dir - - 7z a boost-python-1.82.0_%ARCH%_py%PY_VER%.zip C:/boost - - move boost-python-1.82.0_%ARCH%_py%PY_VER%.zip c:/projects/boost-ci/ + - 7z a boost-python-%BOOST_VERSION%_%ARCH%_py%PY_VER%.zip C:/boost + - move boost-python-%BOOST_VERSION%_%ARCH%_py%PY_VER%.zip c:/projects/boost-ci/ on_finish: From 2ea94087fb6a77e47000935a0ff6c5bf3fe96090 Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Tue, 18 Apr 2023 16:55:15 +0200 Subject: [PATCH 11/17] Add new python versions --- appveyor.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index ca35e62..f69245b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -122,7 +122,6 @@ environment: BOOST_CFG: >- using python : 3.11 : c:/python311-x64/python.exe : c:/python311-x64/include : c:/python311-x64/libs ; - init: - cmd: set BOOST_VERSION_UNDERSCORED=%BOOST_VERSION:.=_% - cmd: echo %BOOST_VERSION_UNDERSCORED% From 9a8b6fa383d5d9b4bc6500201c9e5256225833d5 Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Tue, 18 Apr 2023 16:56:46 +0200 Subject: [PATCH 12/17] Add new python versions --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index f69245b..8353789 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,6 +6,7 @@ branches: environment: BOOST_VERSION: "1.82.0" + BOOST_VERSION_UNDERSCORED: "1_82_0" matrix: # # Python 3.6 # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 @@ -123,7 +124,6 @@ environment: using python : 3.11 : c:/python311-x64/python.exe : c:/python311-x64/include : c:/python311-x64/libs ; init: - - cmd: set BOOST_VERSION_UNDERSCORED=%BOOST_VERSION:.=_% - cmd: echo %BOOST_VERSION_UNDERSCORED% - cmd: echo "List all projects and Python versions" - cmd: dir "C:\projects\" From 80899e11b794545327fd74136ae871eaccdb3ddc Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Tue, 18 Apr 2023 16:59:10 +0200 Subject: [PATCH 13/17] Comment out branch whitelist --- appveyor.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 8353789..7441d0a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,8 +1,8 @@ version: 1.0.{build} -branches: - only: - - master - - support-new-python-versions +# branches: +# only: +# - master +# - support-new-python-versions environment: BOOST_VERSION: "1.82.0" From fda83d8f7bc9fdc061d4d2685fe246f070d250cf Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Tue, 18 Apr 2023 17:01:34 +0200 Subject: [PATCH 14/17] Trigger appveyor ci --- appveyor.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 7441d0a..b45aa9f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -162,7 +162,6 @@ build_script: # shared libraries - cmd: b2 -j4 --with-python variant=release toolset=msvc-%MSVCVERSION% address-model=%ADDR_MODEL% threading=multi link=shared runtime-link=shared install - after_build: - cmd: cd C:/boost - cmd: dir From a9049efc7b0af319056e177a39fd930f96b9c549 Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Tue, 18 Apr 2023 17:03:48 +0200 Subject: [PATCH 15/17] Trigger appveyor ci --- appveyor.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index b45aa9f..9e1cbb1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -168,7 +168,6 @@ after_build: - 7z a boost-python-%BOOST_VERSION%_%ARCH%_py%PY_VER%.zip C:/boost - move boost-python-%BOOST_VERSION%_%ARCH%_py%PY_VER%.zip c:/projects/boost-ci/ - on_finish: #RDP for finish #- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) From c16a1f66d03d9650b1377450acc102754603326a Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Tue, 18 Apr 2023 18:49:52 +0200 Subject: [PATCH 16/17] Uncomment older python envs --- appveyor.yml | 133 ++++++++++++++++++++++++++------------------------- 1 file changed, 67 insertions(+), 66 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 9e1cbb1..bab3e42 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,70 +1,73 @@ version: 1.0.{build} -# branches: -# only: -# - master -# - support-new-python-versions +branches: + only: + - master + - support-new-python-versions environment: BOOST_VERSION: "1.82.0" BOOST_VERSION_UNDERSCORED: "1_82_0" matrix: - # # Python 3.6 - # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - # platform: win32 - # ADDR_MODEL: 32 - # ARCH: v140_x86 - # MSVCVERSION: 14.0 - # PYTHONPATH: c:\Python36\ - # PY_VER: 36 - # BOOST_CFG: >- - # using python : 3.6 : c:/python36/python.exe : c:/python36/include : c:/python36/libs ; - # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - # platform: x64 - # ADDR_MODEL: 64 - # ARCH: v140_x64 - # MSVCVERSION: 14.0 - # PYTHONPATH: c:\Python36-x64\ - # PY_VER: 36 - # BOOST_CFG: >- - # using python : 3.6 : c:/python36-x64/python.exe : c:/python36-x64/include : c:/python36-x64/libs ; - # # Python 3.7 - # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - # platform: win32 - # ADDR_MODEL: 32 - # ARCH: v140_x86 - # MSVCVERSION: 14.0 - # PYTHONPATH: c:\Python37\ - # PY_VER: 37 - # BOOST_CFG: >- - # using python : 3.7 : c:/python37/python.exe : c:/python37/include : c:/python37/libs ; - # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - # platform: x64 - # ADDR_MODEL: 64 - # ARCH: v140_x64 - # MSVCVERSION: 14.0 - # PYTHONPATH: c:\Python37-x64\ - # PY_VER: 37 - # BOOST_CFG: >- - # using python : 3.7 : c:/python37-x64/python.exe : c:/python37-x64/include : c:/python37-x64/libs ; - # # Python 3.8 - # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - # platform: win32 - # ADDR_MODEL: 32 - # ARCH: v140_x86 - # MSVCVERSION: 14.0 - # PYTHONPATH: c:\Python38\ - # PY_VER: 38 - # BOOST_CFG: >- - # using python : 3.8 : c:/python38/python.exe : c:/python38/include : c:/python38/libs ; - # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - # platform: x64 - # ADDR_MODEL: 64 - # ARCH: v140_x64 - # MSVCVERSION: 14.0 - # PYTHONPATH: c:\Python38-x64\ - # PY_VER: 38 - # BOOST_CFG: >- - # using python : 3.8 : c:/python38-x64/python.exe : c:/python38-x64/include : c:/python38-x64/libs ; + # Python 3.6 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + platform: win32 + ADDR_MODEL: 32 + ARCH: v140_x86 + MSVCVERSION: 14.0 + PYTHONPATH: c:\Python36\ + PY_VER: 36 + BOOST_CFG: >- + using python : 3.6 : c:/python36/python.exe : c:/python36/include : c:/python36/libs ; + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + platform: x64 + ADDR_MODEL: 64 + ARCH: v140_x64 + MSVCVERSION: 14.0 + PYTHONPATH: c:\Python36-x64\ + PY_VER: 36 + BOOST_CFG: >- + using python : 3.6 : c:/python36-x64/python.exe : c:/python36-x64/include : c:/python36-x64/libs ; + + # Python 3.7 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + platform: win32 + ADDR_MODEL: 32 + ARCH: v140_x86 + MSVCVERSION: 14.0 + PYTHONPATH: c:\Python37\ + PY_VER: 37 + BOOST_CFG: >- + using python : 3.7 : c:/python37/python.exe : c:/python37/include : c:/python37/libs ; + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + platform: x64 + ADDR_MODEL: 64 + ARCH: v140_x64 + MSVCVERSION: 14.0 + PYTHONPATH: c:\Python37-x64\ + PY_VER: 37 + BOOST_CFG: >- + using python : 3.7 : c:/python37-x64/python.exe : c:/python37-x64/include : c:/python37-x64/libs ; + + # Python 3.8 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + platform: win32 + ADDR_MODEL: 32 + ARCH: v140_x86 + MSVCVERSION: 14.0 + PYTHONPATH: c:\Python38\ + PY_VER: 38 + BOOST_CFG: >- + using python : 3.8 : c:/python38/python.exe : c:/python38/include : c:/python38/libs ; + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + platform: x64 + ADDR_MODEL: 64 + ARCH: v140_x64 + MSVCVERSION: 14.0 + PYTHONPATH: c:\Python38-x64\ + PY_VER: 38 + BOOST_CFG: >- + using python : 3.8 : c:/python38-x64/python.exe : c:/python38-x64/include : c:/python38-x64/libs ; + # Python 3.9 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: win32 @@ -84,6 +87,7 @@ environment: PY_VER: 39 BOOST_CFG: >- using python : 3.9 : c:/python39-x64/python.exe : c:/python39-x64/include : c:/python39-x64/libs ; + # Python 3.10 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: win32 @@ -103,7 +107,8 @@ environment: PY_VER: 310 BOOST_CFG: >- using python : 3.10 : c:/python310-x64/python.exe : c:/python310-x64/include : c:/python310-x64/libs ; - # Python 3.11 + + # Python 3.11 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: win32 ADDR_MODEL: 32 @@ -124,10 +129,6 @@ environment: using python : 3.11 : c:/python311-x64/python.exe : c:/python311-x64/include : c:/python311-x64/libs ; init: - - cmd: echo %BOOST_VERSION_UNDERSCORED% - - cmd: echo "List all projects and Python versions" - - cmd: dir "C:\projects\" - - cmd: dir "C:\" #RDP from start - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) # Boost From 1589bea36052893076c65ce102709810adaa0b89 Mon Sep 17 00:00:00 2001 From: Mateusz Nabywaniec Date: Thu, 20 Apr 2023 06:49:19 +0200 Subject: [PATCH 17/17] Use msvc v142 for older python versions --- appveyor.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index bab3e42..99a7dc2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,60 +9,60 @@ environment: BOOST_VERSION_UNDERSCORED: "1_82_0" matrix: # Python 3.6 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: win32 ADDR_MODEL: 32 - ARCH: v140_x86 - MSVCVERSION: 14.0 + ARCH: v142_x86 + MSVCVERSION: 14.2 PYTHONPATH: c:\Python36\ PY_VER: 36 BOOST_CFG: >- using python : 3.6 : c:/python36/python.exe : c:/python36/include : c:/python36/libs ; - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: x64 ADDR_MODEL: 64 - ARCH: v140_x64 - MSVCVERSION: 14.0 + ARCH: v142_x64 + MSVCVERSION: 14.2 PYTHONPATH: c:\Python36-x64\ PY_VER: 36 BOOST_CFG: >- using python : 3.6 : c:/python36-x64/python.exe : c:/python36-x64/include : c:/python36-x64/libs ; # Python 3.7 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: win32 ADDR_MODEL: 32 - ARCH: v140_x86 - MSVCVERSION: 14.0 + ARCH: v142_x86 + MSVCVERSION: 14.2 PYTHONPATH: c:\Python37\ PY_VER: 37 BOOST_CFG: >- using python : 3.7 : c:/python37/python.exe : c:/python37/include : c:/python37/libs ; - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: x64 ADDR_MODEL: 64 - ARCH: v140_x64 - MSVCVERSION: 14.0 + ARCH: v142_x64 + MSVCVERSION: 14.2 PYTHONPATH: c:\Python37-x64\ PY_VER: 37 BOOST_CFG: >- using python : 3.7 : c:/python37-x64/python.exe : c:/python37-x64/include : c:/python37-x64/libs ; # Python 3.8 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: win32 ADDR_MODEL: 32 - ARCH: v140_x86 - MSVCVERSION: 14.0 + ARCH: v142_x86 + MSVCVERSION: 14.2 PYTHONPATH: c:\Python38\ PY_VER: 38 BOOST_CFG: >- using python : 3.8 : c:/python38/python.exe : c:/python38/include : c:/python38/libs ; - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: x64 ADDR_MODEL: 64 - ARCH: v140_x64 - MSVCVERSION: 14.0 + ARCH: v142_x64 + MSVCVERSION: 14.2 PYTHONPATH: c:\Python38-x64\ PY_VER: 38 BOOST_CFG: >-