dep-protobuf/python/dist
Mitchell Allain 3aa022a269 Configure extra compile args in setup.py (#28264)
Fixes https://github.com/protocolbuffers/protobuf/issues/28261 by setting symbol visibility in `setup.py`, similar to `py_extension.bzl`, using the existing branching logic to bypass the flag on MSVC.

This issue manifests in the [NixOS/nixpkgs](https://github.com/NixOS/nixpkgs) build of the `protobuf` python package, which contains upb symbols, and causes fatal failures when loaded in a process that separately links/loads libprotobuf. We'll supply a patch there as well, until this can be backported or released in future protobuf versions.

Closes #28264

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/28264 from mitchallain:mallain/fix-python-upb-symbols 6e118a62bf
PiperOrigin-RevId: 942223178
2026-07-03 12:47:05 -07:00
..
BUILD.bazel json/python: add support for custom json strings for enum values 2026-05-28 06:17:20 -07:00
dist.bzl Automated Code Change 2026-07-01 04:17:25 -07:00
lua.BUILD Move private definitions out of //bazel 2024-04-03 01:37:51 -07:00
MANIFEST.in Reorganize upb file structure 2023-09-26 14:38:35 -07:00
py_proto_library.bzl Automated Code Change 2026-07-01 04:17:25 -07:00
python_downloads.bzl bazel 9 tests for csharp, hpb, objc, php, python, rust and upb 2026-05-19 19:58:47 -07:00
setup.py Configure extra compile args in setup.py (#28264) 2026-07-03 12:47:05 -07:00
setup_wrapper.sh Updating setuptools to patch CVE-2025-47273 (#22094) 2025-07-08 13:58:42 -07:00
system_python.bzl Add support for bazel 9.x (#26201) 2026-03-04 13:59:16 -08:00