Adam Cozzette
8f831e973a
Update Python versions to reflect that we now support 3.8 through 3.11
...
PiperOrigin-RevId: 569317472
1 year ago
Adam Cozzette
0d995193e5
Remove `upb_deps()` helper function
...
This separate helper for upb dependencies no longer makes sense now that upb
has been merged into the protobuf repo. This change deletes that helper and
moves the upb-specific dependencies into the `protobuf_deps()` function.
I noticed that the Python package deps need to be updated to reflect our
current support level, but I will fix that in a followup CL.
PiperOrigin-RevId: 568997625
1 year ago
Joshua Haberman
2c7193b810
Migrated upb rules to use proto_common.
...
PiperOrigin-RevId: 568943311
1 year ago
Adam Cozzette
c32a2f9965
Remove upb dependency from protobuf_deps.bzl
...
This dependency is obsolete now that upb has been merged into the protobuf
Bazel repo.
PiperOrigin-RevId: 568924745
1 year ago
zhangskz
981aeb1ef8
Update to latest absl LTS patch 20230802.1 ( #14145 )
...
Closes #14145
PiperOrigin-RevId: 567165127
1 year ago
Protobuf Team Bot
fbdeb5af0b
Add prefetching to arena allocations.
...
PiperOrigin-RevId: 565061139
1 year ago
Protobuf Team Bot
420f92a475
Updates with the latest rules_kotlin 1.8.1.
...
PiperOrigin-RevId: 563772250
1 year ago
Adam Cozzette
7050c6b0ae
Update protobuf and upb pinned Bazel versions
...
These cross dependencies will be going away soon when we merge protobuf and upb
into a single Bazel repo, but I thought it would be good to update these just
in case we need to do a release before that merge happens.
PiperOrigin-RevId: 560756369
1 year ago
Jie Luo
836fb65bb7
Test part: upb CopyFrom the default empty message should just clear instead of deep copy
...
from memory
fix https://github.com/protocolbuffers/protobuf/issues/13485
PiperOrigin-RevId: 559888172
1 year ago
Adam Cozzette
7d5592e518
Add upb "No System Python" test run
...
This test validates that upb Python targets can be built successfully even if
Python is not installed locally.
I also updated our pinned upb version to pull in some recent fixes needed for
this test run.
PiperOrigin-RevId: 559504790
1 year ago
Mike Kruskal
35030b14a1
Upgrade rules_python dependency.
...
PiperOrigin-RevId: 559226153
1 year ago
martijneken
b1813d30c2
Update utf8_range to the latest version ( #13469 )
...
Picks up an OSS build fix for unused function CodepointSkipBackwards: d863bc33e1
Closes #13469
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13469 from martijneken:utf8-range-bump f52ea9d7dd
PiperOrigin-RevId: 559146094
1 year ago
Adam Cozzette
8059da24d2
Start adding upb test runs to CI for protobuf repo
...
This change moves the upb Fastbuild, Optimized, and FastTable test runs over to
the protobuf repo CI in preparation for moving the upb codebase itself. There
are a bunch more test runs to move, but this initial change handles the easy
ones first.
I also updated our pinned upb version to the current head to pick up some
recent fixes.
PiperOrigin-RevId: 557486174
1 year ago
zhangskz
e7bb34db3c
Update absl submodule and dep to latest 20230802.0 LTS ( #13515 )
...
Fixes https://github.com/protocolbuffers/protobuf/issues/13499
Needs to be backported to 24.x
Closes #13515
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13515 from zhangskz:update-absl 508f2912e3
PiperOrigin-RevId: 555679980
1 year ago
Protobuf Team Bot
6eecc4f98d
Internal change
...
PiperOrigin-RevId: 555660413
1 year ago
zhangskz
4c2092a1e3
Update absl submodule and dep to latest 20230802.0 LTS ( #13515 )
...
* Update absl submodule and dep to latest 20230802.0 LTS
* Fix absl submodule
* Update submodule
* Update absl submodule to correct commit
1 year ago
Sandy Zhang
e3b0943412
Update protobuf's upb dependency to current main HEAD.
...
PiperOrigin-RevId: 554500222
1 year ago
Sandy Zhang
fce87eb250
Update protobuf repo's upb dependency to latest 24.x commit
1 year ago
Jason Lunn
c52d80cf04
Ruby FFI implementation ( #13343 )
...
Supersedes #11483 .
Closes #13343
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13343 from protocolbuffers:simultaneous_ffi bcb4bb7842
PiperOrigin-RevId: 550782245
1 year ago
Sandy Zhang
7666e9f521
Update protobuf's upb dep to latest 24.x commit.
1 year ago
Jason Lunn
2402814db6
Add JRuby 9.3 and 9.4 to the test matrix under both Bazel versions. ( #13296 )
...
Prepare for 9.2 to be removed.
Closes #13296
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13296 from protocolbuffers:jruby_version_bump 82924ab6b3
PiperOrigin-RevId: 548279470
1 year ago
Jason Lunn
59e19a7db8
Add JRuby 9.3 and 9.4 to the test matrix under both Bazel versions. ( #13296 )
...
Prepare for 9.2 to be removed.
Closes #13296
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13296 from protocolbuffers:jruby_version_bump 82924ab6b3
PiperOrigin-RevId: 548279470
1 year ago
Jason Lunn
67dee2987b
Sync UPB. ( #13286 )
...
Closes #13286
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13286 from JasonLunn:upd-update-for-ffi bac2123982
PiperOrigin-RevId: 547898482
1 year ago
Mike Kruskal
9d43502e10
Update upb dependency ( #13271 )
...
Closes #13271
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13271 from mkruskal-google:main 8fbcf76d25
PiperOrigin-RevId: 547269038
1 year ago
Jie Luo
96ca7d96da
Raise warinings when extend repeated field with none iterable in OSS. OSS will raise errors soon
...
PiperOrigin-RevId: 542037298
1 year ago
Chad Wilson
c95ebb7bd8
deps: Update Guava to 32.0.1 ( #13099 )
...
Follow-up from #12953 to update to `32.0.1` to fix an issue on windows:
https://github.com/google/guava/releases/tag/v32.0.1
The underlying issue likely does not affect protobuf as it does not appear to (directly) use the affected `Files.createTempDir` or `FileBackedOutputStream` code which was apparently broken on Windows in `32.0.0`.
Seems best to update anyway.
Closes #13099
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13099 from chadlwilson:bump-guava-3201 30bd3f7563
PiperOrigin-RevId: 541960623
1 year ago
Protobuf Team Bot
e9391b4b3e
Update rules_java to the latest version
...
PiperOrigin-RevId: 540013522
1 year ago
Jie Luo
3560e2381e
Remove RegisterExtension in message class
...
PiperOrigin-RevId: 539568063
1 year ago
Chad Wilson
cd615a8c65
deps: Update Guava to 32.0.0 ( #12953 )
...
Updates Guava to [32.0.0](https://github.com/google/guava/releases/tag/v32.0.0 ) to include fixes for CVE-2020-8908 and CVE-2023-2976 (https://github.com/google/guava/issues/2575 ) which affects certain builds with shaded usage, e.g ruby via jruby/java platform such as https://rubygems.org/gems/google-protobuf/versions/3.23.2-java
- Protobuf does not appear to (directly) use the affected `Files.createTempDir` or `FileBackedOutputStream` code which might behave differently on Windows.
- Referred to #9707 and #9757 for reference
- Updated transitive dependency versions match https://mvnrepository.com/artifact/com.google.guava/guava/32.0.0-jre (note major version change for `j2objc-annotations` from `1.3` --> `2.8`)
May need backporting to `23.x` branch if sufficiently compatible.
Closes #12953
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12953 from chadlwilson:update-guava-32 9c396b6759
PiperOrigin-RevId: 538666552
1 year ago
Jie Luo
f36a5c6674
Internal change
...
PiperOrigin-RevId: 534622899
2 years ago
Mike Kruskal
5f97a7f494
Define a new set of cmake tests.
...
These more closely follow the standard practices of our users, where dependencies are pre-installed instead of using our provided sub-modules. This will prevent issues such as #12201 from reoccuring.
Additionally, this cl bumps our Abseil dependency to the latest release, and fixes a GTest issue that went previously unnoticed.
PiperOrigin-RevId: 529490402
2 years ago
Mike Kruskal
7714d57c91
Define a new set of cmake tests.
...
These more closely follow the standard practices of our users, where dependencies are pre-installed instead of using our provided sub-modules. This will prevent issues such as #12201 from reoccuring.
Additionally, this cl bumps our Abseil dependency to the latest release, and fixes a GTest issue that went previously unnoticed.
PiperOrigin-RevId: 529490402
2 years ago
Deanna Garcia
000755a8a7
Update UPB dep
2 years ago
Deanna Garcia
df32e78d45
Update UPB dep
2 years ago
Deanna Garcia
c4731cdfdd
Update abseil dependency and reorder dependencies to ensure we use the version specified in protobuf_deps.
...
PiperOrigin-RevId: 528838071
2 years ago
Deanna Garcia
99529a2209
Update abseil dependency and reorder dependencies to ensure we use the version specified in protobuf_deps.
...
PiperOrigin-RevId: 528838071
2 years ago
Deanna Garcia
eb96482b3a
Update UPB dep
2 years ago
Deanna Garcia
f7f003f1fd
Update protobuf's UPB dependency in preparation for 23.0-rc2
...
PiperOrigin-RevId: 527686128
2 years ago
Deanna Garcia
b26afb5a86
Update protobuf's UPB dep in preparation for the 23.0-rc1 release.
...
PiperOrigin-RevId: 527061210
2 years ago
Deanna Garcia
bd6a0cf15b
Delete old numpy_test.py file and replace references with the new one.
...
This is the final step to make numpy/pip_deps a test-only dependency.
PiperOrigin-RevId: 525785717
2 years ago
Deanna Garcia
c7d979dbf4
Update UPB dependency
...
PiperOrigin-RevId: 524423191
2 years ago
Deanna Garcia
553422572d
Update UPB dep
2 years ago
Eric Salo
dfb71558a2
sync to current upb and enable new unit test on upb
...
PiperOrigin-RevId: 518643876
2 years ago
Protobuf Team Bot
4b5652b030
Re-attach OSGI headers to lite,core, and util. This information was dropped in the move from maven to bazel.
...
PiperOrigin-RevId: 518267412
2 years ago
Jakob Buchgraber
c0c79b2791
Bump upb version
...
PiperOrigin-RevId: 517972179
2 years ago
Deanna Garcia
f3bb8cb8d8
Add sha256 for upb
2 years ago
Deanna Garcia
46680103a7
Update UPB dep
2 years ago
Deanna Garcia
7f6b36ce0c
Revert UPB dep update
2 years ago
Deanna Garcia
d327259c16
Update UPB dep
2 years ago
zhangskz
7d1b0348f7
Update protobuf's upb dep to latest upb protobuf dep update commit ( #11907 )
2 years ago