./devel/py-protobuf, Python bindings for protobuf

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.15.2, Package name: py38-protobuf-3.15.2, Maintainer: pkgsrc-users

Protocol Buffers are a way of encoding structured data in an efficient yet
extensible format. Google uses Protocol Buffers for almost all of its internal
RPC protocols and file formats.

This package contains Python bindings for the Protocol Buffers.


Required to run:
[devel/py-setuptools] [devel/protobuf] [lang/py-six] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 80870e2168715dcaaef3ab7cf42b13c7660b21d0
RMD160: 0ac4054c34efa021eb1f696e5c1286bda3266991
Filesize: 223.387 KB

Version history: (Expand)


CVS history: (Expand)


   2021-02-24 10:45:10 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
protobuf py-protobuf: updated to 3.15.2

Protocol Buffers v3.15.2

C++

Fix PROTOBUF_CONSTINIT macro redefinition
   2021-02-20 21:12:53 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
protobuf py-protobuf: updated to 3.15.1

Protocol Buffers v3.15.1

C++

Small fixes for MinGW and for C++20 with GCC
   2021-02-19 07:04:01 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
protobuf py-protobuf: updated to 3.15.0

Protocol Buffers v3.15.0

Protocol Compiler

Optional fields for proto3 are enabled by default, and no longer require
the --experimental_allow_proto3_optional flag.

C++

MessageDifferencer: fixed bug when using custom ignore with multiple
unknown fields
Use init_seg in MSVC to push initialization to an earlier phase.
Runtime no longer triggers -Wsign-compare warnings.
Fixed -Wtautological-constant-out-of-range-compare warning.
DynamicCastToGenerated works for nullptr input for even if RTTI is disabled
Arena is refactored and optimized.
Clarified/specified that the exact value of Arena::SpaceAllocated() is an
implementation detail users must not rely on. It should not be used in
unit tests.
Change the signature of Any::PackFrom() to return false on error.
Add fast reflection getter API for strings.
Constant initialize the global message instances
Avoid potential for missed wakeup in UnknownFieldSet
Now Proto3 Oneof fields have "has" methods for checking their presence in
C++.
Bugfix for NVCC
Return early in _InternalSerialize for empty maps.
Adding functionality for outputting map key values in proto path logging
output (does not affect comparison logic) and stop printing 'value' in the
path. The modified print functionality is in the
MessageDifferencer::StreamReporter.
Ensure that null char symbol, package and file names do not result in a
crash.
Constant initialize the global message instances
Pretty print 'max' instead of numeric values in reserved ranges.
Removed remaining instances of std::is_pod, which is deprecated in C++20.
Changes to reduce code size for unknown field handling by making uncommon
cases out of line.
Fix std::is_pod deprecated in C++20
Fix some -Wunused-parameter warnings
Fix detecting file as directory on zOS issue 8051
Don't include sys/param.h for _BYTE_ORDER
remove CMAKE_THREAD_LIBS_INIT from pkgconfig CFLAGS
Fix TextFormatMapTest.DynamicMessage issue 5136
Fix for compiler warning issue 8145
fix: support deprecated enums for GCC < 6
Fix some warning when compiling with Visual Studio 2019 on x64 target

Python

Provided an override for the reverse() method that will reverse the internal
collection directly instead of using the other methods of the BaseContainer.
MessageFactory.CreateProtoype can be overridden to customize class creation.
Fix PyUnknownFields memory leak
Add macOS big sur compatibility
   2020-11-14 15:08:16 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-protobuf: updated to 3.14.0

Protocol Buffers v3.14.0

Python

Print google.protobuf.NullValue as null instead of "NULL_VALUE" when it is
used outside WKT Value/Struct.
Fix bug occurring when attempting to deep copy an enum type in python 3.
Add a setuptools extension for generating Python protobufs
Remove uses of pkg_resources in non-namespace packages.
[bazel/py] Omit google/init.py from the Protobuf runtime.
Removed the unnecessary setuptools package dependency for Python package
Fix PyUnknownFields memory leak
   2020-09-01 01:07:07 by Thomas Klausner | Files touched by this commit (62)
Log message:
*: switch to versioned_dependencies.mk for py-setuptools
   2020-08-21 13:29:19 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
protobuf py-protobuf: updated to 3.13.0

Protocol Buffers v3.13.0

C++

Removed deprecated unsafe arena string accessors
Enabled heterogeneous lookup for std::string keys in maps.
Removed implicit conversion from StringPiece to std::string
Fix use-after-destroy bug when the Map is allocated in the arena.
Improved the randomness of map ordering
Added stack overflow protection for text format with unknown fields
Use std::hash for proto maps to help with portability.
Added more Windows macros to proto whitelist.
Arena constructors for map entry messages are now marked "explicit"
(for regular messages they were already explicit).
Fix subtle aliasing bug in RepeatedField::Add
Fix mismatch between MapEntry ByteSize and Serialize with respect to unset
fields.

Python

JSON format conformance fixes:
Reject lowercase t for Timestamp json format.
Print full_name directly for extensions (no camelCase).
Reject boolean values for integer fields.
Reject NaN, Infinity, -Infinity that is not quoted.
Base64 fixes for bytes fields: accept URL-safe base64 and missing padding.
Bugfix for fields/files named "async" or "await".
Improved the error message when AttributeError is returned from getattr
in EnumTypeWrapper.
   2020-08-08 20:00:19 by Joerg Sonnenberger | Files touched by this commit (1)
Log message:
Unbreak build by adding necessary dependencies.
   2020-07-30 09:02:40 by Adam Ciarcinski | Files touched by this commit (5) | Package updated
Log message:
protobuf py-protobuf: updated to 3.12.4

3.12.4:
Unknown changes

3.12.3:
Objective-C
* Tweak the union used for Extensions to support old generated code.