To: vim_dev@googlegroups.com Subject: Patch 9.0.1177 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1177 Problem: AppVeyor uses some older tools. Solution: Switch to Visual Studio 2022 and Python 3.11. (Christopher Plewright, closes #11793) Files: .appveyor.yml, ci/appveyor.bat *** ../vim-9.0.1176/.appveyor.yml 2023-01-04 18:05:55.408803650 +0000 --- .appveyor.yml 2023-01-11 12:48:43.621422888 +0000 *************** *** 1,6 **** version: "{build}" ! image: Visual Studio 2015 skip_tags: true --- 1,6 ---- version: "{build}" ! image: Visual Studio 2022 skip_tags: true *************** *** 16,23 **** fast_finish: true before_build: ! # Use Visual Studio 2015 compiler tools (default is 2012) ! - '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64' build_script: - ci/appveyor.bat --- 16,36 ---- fast_finish: true before_build: ! # Use latest compiler tools (Visual Studio 2022) ! - setlocal ENABLEDELAYEDEXPANSION ! - call ver ! - set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" ! - > ! if exist "%VSWHERE%" ( ! for /f "usebackq delims=" %%i ! in (`"%VSWHERE%" -products * -latest -property installationPath`) ! do (set "VCVARSALL=%%i\VC\Auxiliary\Build\vcvarsall.bat") ! ) ! - > ! if not exist "%VCVARSALL%" ( ! set "VCVARSALL=%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" ! ) ! - call "%VCVARSALL%" x64 build_script: - ci/appveyor.bat *************** *** 25,31 **** test_script: - cd src/testdir # Testing with MSVC gvim ! - path C:\Python35-x64;%PATH% - nmake -f Make_mvc.mak VIMPROG=..\gvim - nmake -f Make_mvc.mak clean # Testing with MSVC console version --- 38,44 ---- test_script: - cd src/testdir # Testing with MSVC gvim ! - path C:\Python311-x64;%PATH% - nmake -f Make_mvc.mak VIMPROG=..\gvim - nmake -f Make_mvc.mak clean # Testing with MSVC console version *** ../vim-9.0.1176/ci/appveyor.bat 2022-01-26 16:16:49.000000000 +0000 --- ci/appveyor.bat 2023-01-11 12:48:43.621422888 +0000 *************** *** 22,28 **** nmake -f Make_mvc.mak CPU=AMD64 ^ OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no POSTSCRIPT=yes ^ PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27-x64 ^ ! PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35-x64 ^ FEATURES=%FEATURE% ) ELSE ( nmake -f Make_mvc.mak CPU=AMD64 ^ --- 22,28 ---- nmake -f Make_mvc.mak CPU=AMD64 ^ OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no POSTSCRIPT=yes ^ PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27-x64 ^ ! PYTHON3_VER=311 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python311-x64 ^ FEATURES=%FEATURE% ) ELSE ( nmake -f Make_mvc.mak CPU=AMD64 ^ *** ../vim-9.0.1176/src/version.c 2023-01-11 12:20:01.782758340 +0000 --- src/version.c 2023-01-11 12:49:01.025428473 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1177, /**/ -- The fastest way to get an engineer to solve a problem is to declare that the problem is unsolvable. No engineer can walk away from an unsolvable problem until it's solved. (Scott Adams - The Dilbert principle) /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///