Mike Kruskal
ac471fe675
Upgrade to Abseil LTS 20230117
...
PiperOrigin-RevId: 503566664
2 years ago
Mike Kruskal
06b5775fd7
Remove reference to deleted test.
...
This caused failures in protobuf CI
PiperOrigin-RevId: 501972926
2 years ago
Deanna Garcia
c740802bcb
Update proto dep and setup.py
2 years ago
Deanna Garcia
f0c0385a5a
Fix workspace
2 years ago
Deanna Garcia
68e6248950
Fix workspace sha
2 years ago
Deanna Garcia
ac7af1d64c
Fix dependency
2 years ago
Deanna Garcia
9880136636
Add bazel target for source distribution
2 years ago
Deanna Garcia
92dbe4b8bb
Add license file to pypi wheels.
...
Addresses https://github.com/protocolbuffers/protobuf/issues/10936 .
This requires updating to the newest version of rules_python to use the new py_wheel API that includes a parameter for extra distinfo files
PiperOrigin-RevId: 493060514
2 years ago
Mike Kruskal
3e078f5fe4
Add CMake+Bazel dependencies on utf8_range repo
2 years ago
Mike Kruskal
248ed86f2b
Add better handling for systems without python3 installed.
...
The current behavior will crash any Bazel command immediately, due to our declared pip dependencies in WORKSPACE, if python3 can't be found. The new behavior will mock out these workspace dependencies and allow any non-python targets to run. Python targets will be skipped by wildcard expressions if there's no system python3, and will fail when run directly, due to compatibility mismatch.
PiperOrigin-RevId: 492085254
2 years ago
Protobuf Team Bot
d3ec4b63c9
Add Parse/Serialize templates to support shared_ptr/unique_ptr.
...
Fix UBSAN in _upb_Message_Clear due to unsigned UPB_PTR_AT
PiperOrigin-RevId: 489007182
2 years ago
Protobuf Team Bot
306123e2e8
C++ Code generator
...
PiperOrigin-RevId: 486158566
2 years ago
Protobuf Team Bot
04363f7bae
Update workspace_deps.bzl protobuf main commit
...
PiperOrigin-RevId: 479635174
2 years ago
Protobuf Team Bot
23048df525
Fully-qualify labels in the µpb repository.
...
This is necessary at least for workspace rules because otherwise files will be
taken from the main repository.
PiperOrigin-RevId: 477175268
2 years ago
Derek Perez
fa5e4cfd31
Updating rules_python to 0.12.0
2 years ago
Derek Perez
4135cd206b
Updating python to 0.11.0
2 years ago
Mike Kruskal
63a4a7d74b
Bump pinned protobuf version
...
PiperOrigin-RevId: 466825011
2 years ago
Mike Kruskal
17b6451684
Bumping protobuf dependency to newer commit
...
PiperOrigin-RevId: 460811319
2 years ago
Joshua Haberman
a60e9a379e
Fixed the mingw build by adding compatibility code for vsnprintf()
...
PiperOrigin-RevId: 448611947
3 years ago
Joshua Haberman
32f45b5f33
Update to the latest protobuf.
...
PiperOrigin-RevId: 447642349
3 years ago
Joshua Haberman
2eb973f53a
Added a GitHub Action to test Python+upb on Windows, and fixed a couple of bugs this revealed.
...
PiperOrigin-RevId: 446322046
3 years ago
Joshua Haberman
5f627b69e5
GitHub Action for building/installing Python wheel.
...
This creates a multi-job workflow. The first step builds all wheels, using the Docker image and cross-compiler. The second step attempts to install that wheel on all platforms.
Future changes will enhance this workflow to also install and run the tests. We also need to add macOS wheels, which are not currently being built.
PiperOrigin-RevId: 444952832
3 years ago
Deanna Garcia
24febb01c8
Move python deps to workspace_deps
3 years ago
Joshua Haberman
22c7daf1e3
Update to new upb module name.
...
PiperOrigin-RevId: 444699974
3 years ago
Joshua Haberman
a0bc6693b0
Avoid registering a toolchain in upb_deps(), to avoid errors in cases where system_python was not available.
...
PiperOrigin-RevId: 444358333
3 years ago
Joshua Haberman
3e0890c055
Added support for UnknownFieldSet.
...
PiperOrigin-RevId: 443143448
3 years ago
Joshua Haberman
1fc983f35f
Added Python deps to upb_deps().
...
PiperOrigin-RevId: 442669011
3 years ago
Joshua Haberman
57e272449c
Revert "Moved system_python dep into upb_deps()."
...
This reverts commit 17052fce40
.
3 years ago
Joshua Haberman
17052fce40
Moved system_python dep into upb_deps().
3 years ago
Protobuf Team
ee6b1abb35
Create targets for UPB release
...
PiperOrigin-RevId: 441496547
3 years ago
Joshua Haberman
711885db8f
Added py_extension().
3 years ago
Joshua Haberman
56c59c10ed
Call protobuf_deps() ourselves instead of from upb_deps().
3 years ago
Joshua Haberman
e253b6ec03
Added a note that users calling upb_deps() must first depend on protobuf.
3 years ago
Joshua Haberman
022ccf54d4
Updated to the HEAD version of Protobuf.
...
This brings in a few new Python tests that are failing.
3 years ago
Joshua Haberman
5a10ce7025
Added a Bazel rule to build a binary wheel.
3 years ago
Joshua Haberman
e079f1bce5
Patched protobuf repo sufficiently for things to work.
3 years ago
Joshua Haberman
c5a69b79aa
Updated protobuf version.
...
This also required fixing a bug in the fast parser.
3 years ago
Joshua Haberman
5d92e132c7
Removed defunct link to old protobuf.
3 years ago
Joshua Haberman
6f7634f707
Fixed ABSL version to a specific commit.
3 years ago
Joshua Haberman
ca8eadca41
Updated version of google-benchmark so we can use interleaving.
3 years ago
Joshua Haberman
eabb77458a
Fixes to make upb's tests compatible with a minimal Docker container.
3 years ago
Joshua Haberman
334b22e809
Downgrade rules_python to 0.1.0 to accommodate Kokoro image.
...
Kokoro still is on Python 3.5. Hopefully soon we will be on
a Bazel Docker image where we can include a newer Python.
3 years ago
Joshua Haberman
f5796aa607
Updated Bazel fuzzing to use the newest fuzz rules.
3 years ago
Joshua Haberman
dda5416569
Update bazel-skylib main branch name.
4 years ago
Joshua Haberman
89df647460
Updated versions of ABSL and protobuf deps.
4 years ago
Joshua Haberman
ee7da95367
Bzl formatting fix per buildifier.
4 years ago
Joshua Haberman
d225dfc2ed
Buildifier formatting fixes.
4 years ago
Joshua Haberman
0a3a94a12f
Updated to a new version of protobuf and fixed a few conformance tests.
...
When `google.protobuf.NullValue` appears on its own, we need to parse
and serialize it as plain JSON "null" value.
4 years ago
Joshua Haberman
0dc2394da5
Changes to support import into google3 ( #291 )
...
* Fixes for google3.
* Added to failure list for new failure.
* Reused existing failure list file.
* Add a ./ to assist rewriting.
5 years ago
Joshua Haberman
0842f88211
Support for proto3 optional. ( #270 )
...
* Added support for proto3 optional to defs.
* Added proto3 optional support. Untested at the moment.
* Changes to support proto3 optional.
* Fixed real oneof count for messages with no fields.
* Fixed compile error and test.
* Added comment about why I'm commenting out the assert.
5 years ago