Commit Graph

18 Commits

Author SHA1 Message Date
Avasam
ce049d505f Bump protobuf to 5.26.* (#11784)
Also update generate_proto_stubs script
2024-04-19 09:01:50 +02:00
Alex Waygood
60789273a2 Improve pyright verification of third-party test cases in CI (#9650)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2023-02-07 11:53:54 +00:00
Ilya Konstantinov
578cebe1c5 protobuf: Annotate well_known_types.pyi (#9323)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-12-05 18:49:55 +00:00
Nikita Sobolev
c0e9038f0d Fix and allow classes with missing metaclasses (#9136) 2022-11-08 18:13:59 +00:00
Brendan Graham
f4ef058169 google.protobuf: Add an __init__ stub to fix type checking (#8982) 2022-10-25 13:20:43 -07:00
Alex Waygood
97c935a3fe Fix protobuf stubtest errors (#8758) 2022-09-18 17:47:36 -07:00
Alex Waygood
246f7e7720 protobuf: fix stubtest errors (#8735) 2022-09-14 21:45:29 -07:00
Nipunn Koorapati
c17c0d5607 Bump protobuf to 3.20.1 (#8609)
There are even newer versions available (4.*), but I had found a bug
in it which prevented it from working with mypy-protobuf. For now,
sticking to just 3.20.1
2022-08-25 13:28:08 +01:00
Alex Waygood
43f923b6c2 protobuf: Delete some __new__ and __init__ methods (#8088) 2022-06-16 17:10:14 +02:00
Nipunn Koorapati
96a09f6a35 protobuf: Bring back Message.Extensions (#7154) 2022-02-08 13:51:41 +01:00
Aaron Sykes
ebcdcfa24e Makes DESCRIPTOR non nullable again (#7125)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-02-04 22:05:58 +02:00
Nipunn Koorapati
90f5422df7 Add/fix types to a bunch of non-generated protobuf files (#7017) 2022-02-02 12:30:39 +01:00
Nipunn Koorapati
aa885ecd65 Flatten stubtest_allowlist for protobuf generated files (#6944)
I added stubtest testing for generated files within mypy-protobuf.
There are many ways in which the protobuf code is doing *weird*
things and we want the stubs to look a bit different. They're enumerated
in the `stubtest_allowlist.txt` of mypy-protobuf, so squashing them here
so that this one can focus on the non-generated files.
2022-01-18 06:58:48 -08:00
Nipunn Koorapati
fc4ba3ac64 Bump protobuf to 3.19.2 (#6879) 2022-01-10 10:03:41 +01:00
Sebastian Rittau
5b668419ae Fix MutableMapping overrides (#6352) 2021-11-21 07:04:40 -08:00
Nipunn Koorapati
581b2d5180 Update protobuf generated stubs from mypy-protobuf 2.8 (#5804) 2021-07-23 16:21:26 -07:00
Nipunn Koorapati
42eec29eed Update proto stubs with latest mypy-protobuf 2.6 (#5753) 2021-07-10 17:10:39 -07:00
Shantanu
7244ea1f71 Test third party stubs with stubtest (#5615) 2021-06-13 00:17:40 +02:00