Commit graph

771 commits

Author SHA1 Message Date
Mike Kruskal
701dd83594
Integrate from Piper for C++, Java, and Python (#10429)
* Fixing typos

* Revert new files that were deleted by sync script

* Fix CMake breakages

* bump upb version

* Sync from Piper @468772608

PROTOBUF_SYNC_PIPER

* Adding abseil to include path for python C++ extension

* Adding abseil linkage for python C++ extension

* Fixing linkage order
2022-08-20 14:22:08 -07:00
Mike Kruskal
0d43511582 Merge tag 'refs/tags/sync-piper' into sync-stage 2022-08-12 10:14:44 -07:00
Mike Kruskal
ca4b0630a6 Sync from Piper @467099277
PROTOBUF_SYNC_PIPER
2022-08-11 20:55:01 -07:00
Adam Cozzette
500cbd7b90
Upgrade third_party/googletest submodule to current main branch (#10393)
* Upgrade third_party/googletest submodule to current main branch

We can finally do this upgrade now that we have dropped our autotools
build. Googletest recommends living at head, so let's go straight to the
most recent commit on main. For some reason the googletest archive is
not present in the Bazel build mirror, so I removed that entry and just
left the GitHub download link in our WORKSPACE file.

Googletest now requires C++14, so I updated all the C++11 flags I could
find to C++14 instead. I added a .bazelrc file to add -std=c++14 for all
our Bazel builds.

* Delete the empty //src/google/protobuf:protobuf_test target

* Avoid building C++ unit tests in aarch64 jobs for Python and Ruby
2022-08-11 18:22:15 -07:00
Mike Kruskal
ed5c57a574
Remove all autotools usage (#10132)
* Bazelfying conformance tests

Adding infrastructure to "Bazelify" languages other than Java and C++

* Delete benchmarks for languages supported by other repositories

* Bazelfying benchmark tests

* Bazelfying python

Use upb's system python rule instead of branching tensorflow

* Bazelfying Ruby

* Bazelfying C#

* Bazelfying Objective-c

* Bazelfying Kokoro mac builds

* Bazelfying Kokoro linux builds

* Deleting all deprecated files from autotools cleanup

This boils down to Makefile.am and tests.sh and all of their remaining references

* Cleanup after PR reorganizing

- Enable 32 bit tests
- Move conformance tests back
- Use select statements to select alternate runtimes
- Add internal prefixes to proto library macros

* Updating READMEs to use bazel instead of autotools.

* Bazelfying Kokoro release builds

* First round of review fixes

* Second round of review fixes

* Third round of review fixes

* Filtering out conformance tests from Bazel on Windows (b/241484899)

* Add version metadata that was previously scraped from configure.ac

* fixing typo from previous fix

* Adding ruby version tests

* Bumping pinned upb version, and adding tests to python CI
2022-08-10 22:51:29 -07:00
Mike Kruskal
68c77bab53 Sync from Piper @466857633
PROTOBUF_SYNC_PIPER
2022-08-10 21:08:51 -07:00
Mike Kruskal
3749755716 Merge tag 'refs/tags/sync-piper' into sync-stage 2022-08-10 21:08:51 -07:00
Mike Kruskal
a8df5b7b3e Sync from Piper @466809395
PROTOBUF_SYNC_PIPER
2022-08-10 16:18:51 -07:00
Mike Kruskal
c83669eea6 Merge tag 'refs/tags/sync-piper' into sync-stage 2022-08-10 16:18:51 -07:00
Deanna Garcia
0e0cfb418f Merge remote-tracking branch 'upstream/21.x' into main-202208092202 2022-08-09 23:16:35 +00:00
Protobuf Team Bot
a44b4ae39c Updating version.json and repo version numbers to: 21.5 2022-08-09 09:24:45 -07:00
Matt Kulukundis
e8ab276325 Sync from Piper @465378928
PROTOBUF_SYNC_PIPER
2022-08-04 15:40:11 -04:00
Matt Kulukundis
c7b2991888 Sync from Piper @464784061
PROTOBUF_SYNC_PIPER
2022-08-02 10:20:58 -04:00
Sandy Zhang
c003a02b59 Sync from Piper @463670061
PROTOBUF_SYNC_PIPER
2022-07-27 20:54:18 +00:00
zhangskz
1122a02024
Update python/release.sh to handle delay between twine upload and pip install (#10324) 2022-07-27 15:53:14 -04:00
Sandy Zhang
e347942f4b Merge 21.x into main 2022-07-26 20:30:13 +00:00
Protobuf Team Bot
c9869dc780 Updating version.json and repo version numbers to: 21.4 2022-07-25 13:22:15 -07:00
Adam Cozzette
41762566dd Merge branch '21.x' into merge-21-x 2022-07-21 23:38:04 +00:00
Protobuf Team Bot
b1eb1260fc Updating version.json and repo version numbers to: 21.3 2022-07-20 11:33:34 -07:00
Joshua Haberman
887daf693f Sync from Piper @461045587
PROTOBUF_SYNC_PIPER
2022-07-14 21:05:36 +00:00
theodorerose
02df2a7dad Sync from Piper @459854290
PROTOBUF_SYNC_PIPER
2022-07-08 23:14:35 +00:00
theodorerose
cc696d4bab Sync from Piper @458570529
PROTOBUF_SYNC_PIPER
2022-07-02 00:09:07 +00:00
theodorerose
0aa7108962 Sync from Piper @458241011
PROTOBUF_SYNC_PIPER
2022-06-30 16:14:29 +00:00
theodorerose
628a7e6fa4 Sync from Piper @457757259
PROTOBUF_SYNC_PIPER
2022-06-28 17:01:18 +00:00
Theodore Rose
ca17dad213
Merge pull request #10183 from protocolbuffers/main-tempbranch
merge 21.x into main
2022-06-27 22:02:31 +00:00
theodorerose
52e071ecb3 merge 21.x into main 2022-06-27 20:45:52 +00:00
Theodore Rose
f9ebb9ee36
Merge pull request #9998 from tomerv/main
Raise KeyError in Python ServiceDescriptor.FindMethodByName (#9592)
2022-06-27 20:25:06 +00:00
Deanna Garcia
aa3d5467b2 Fix python link 2022-06-27 17:05:41 +00:00
Protobuf Team Bot
839b18b1ba Updating version.json and repo version numbers to: 21.2 2022-06-23 12:13:16 -07:00
Dennis Shao
1275ce88f9 Add missing rst files 2022-06-22 21:50:12 +00:00
Dennis Shao
c62c2340ca Update rst files for Python generated docs 2022-06-22 21:33:46 +00:00
Dennis Shao
1640336fcf
Create .repo-metadata.json 2022-06-21 18:07:57 -05:00
Elliotte Rusty Harold
ce537e8a3e Sync from Piper @454206746
PROTOBUF_SYNC_PIPER
2022-06-10 14:32:14 -04:00
Tomer Vromen
056b62a237 Raise KeyError in Python ServiceDescriptor.FindMethodByName (#9592)
* Align Python version with C-extension version
  (python/google/protobuf/pyext/descriptor.cc)
* Update documentation accordingly
* Add unit test
2022-06-07 19:09:19 +03:00
Sandy Zhang
2ad33999ee Merge tag 'refs/tags/sync-piper' into sync-stage 2022-06-02 16:14:25 +00:00
Sandy Zhang
f138d5de25 Sync from Piper @452551755
PROTOBUF_SYNC_PIPER
2022-06-02 16:14:25 +00:00
Sandy Zhang
258514019f Merge 21.x into main 2022-05-28 00:06:34 +00:00
Protobuf Team Bot
38e3a11a29 Updating version.json and repo version numbers to: 21.1 2022-05-27 14:07:46 -04:00
Protobuf Team Bot
59c6ff83e9 Updating version.json and repo version numbers to: 21.0 2022-05-25 13:51:01 -07:00
Deanna Garcia
da481978af Merge 21.x back to main 2022-05-20 17:39:11 +00:00
David L. Jones
d87d99d931 Merge tag 'refs/tags/sync-piper' into sync-stage 2022-05-19 14:43:18 -07:00
David L. Jones
3740e6fa68 Sync from Piper @449836334
PROTOBUF_SYNC_PIPER
2022-05-19 14:43:18 -07:00
David L. Jones
cd5cc37624
Fix some style/lint issues. (#10003)
- Starlark: ensure docstrings are present.
- python/setup.py: https://refex.readthedocs.io/en/latest/guide/fixers/superfluous_parens.html
2022-05-19 14:22:56 -07:00
Protobuf Team Bot
1fa42c4be4 Updating version.json and repo version numbers to: 21.0-rc2 2022-05-19 13:35:48 -07:00
David L. Jones
171a6b1155
[Bazel/C++] Move core C++ implementation to //src/google/protobuf package. (#9988)
This is somewhat of a rough cut, since it doesn't split apart the lite and full targets, or unit tests. However, it does split sources under src/google/protobuf into a separate package, which is a fairly impactful change.
2022-05-18 13:45:22 -07: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
b3199d62be
[Python] Handle user-provided --link-objects and --library-dirs. (#9968)
If the user provides a `--link-objects` (or `-O`) flag that looks like it points to libprotobuf, use that for static linking instead of using the hard-coded path `../src/.libs/libprotobuf.a`. (Also, if we see such a flag, assume they want to link it statically, even if they don't provide `--compile_static_extension`.)

Similarly, if they provide a `--library-dirs=` (or `-L`), assume that is the location to search, and don't add the hard-coded path `../src/.libs`.
2022-05-16 17:21:28 -07:00
Deanna Garcia
193da6c8a9 Merge release branch 21.x into main 2022-05-13 18:07:04 +00:00
David L. Jones
b3cbea18ea
[Bazel] Move Python rules to //python (#9952) 2022-05-12 19:48:58 -07:00
Deanna Garcia
bb7e5824b2 Pin googleapis-common-protos to most recent version 2022-05-12 20:39:50 +00:00