Adam Cozzette
047df98dea
Move upb-x/ back to upb/
...
This is the second attempt to fix our Git history. This should allow
"git blame" to work correctly in the upb/ directory even though our
automation unexpectedly blew away that directory.
1 year ago
Adam Cozzette
895f190bda
Move upb to upb-x
1 year ago
Adam Cozzette
1ba80d7424
Move upb-temp/ back to upb/
1 year ago
Adam Cozzette
d38b8561e6
Move upb/ to upb-temp/
...
This will help us fix our Git commit history to ensure that git blame
works correctly for upb.
1 year ago
Adam Cozzette
6fc87fe3f7
Internal change
...
PiperOrigin-RevId: 560100839
1 year ago
Protobuf Team Bot
cab6c3e223
Internal change
...
PiperOrigin-RevId: 560096690
1 year ago
Adam Cozzette
0d1ba13e83
Move everything into new upb/ directory
1 year ago
Sandy Zhang
629764bacf
Disambiguate release and local `config_settings` via a release flag.
...
This flag was added to Protobuf and submitted separately due to version skew between repos.
This attempts to fix the following error from local and release settings both matching.
```
ERROR: /workspace/_build/out/external/upb/python/dist/BUILD.bazel:251:9: Illegal ambiguous match on configurable attribute "platform" in @upb//python/dist:binary_wheel:
@upb//python/dist:linux_x86_64_local
@upb//python/dist:windows_x86_64
Multiple matches are not allowed unless one is unambiguously more specialized or they resolve to the same value. See https://bazel.build/reference/be/functions#select .
```
PiperOrigin-RevId: 553226261
1 year ago
Mike Kruskal
0fdcdbb616
Update protobuf dependency ( #1401 )
...
Closes #1401
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/upb/pull/1401 from mkruskal-google:update-24.0 daff44b9b921d5c99a783133810ed99b85b1468d
PiperOrigin-RevId: 547255920
1 year ago
Jie Luo
00a9807c9e
Remove some message factory tests in python upb
...
PiperOrigin-RevId: 540696051
2 years ago
Jie Luo
cfb8b3dd6d
Update upb deps and remove testAddTypeError test in python upb
...
PiperOrigin-RevId: 538930281
2 years ago
Deanna Garcia
1123c8a4eb
Update UPB's absl dep to newest patch.
...
PiperOrigin-RevId: 528894526
2 years ago
Deanna Garcia
b9d8ff9f5f
Remove patch to internal protobuf rules now that it's implemented in the proto repository.
...
859410bccc
moved the patch to the protobuf repository.
PiperOrigin-RevId: 528804550
2 years ago
Jie Luo
60be96e0bf
-Make message __deepcopy__ call UPB code instead of default implementation for
...
python UPB (splitted change 2)
PiperOrigin-RevId: 528614850
2 years ago
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