Jens~

Yes, we keep the numbers in sync so that python 4.23.3 is protoc 23.3 (and
similar for all other languages).

Sorry, I don't know the version that is used by the Google common API
python package.

Matt

On Sun, Jul 9, 2023 at 9:42 PM Jens Troeger <[email protected]> wrote:

> Thank you, Matthew, that helps!
>
> Can I assume that Python’s protobuf package *v4.23.3* correlates with
> Protocol Buffers language *v23.3*?
>
> I wasn’t able to find the documentation for gRPC version ⇔ Protocol
> Buffers version yet, so I asked in the grpc-io group
> <https://groups.google.com/g/grpc-io/c/MnF8rgMVMDU>.
>
> Then there is the question of Google API common protos
> <https://github.com/googleapis/api-common-protos> (and its Python package
> <https://github.com/googleapis/python-api-common-protos>), and which
> version those work with… 🤔 Are you familiar with that?
>
> Cheers,
> Jens
>
> On Friday, July 7, 2023 at 12:12:54 AM UTC+10 Matthew Fowles Kulukundis
> wrote:
>
>> Jens~
>>
>> Speaking for protobuf, these are semantic versions.  The best practice is
>> to always regenerate your code.  The official guarantees provided for using
>> stale generated code are documented at
>> https://protobuf.dev/support/cross-version-runtime-guarantee/.
>>
>> gRPC is usually validated to work with a particular release of protobuf
>> and you would be well advised to use the release that it recommends.  I do
>> not know what official guarantees they provide.
>>
>> Cheers,
>> Matt
>>
>>
>>
>> On Thu, Jul 6, 2023 at 12:20 AM Jens Troeger <[email protected]> wrote:
>>
>>> Hello,
>>>
>>> I’m a little confused by the various version numbers used by different
>>> packages, and would like to find some clarity as to which versions can go
>>> together and which don’t:
>>>
>>>    - protocol buffers exist in a version 2
>>>    <https://protobuf.dev/programming-guides/proto2/> and a version 3
>>>    <https://protobuf.dev/programming-guides/proto3/>
>>>    - the current protobuf release is v23.3
>>>    <https://github.com/protocolbuffers/protobuf/releases>
>>>    - the current Python package is v4.23.3
>>>    <https://pypi.org/project/protobuf/4.23.3/>
>>>
>>> Then there is the gRPC side of things:
>>>
>>>    - gRPC is currently in v1.56.0 <https://github.com/grpc/grpc> (I
>>>    suspect the version applies across languages)
>>>    - gRPC tools as well (different packages built from the same repo)
>>>
>>> Not sure if these are semantic versions <https://semver.org/> or not.
>>>
>>> How does updating the protobuf package(s) interplay with updating the
>>> gRPC packages? Or — which protobuf works with with gRPC version?
>>>
>>> And how does updating the packages impact existing implementation and
>>> compiled code?
>>>
>>> Any insight would be greatly appreciated! Thank you,
>>> Jens
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Protocol Buffers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/protobuf/6eaf9531-254e-42e3-9a63-b3dc5a0a8a5cn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/protobuf/6eaf9531-254e-42e3-9a63-b3dc5a0a8a5cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/protobuf/4a8f0d12-cfd2-4350-adad-b4fc362664a0n%40googlegroups.com
> <https://groups.google.com/d/msgid/protobuf/4a8f0d12-cfd2-4350-adad-b4fc362664a0n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/CAMiELU36OoHZKafp%2B4oyh8G7k_u8A3okTMZac4S-8DSwmJpwEw%40mail.gmail.com.

Reply via email to