Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
2de21e6
updated v1.75.0
regro-cf-autotick-bot Sep 16, 2025
a424d8c
rebase patches
h-vetinari Sep 17, 2025
f0ff466
add dll-export for grpc_socket_mutator_to_arg
h-vetinari Sep 17, 2025
cdbd4b9
grpcio depends on typing-extensions now
h-vetinari Sep 17, 2025
4c24b74
add more missing GRPC_DLL instances
h-vetinari Sep 18, 2025
3ce63af
updated v1.75.1
regro-cf-autotick-bot Sep 26, 2025
48fbcaf
MNT: Re-rendered with conda-smithy 3.52.3 and conda-forge-pinning 202…
h-vetinari Oct 16, 2025
43598b2
grpc v1.78.0.pre1
h-vetinari Jan 10, 2026
a6d4b33
rebase patches
h-vetinari Jan 10, 2026
44ee7d7
MNT: Re-rendered with conda-smithy 3.54.1 and conda-forge-pinning 202…
h-vetinari Jan 10, 2026
f3fe28b
use protobuf's libutf8_range
h-vetinari Jan 10, 2026
73f96eb
update expected delta to core_major version
h-vetinari Jan 10, 2026
7056d31
also apply symbol filtering to grpc_unsecure; exceeds 65k symbol limi…
h-vetinari Jan 11, 2026
df57b58
ensure constructors/destructors don't get filtered out of DLL
h-vetinari Jan 11, 2026
338b8f3
update GRPC_DLL occurrences as necessary
h-vetinari Jan 11, 2026
21f2ee0
disable grpc_unsecure & grpc++_unsecure
h-vetinari Jan 11, 2026
14a3113
build grpcio with system abseil
h-vetinari Jan 11, 2026
e033488
update submodule hashes
h-vetinari Jan 11, 2026
d767ef8
add libabseil to grpcio deps
h-vetinari Jan 11, 2026
41d8b56
avoid absolute paths in grpcio-tools install script
h-vetinari Jan 11, 2026
ca26f6b
backport a patch for handling of protobuf editions
h-vetinari Jan 12, 2026
923bb91
ensure NDEBUG is set consistently
h-vetinari Jan 13, 2026
7f4f2bd
test with protobuf v6.32
h-vetinari Jan 13, 2026
e43065f
MNT: Re-rendered with conda-smithy 3.54.1 and conda-forge-pinning 202…
h-vetinari Jan 13, 2026
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
14 changes: 4 additions & 10 deletions .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ c_stdlib_version:
- '2.17'
channel_sources:
- conda-forge
- conda-forge
- conda-forge
- conda-forge
- conda-forge,conda-forge/label/python_rc
channel_targets:
- conda-forge main
cxx_compiler:
Expand All @@ -23,13 +19,13 @@ cxx_compiler_version:
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
libabseil:
- '20250512'
- '20250814'
libgrpc:
- '1.73'
- '1.74'
libprotobuf:
- 6.31.1
- 6.32.1
openssl:
- '3'
- '3.5'
pin_run_as_build:
python:
min_pin: x.x
Expand All @@ -47,7 +43,5 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - python
- channel_sources
zlib:
- '1'
14 changes: 4 additions & 10 deletions .ci_support/linux_aarch64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ c_stdlib_version:
- '2.17'
channel_sources:
- conda-forge
- conda-forge
- conda-forge
- conda-forge
- conda-forge,conda-forge/label/python_rc
channel_targets:
- conda-forge main
cxx_compiler:
Expand All @@ -23,13 +19,13 @@ cxx_compiler_version:
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
libabseil:
- '20250512'
- '20250814'
libgrpc:
- '1.73'
- '1.74'
libprotobuf:
- 6.31.1
- 6.32.1
openssl:
- '3'
- '3.5'
pin_run_as_build:
python:
min_pin: x.x
Expand All @@ -47,7 +43,5 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - python
- channel_sources
zlib:
- '1'
14 changes: 4 additions & 10 deletions .ci_support/linux_ppc64le_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ c_stdlib_version:
- '2.17'
channel_sources:
- conda-forge
- conda-forge
- conda-forge
- conda-forge
- conda-forge,conda-forge/label/python_rc
channel_targets:
- conda-forge main
cxx_compiler:
Expand All @@ -23,13 +19,13 @@ cxx_compiler_version:
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
libabseil:
- '20250512'
- '20250814'
libgrpc:
- '1.73'
- '1.74'
libprotobuf:
- 6.31.1
- 6.32.1
openssl:
- '3'
- '3.5'
pin_run_as_build:
python:
min_pin: x.x
Expand All @@ -47,7 +43,5 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - python
- channel_sources
zlib:
- '1'
30 changes: 30 additions & 0 deletions .ci_support/migrations/absl_grpc_proto_25Q3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
__migrator:
build_number: 1
commit_message: Rebuild for libabseil 20250814, libgrpc 1.74 & libprotobuf 6.32.0
kind: version
migration_number: 1
paused: true
exclude:
# core deps
- abseil-cpp
- grpc-cpp
- libprotobuf
# required for building/testing
- protobuf
- re2
# bazel stack
- bazel
- grpc_java_plugin
- singlejar
libabseil:
- 20250814
libgrpc:
- "1.74"
libprotobuf:
- 6.32.1
# we need to leave this migration open until we're ready to move the global baseline, see
# https://github.com/conda-forge/conda-forge.github.io/issues/2467; grpc 1.72 requires 11.0,
# see https://github.com/grpc/grpc/commit/f122d248443c81592e748da1adb240cbf0a0231c
c_stdlib_version: # [osx]
- 11.0 # [osx]
migrator_ts: 1755579905.5999165
14 changes: 4 additions & 10 deletions .ci_support/osx_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,22 @@ c_stdlib_version:
- '11.0'
channel_sources:
- conda-forge
- conda-forge
- conda-forge
- conda-forge
- conda-forge,conda-forge/label/python_rc
channel_targets:
- conda-forge main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '19'
libabseil:
- '20250512'
- '20250814'
libgrpc:
- '1.73'
- '1.74'
libprotobuf:
- 6.31.1
- 6.32.1
macos_machine:
- x86_64-apple-darwin13.4.0
openssl:
- '3'
- '3.5'
pin_run_as_build:
python:
min_pin: x.x
Expand All @@ -51,7 +47,5 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - python
- channel_sources
zlib:
- '1'
14 changes: 4 additions & 10 deletions .ci_support/osx_arm64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,22 @@ c_stdlib_version:
- '11.0'
channel_sources:
- conda-forge
- conda-forge
- conda-forge
- conda-forge
- conda-forge,conda-forge/label/python_rc
channel_targets:
- conda-forge main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '19'
libabseil:
- '20250512'
- '20250814'
libgrpc:
- '1.73'
- '1.74'
libprotobuf:
- 6.31.1
- 6.32.1
macos_machine:
- arm64-apple-darwin20.0.0
openssl:
- '3'
- '3.5'
pin_run_as_build:
python:
min_pin: x.x
Expand All @@ -51,7 +47,5 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - python
- channel_sources
zlib:
- '1'
15 changes: 4 additions & 11 deletions .ci_support/win_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,18 @@ c_stdlib:
- vs
channel_sources:
- conda-forge
- conda-forge
- conda-forge
- conda-forge
- conda-forge,conda-forge/label/python_rc
channel_targets:
- conda-forge main
cxx_compiler:
- vs2022
libabseil:
- '20250512'
- '20250814'
libgrpc:
- '1.73'
- '1.74'
libprotobuf:
- 6.31.1
- 6.32.1
openssl:
- '3'
- '3.5'
pin_run_as_build:
python:
min_pin: x.x
Expand All @@ -36,8 +32,5 @@ re2:
- 2025.08.12
target_platform:
- win-64
zip_keys:
- - python
- channel_sources
zlib:
- '1'
19 changes: 19 additions & 0 deletions .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions recipe/build-cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ pushd build-cpp
echo CC="${CC}"
echo CFLAGS="${CFLAGS}"

# our compilers set `-DNDEBUG` in CPPFLAGS, but grpc does not seem to respect
# this consistently; add it to CXXFLAGS as well to avoid any doubt, see
# https://github.com/abseil/abseil-cpp/issues/1624#issuecomment-1968073823
CXXFLAGS="${CXXFLAGS} -DNDEBUG"

# point to right protoc
if [[ "$CONDA_BUILD_CROSS_COMPILATION" == 1 ]]; then
export CMAKE_ARGS="${CMAKE_ARGS} -DProtobuf_PROTOC_EXECUTABLE=$BUILD_PREFIX/bin/protoc"
Expand Down
7 changes: 7 additions & 0 deletions recipe/build-grpcio.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
set -ex

export GRPC_BUILD_WITH_BORING_SSL_ASM=""
export GRPC_PYTHON_BUILD_SYSTEM_ABSL="True"
export GRPC_PYTHON_BUILD_SYSTEM_CARES="True"
export GRPC_PYTHON_BUILD_SYSTEM_GRPC_CORE="True"
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL="True"
Expand All @@ -24,4 +26,9 @@ fi
ln -sf "$(which $CC)" "$SRC_DIR/cc"
export PATH="$SRC_DIR:$PATH"

# our compilers set `-DNDEBUG` in CPPFLAGS, but grpc does not seem to respect
# this consistently; add it to CXXFLAGS as well to avoid any doubt, see
# https://github.com/abseil/abseil-cpp/issues/1624#issuecomment-1968073823
CXXFLAGS="${CXXFLAGS} -DNDEBUG"

$PYTHON -m pip install . --no-deps --ignore-installed --no-cache-dir -v
4 changes: 4 additions & 0 deletions recipe/generate_def.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@
# trailing demangled names (e.g. "(`upb_FieldType_CType'::`2'::c_type)" above);
# don't use [-1] because some demangled symbols contain `operator|`
symbol = line.split("|")[1].strip().split()[0]
# keep constructors/destructors before filtering other symbols starting with "??"
if any(symbol.startswith(x) for x in ["??0", "??1"]):
symbols.add(symbol)
continue
# skip labels and metadata
if "Label" in line or any(symbol.startswith(x) for x in [".", "$", "@", "??", "?$", "__"]):
continue
Expand Down
Loading