Commit graph

9 commits

Author SHA1 Message Date
David Sanderson
a522048881 avoid using deprecated @bazel_tools//src/conditions:host_windows (#23119)
#test-continuous

We here imitate the current practice in bazel-skylib to avoid depending on `@bazel_tools//src/conditions:host_windows`, which is deprecated as of Bazel 8.3.0.

Closes #23116

Closes #23119

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/23119 from dws:host_windows 0e7079aaf0
PiperOrigin-RevId: 794146077
2025-08-12 09:42:22 -07:00
Mike Kruskal
aa4e50fe78 Replace old branch of absl-py parameterization with a dev dependency
#test-continuous

PiperOrigin-RevId: 706910739
2024-12-16 18:57:05 -08:00
Nevena Kotlaja
80a5a511e4 Add toolchain type for remaining actions
This is the first step for migrating to Automatic Exec Groups (check [#19261](https://github.com/protocolbuffers/protobuf/issues/19261)).

PiperOrigin-RevId: 697777264
2024-11-18 15:29:42 -08:00
Protobuf Team Bot
b00dca3665 Load Python rules everywhere in protobuf
Bazel 8's autoloads don't work in repositories where they load from. Protobuf thus needs to load Python rules.

PiperOrigin-RevId: 685703304
2024-10-14 07:49:49 -07:00
Deanna Garcia
859410bccc Fix bug in _internal_copy_files where the rule would fail in downstream repositories.
Taken from https://github.com/protocolbuffers/upb/blob/main/bazel/protobuf.patch#L42

Fixes https://github.com/protocolbuffers/protobuf/issues/12620.

PiperOrigin-RevId: 528586464
2023-05-01 15:13:15 -07:00
Deanna Garcia
fe038fc9d2 Make numpy/pip_deps a test-only dependency.
Create an isolated build file for the numpy test to separate from runtime.

PiperOrigin-RevId: 524913924
2023-04-17 12:12:43 -07:00
Mike Kruskal
3bc50497eb Bump upb version and refactor python compatibility.
This pulls in updates to system_python, which allows for better handling of our non-hermetic setup.  Specifically, our python tests are marked incompatible on systems without a python installation.  This will cause them to get skipped by wildcard expansions (which is why we add 1 explicit target to the kokoro builds).

PiperOrigin-RevId: 492286518
2022-12-01 13:36:49 -08:00
David L. Jones
07303d6f54
[Bazel/C++] Factor out util library (#9987)
This change creates new Bazel packages for the C++ util libraries (similar to #9980 and #9985).
2022-05-17 18:13:22 -07:00
David L. Jones
b3cbea18ea
[Bazel] Move Python rules to //python (#9952) 2022-05-12 19:48:58 -07:00