Thomas Van Lenten
2282505327
Move to proto_common for all upb aspects to fix numerous tricky edge cases and simplify the code
...
PiperOrigin-RevId: 527937369
2 years ago
Joshua Haberman
88d5b91810
Move to proto_common for all upb aspects to fix numerous tricky edge cases and simplify the code
...
PiperOrigin-RevId: 527904449
2 years ago
Sandy Zhang
5a42239800
Update upb's protobuf dependency
...
PiperOrigin-RevId: 527668262
2 years ago
Deanna Garcia
b399576ccd
Update UPB's protobuf dependency in preparation for 23.0-rc1 release.
...
PiperOrigin-RevId: 527037668
2 years ago
Mike Kruskal
9fa51d0bc9
Enable Windows CI
...
PiperOrigin-RevId: 526638532
2 years ago
Deanna Garcia
8c10056074
Add back UPB numpy test now that it has been moved in the protobuf directory.
...
This also includes an update to the newest protobuf commit.
PiperOrigin-RevId: 525551351
2 years ago
Mike Kruskal
2d273b6d74
Internal Code Change
...
PiperOrigin-RevId: 520076240
2 years ago
Deanna Garcia
b7437a1b0e
Update UPB main's protobuf dependency.
...
This also requires some editing in the rewrites since importing plugin.proto shouldn't require the src prefix after https://github.com/protocolbuffers/protobuf/pull/11991 .
PiperOrigin-RevId: 518387501
2 years ago
Mike Kruskal
8498146120
Migrate dependencies pointing to github-generated tarballs to use zip instead.
...
These triggered non-hermetic build failures due to a change in how github generates tarballs. See https://github.com/keybase/client/issues/10800#issuecomment-375831096 for more info.
PiperOrigin-RevId: 505814382
2 years ago
Mike Kruskal
1881a390b0
Bump upb to Abseil LTS 20230125 RC3
...
PiperOrigin-RevId: 504582691
2 years ago
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