diff --git a/.env b/.env index 47ff6d32c713..e31d3b512fc0 100644 --- a/.env +++ b/.env @@ -92,12 +92,12 @@ TZ=UTC # Used through compose.yaml and serves as the default version for the # ci/scripts/install_vcpkg.sh script. Prefer to use short SHAs to keep the # docker tags more readable. -VCPKG="61d7eaeb094a6acbc23d9c2e54de9208175fda47" # 2026.10.24 (not release, upstream commit) +VCPKG="8235a7aece54307d71f711944d6339dd6dccd50c" # 2026.11.24 (not release, upstream commit) # This must be updated when we update # ci/docker/python-*-windows-*.dockerfile or the vcpkg config. # This is a workaround for our CI problem that "archery docker build" doesn't # use pulled built images in dev/tasks/python-wheels/github.windows.yml. -PYTHON_WHEEL_WINDOWS_IMAGE_REVISION=2026-10-28 -PYTHON_WHEEL_WINDOWS_TEST_IMAGE_REVISION=2026-11-28 +PYTHON_WHEEL_WINDOWS_IMAGE_REVISION=2026-11-24 +PYTHON_WHEEL_WINDOWS_TEST_IMAGE_REVISION=2026-11-24 diff --git a/c_glib/vcpkg.json b/c_glib/vcpkg.json index 30d3e29bbc47..b5d7ce74c389 100644 --- a/c_glib/vcpkg.json +++ b/c_glib/vcpkg.json @@ -7,5 +7,5 @@ "pkgconf" ], "$comment": "We can update builtin-baseline by 'vcpkg x-update-baseline'", - "builtin-baseline": "61d7eaeb094a6acbc23d9c2e54de9208175fda47" + "builtin-baseline": "8235a7aece54307d71f711944d6339dd6dccd50c" } diff --git a/ci/vcpkg/ports.patch b/ci/vcpkg/ports.patch index dd62862d1929..dc04d5ffc657 100644 --- a/ci/vcpkg/ports.patch +++ b/ci/vcpkg/ports.patch @@ -67,40 +67,6 @@ index 278bc17a1c..d47d859360 100644 ) file(GLOB modules "${SOURCE_PATH}/cmake_modules/Find*.cmake") file(REMOVE ${modules} "${SOURCE_PATH}/c++/libs/libhdfspp/libhdfspp.tar.gz") -diff --git a/ports/uriparser/fix-glibc-2.28-reallocarray.diff b/ports/uriparser/fix-glibc-2.28-reallocarray.diff -new file mode 100644 -index 0000000..57adef4 ---- /dev/null -+++ b/ports/uriparser/fix-glibc-2.28-reallocarray.diff -@@ -0,0 +1,15 @@ -+diff --git a/src/UriMemory.c b/src/UriMemory.c -+--- a/src/UriMemory.c -++++ b/src/UriMemory.c -+@@ -50,6 +50,11 @@ -+ # define _DEFAULT_SOURCE 1 -+ # endif -+ -++// For glibc <2.29 -++# if !defined(_GNU_SOURCE) -++# define _GNU_SOURCE 1 -++# endif -++ -+ // For NetBSD (stdlib.h revision 1.122 of 2020-05-26) -+ # if defined(__NetBSD__) && !defined(_OPENBSD_SOURCE) -+ # define _OPENBSD_SOURCE 1 -diff --git a/ports/uriparser/portfile.cmake b/ports/uriparser/portfile.cmake -index 5df5e94..225e5fb 100644 ---- a/ports/uriparser/portfile.cmake -+++ b/ports/uriparser/portfile.cmake -@@ -4,6 +4,8 @@ vcpkg_from_github( - REF "uriparser-${VERSION}" - SHA512 1e4c397418e71e705b5712de2dc3ea6e95163c9d95bfbaa5f7d2fd2344d34eaf167d7d9389ab9671cfb314af026621b56e632ea34b681c2f4d7951a1b32a98b4 - HEAD_REF master -+ PATCHES -+ fix-glibc-2.28-reallocarray.diff - ) - - if("tool" IN_LIST FEATURES) diff --git a/ports/nanoarrow/portfile.cmake b/ports/nanoarrow/portfile.cmake index 34f113f..10ca500 100644 --- a/ports/nanoarrow/portfile.cmake @@ -132,41 +98,3 @@ index 34f113f..10ca500 100644 ) endif() -diff --git a/ports/protobuf/fix-msvc-global-empty-string.patch b/ports/protobuf/fix-msvc-global-empty-string.patch -new file mode 100644 -index 0000000..da1d995 ---- /dev/null -+++ b/ports/protobuf/fix-msvc-global-empty-string.patch -@@ -0,0 +1,20 @@ -+diff --git a/src/google/protobuf/port.h b/src/google/protobuf/port.h -+index 7347203..a587be8 100644 -+--- a/src/google/protobuf/port.h -++++ b/src/google/protobuf/port.h -+@@ -876,9 +876,14 @@ class alignas(8) GlobalEmptyStringConstexpr { -+ // evaluation, not that a constant evaluated instance can leak into runtime. -+ // Memory allocated during constant evaluation can't be used for runtime -+ // objects. -+-#if !defined(__XTENSA__) -++#if !defined(__XTENSA__) && !defined(_MSC_VER) -+ // Disable the optimization for Xtensa. -+ // Compilation fails on Xtensa: b/467129751 -++ // Disable the optimization for MSVC too, as protobuf 33.x did. -++ // MSVC mangles the type of fixed_address_empty_string into its symbol -++ // name, so libprotobuf and generated code built with different C++ -++ // standards (C++17 vs C++20) fail to link. -++ // See https://github.com/microsoft/vcpkg/issues/54654 -+ template < -+ typename Alloc = NonConstexprAllocator, -+ int = std::basic_string, Alloc>().size()> -diff --git a/ports/protobuf/portfile.cmake b/ports/protobuf/portfile.cmake -index 74570d4..ae656fc 100644 ---- a/ports/protobuf/portfile.cmake -+++ b/ports/protobuf/portfile.cmake -@@ -11,6 +11,7 @@ vcpkg_from_github( - fix-install-dirs.patch - fix-constinit-with-clang-cl.patch - fix-upb.patch -+ fix-msvc-global-empty-string.patch - ) - - string(COMPARE EQUAL "${TARGET_TRIPLET}" "${HOST_TRIPLET}" protobuf_BUILD_PROTOC_BINARIES) diff --git a/cpp/vcpkg.json b/cpp/vcpkg.json index f4d4d742f30d..307bac1522ba 100644 --- a/cpp/vcpkg.json +++ b/cpp/vcpkg.json @@ -59,5 +59,5 @@ "zstd" ], "$comment": "We can update builtin-baseline by 'vcpkg x-update-baseline'", - "builtin-baseline": "61d7eaeb094a6acbc23d9c2e54de9208175fda47" + "builtin-baseline": "8235a7aece54307d71f711944d6339dd6dccd50c" } diff --git a/dev/tasks/python-wheels/github.osx.yml b/dev/tasks/python-wheels/github.osx.yml index b032f6aa4766..4edfdec43d21 100644 --- a/dev/tasks/python-wheels/github.osx.yml +++ b/dev/tasks/python-wheels/github.osx.yml @@ -57,15 +57,6 @@ jobs: run: | brew list - # vcpkg uses the first CMake on PATH that meets its minimum version. - # Pin it so Homebrew's CMake (4.5.0 fails to configure boost-locale 1.92) - # isn't picked up. See GH-55737. - - name: Install CMake 4.4.5 - shell: bash - run: | - arrow/ci/scripts/install_cmake.sh 4.4.5 ${PWD}/local - echo "${PWD}/local/bin" >> $GITHUB_PATH - - name: Retrieve VCPKG version from arrow/.env run: | vcpkg_version=$(. "arrow/.env" && echo "${VCPKG}")