Commit graph

840 commits

Author SHA1 Message Date
Mike Kruskal
032c9c8ada Internal changes
PiperOrigin-RevId: 493986824
2022-12-08 13:54:37 -08:00
Protobuf Team Bot
99eb7fa891 Updating version.json and repo version numbers to: 21.11 2022-12-08 12:43:26 -08:00
Jie Luo
ea1c922d75 Internal change only
PiperOrigin-RevId: 493925498
2022-12-08 10:05:11 -08:00
Jie Luo
b9eb6bf759 Internal change only
PiperOrigin-RevId: 493742523
2022-12-07 16:39:19 -08:00
Mike Kruskal
9d5dc6c9ec Internal changes
PiperOrigin-RevId: 493456444
2022-12-06 17:28:11 -08:00
Jie Luo
0822add4d4 Internal change only
PiperOrigin-RevId: 493165757
2022-12-05 18:18:17 -08:00
Jie Luo
9e12e81bc2 Remove required fields in protobuf python test protos
PiperOrigin-RevId: 493096286
2022-12-05 13:27:57 -08:00
Jorg Brown
bab8ec343b Merge release branch 21.x in to main 2022-12-02 16:51:02 -08:00
Mike Kruskal
3bc50497eb Bump upb version and refactor python compatibility.
This pulls in updates to system_python, which allows for better handling of our non-hermetic setup.  Specifically, our python tests are marked incompatible on systems without a python installation.  This will cause them to get skipped by wildcard expansions (which is why we add 1 explicit target to the kokoro builds).

PiperOrigin-RevId: 492286518
2022-12-01 13:36:49 -08:00
Mike Kruskal
129c3a4697 Fix copybara transformations for Python/C++ code.
PiperOrigin-RevId: 492014560
2022-11-30 14:17:12 -08:00
Jie Luo
24743cd6c7 Remove _SetType from python api_implementation.py
PiperOrigin-RevId: 492000386
2022-11-30 14:12:45 -08:00
Jie Luo
3d3bebf8ab Internal change only
PiperOrigin-RevId: 491993057
2022-11-30 12:50:31 -08:00
Protobuf Team Bot
11bc195441 Updating version.json and repo version numbers to: 21.10 2022-11-29 13:28:19 -08:00
Protobuf Team Bot
ed63a2c7e4 Updating version.json and repo version numbers to: 21.10-rc0 2022-11-28 16:17:34 -08:00
Eric Salo
4ac90bbb69 add unit test for recent upb bug fix
PiperOrigin-RevId: 490642761
2022-11-23 20:41:07 -08:00
Deanna Garcia
5251a44893 Upgrade rules_python to newest version.
This requires moving off the soon to be deprecated pip_install to pip_parse and pinning the numpy version

PiperOrigin-RevId: 490345714
2022-11-22 15:02:41 -08:00
Protobuf Team Bot
b141bf9b1e protobuf: Improve error message while constructing messages in Python.
"Value is not iterable" is sometimes not that helpful. Lets at least mention the field name.

PiperOrigin-RevId: 489485451
2022-11-18 08:48:06 -08:00
Karol M. Langner
6e75fa152e Add repeated and nested message fields to deprecated test proto
PiperOrigin-RevId: 489237987
2022-11-17 10:00:47 -08:00
Jie Luo
3b4c4d0123 Remove syntax usage in test_util.py
PiperOrigin-RevId: 488977024
2022-11-16 10:30:46 -08:00
Mike Kruskal
a13c2fbc9e Internal change
PiperOrigin-RevId: 487925995
2022-11-11 15:04:20 -08:00
Andrii Oriekhov
21815faf0f Copybara import of the project:
--
2daf4262a1 by Andrii Oriekhov <andriyorehov@gmail.com>:

add GitHub URL for PyPi

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/10841 from andriyor:patch-1 2daf4262a1
PiperOrigin-RevId: 487868530
2022-11-11 11:06:32 -08:00
645775992
c1a42b34e5 Copybara import of the project:
--
c348d1896d by 645775992 <645775992@qq.com>:

update sphinx 2.3.1 to 3.0.4

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/10962 from 645775992:oscs_fix_cdmguj0au51seiv9qjng c348d1896d
PiperOrigin-RevId: 487858789
2022-11-11 10:31:20 -08:00
Mike Kruskal
e19c2606b3 Internal changes
PiperOrigin-RevId: 487447243
2022-11-09 23:45:35 -08:00
Jie Luo
f6f7046725 Use has_presence instead of syntax check in text_format.
Remove syntax check in descriptor_test.py

PiperOrigin-RevId: 487362335
2022-11-09 15:23:46 -08:00
Mike Kruskal
53e4fa3279 Internal change
PiperOrigin-RevId: 487029109
2022-11-08 12:57:46 -08:00
Jie Luo
da9de8d4d4 Added is_closed to EnumDescriptor in protobuf python
PiperOrigin-RevId: 486274963
2022-11-04 18:34:08 -07:00
Jie Luo
9b725fb9a3 use FieldDescriptor.has_presence instead of file.syntax in python_message.py
PiperOrigin-RevId: 486254134
2022-11-04 16:17:40 -07:00
Mike Kruskal
97c0f376f6 Internal changes
PiperOrigin-RevId: 485917621
2022-11-03 10:56:35 -07:00
Mike Kruskal
d934383117 Internal changes
PiperOrigin-RevId: 485912044
2022-11-03 10:39:56 -07:00
Jie Luo
5fc9c37208 Internal change
PiperOrigin-RevId: 485680539
2022-11-02 13:32:35 -07:00
Joshua Haberman
0ff26563c9 Enable the Copybara sync for all files.
PiperOrigin-RevId: 485351777
2022-11-01 10:19:37 -07:00
Mike Kruskal
6e2102c8e3 Internal change
PiperOrigin-RevId: 485200609
2022-10-31 18:55:34 -07:00
Mike Kruskal
0890984ce6 Internal change
PiperOrigin-RevId: 485191150
2022-10-31 17:49:40 -07:00
Mike Kruskal
0eb9504485 Internal change
PiperOrigin-RevId: 485179950
2022-10-31 16:47:12 -07:00
Adam Cozzette
240986d66d
Merge pull request #10829 from protocolbuffers/main-202210261725
Merge 21.x into main
2022-10-27 07:22:38 -07:00
Adam Cozzette
2225f8ebbb Merge release branch 21.x into main 2022-10-27 12:52:20 +00:00
Mike Kruskal
0ab63a7699 Sync from Piper @484138213
PROTOBUF_SYNC_PIPER
2022-10-26 20:10:29 -07:00
Protobuf Team Bot
0135eb0e52 Updating version.json and repo version numbers to: 21.9 2022-10-26 09:08:51 -07:00
Mike Kruskal
91c1e7c058 Sync from Piper @483688977
PROTOBUF_SYNC_PIPER
2022-10-25 09:19:55 -07:00
Mike Kruskal
449b6e860f Fixing merge issues 2022-10-24 14:54:43 -07:00
Mike Kruskal
1a238479d8 Merge tag 'refs/tags/sync-piper' into sync-stage
# Conflicts:
#	build_defs/cpp_opts.bzl
2022-10-19 16:57:04 -07:00
Mike Kruskal
407aa2d931 Sync from Piper @482325250
PROTOBUF_SYNC_PIPER
2022-10-19 16:10:10 -07:00
Mike Kruskal
c302d90db5
Merge 21.8 into main (#10788)
* Force uninstall protobuf in python macos builds

We are seeing failures in brew uninstall protobuf due to no package. Change this to a force install to avoid the error.

* Fix spelling errors (#10717)

* Merge pull request #10200 from tonydnewell/bugfix/protobuf-7474

Fix for grpc.tools #17995 & protobuf #7474 (handle UTF-8 paths in argumentfile)

* Upgrade to kotlin 1.6

* 21.x No longer define no_threadlocal on OpenBSD

* Upgrade kokoro to Xcode 14 (#10732)

* Upgrade kokoro to Xcode 14

* Fix osx errors

* Merge pull request #10770 from protocolbuffers/googleberg-cl-480629524

Mark default instance as immutable first to avoid race during static initialization of default instances.

* Auto capitalize enums name in Ruby (#10454) (#10763)

This closes #1965.

* Edit toolchain to work with absl dep

* Bump upb to latest version after fixes applied (#10783)

* 21.x 202210180838 (#10785)

* Updating version.json and repo version numbers to: 21.8

* Update changelog

Co-authored-by: Protobuf Team Bot <protobuf-team-bot@google.com>

* Update generated protos

Co-authored-by: deannagarcia <69992229+deannagarcia@users.noreply.github.com>
Co-authored-by: Matt Fowles Kulukundis <matt.fowles@gmail.com>
Co-authored-by: Deanna Garcia <deannagarcia@google.com>
Co-authored-by: Brad Smith <brad@comstyle.com>
Co-authored-by: Jerry Berg <107155935+googleberg@users.noreply.github.com>
Co-authored-by: tison <wander4096@gmail.com>
Co-authored-by: Protobuf Team Bot <protobuf-team-bot@google.com>
2022-10-19 08:28:05 -07:00
Mike Kruskal
591fe403c9
21.x 202210180838 (#10785)
* Updating version.json and repo version numbers to: 21.8

* Update changelog

Co-authored-by: Protobuf Team Bot <protobuf-team-bot@google.com>
2022-10-18 09:29:11 -07:00
Mike Kruskal
23f1481386 Sync from Piper @480194141
PROTOBUF_SYNC_PIPER
2022-10-10 21:05:53 -07:00
Mike Kruskal
eb6ebf9dd0 Sync from Piper @479479714
PROTOBUF_SYNC_PIPER
2022-10-06 22:08:39 -07:00
Mike Kruskal
32bea52ee6 Sync from Piper @mkruskal/protobuf-absl
PROTOBUF_SYNC_PIPER
2022-10-06 16:48:39 -07:00
zhangskz
edb7ef962d
Add numpy_test.py and numpy dep to WORKSPACE (#10722)
* Add numpy_test.py and numpy dep to WORKSPACE
* Add numpy to aarch64 setup, which doesn't use bazel
2022-10-05 17:45:16 -04:00
deannagarcia
1085f8528a
Fix spelling errors (#10717) 2022-10-04 16:43:28 -04:00
Sandy Zhang
47ef2697a1 Merge remote-tracking branch 'upstream/21.x' into main-202209301431 2022-09-30 16:48:25 +00:00