Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -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

72 changes: 0 additions & 72 deletions ci/vcpkg/ports.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<char>,
+ int = std::basic_string<char, std::char_traits<char>, 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)
9 changes: 0 additions & 9 deletions dev/tasks/python-wheels/github.osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down
Loading