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

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


Branch: CURRENT, Version: 3.11.0, Package name: py37-protobuf-3.11.0, 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: 6c5e69b53a44288af447887e1a5d66c0ad8b7d12
RMD160: fc080b298f96541462cadd37b23b81f0fb880d6a
Filesize: 258.032 KB

Version history: (Expand)


CVS history: (Expand)


   2019-11-26 19:59:31 by Adam Ciarcinski | Files touched by this commit (5) | Package updated
Log message:
protobuf: updated to 3.11.0

Protocol Buffers v3.11.0

C++
Make serialization method naming consistent
Make proto runtime + generated code free of deprecation warnings
Moved ShutdownProtobufLibrary() to message_lite.h. For backward compatibility a \ 
declaration is still available in stubs/common.h, but users should prefer \ 
message_lite.h
Removed non-namespace macro EXPECT_OK()
Removed mathlimits.h from stubs in favor of using std::numeric_limits from C++11
Fixed bug in parser when ending on a group tag
Add a helper function to UnknownFieldSet to deal with the changing return value \ 
of message::unknown_fields()
Fix incorrect use of string_view iterators
Support direct pickling of nested messages
Skip extension tag validation for MessageSet if unknown dependencies are allowed
Updated deprecation macros to annotate deprecated code
Remove conversion warning in MapEntryFuncs::ByteSizeLong
Revert "Make shared libraries be able to link to MSVC static runtime \ 
libraries, so that VC runtime is not required."

Python
Add float_precision option in json format printer
Optionally print bytes fields as messages in unknown fields, if possible
FieldPath: fix testing IsSet on root path ''
Experimental code gen (fast import protobuf module) which only work with cpp \ 
generated code linked in
   2019-10-04 13:13:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-protobuf: updated to 3.10.0

3.10.0:
Add descriptor methods in descriptor_pool are deprecated.
Uses explicit imports to prevent multithread test failures in py3.
Added delitem for Python extension dict
Update six version to 1.12.0 and fix legacy_create_init issue
   2019-08-09 11:06:34 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
[py-]protobuf: updated to 3.9.1

Protocol Buffers v3.9.1
Python
Drop building wheel for python 3.4
   2019-07-12 21:57:37 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-protobuf: updated to 3.9.0

Protocol Buffers v3.9.0

Python

Change implementation of Name() for enums that allow aliases in proto2 in Python
to be in line with claims in C++ implementation (to return first value).
Explicitly say what field cannot be set when the new value fails a type check.
Duplicate register in descriptor pool will raise errors
Add slots to all well_known_types classes, custom attributes are not allowed anymore.
text_format only present 8 valid digits for float fields by default
   2019-05-29 16:49:01 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-protobuf: updated to 3.8.0

Protocol Buffers v3.8.0
Python
Changes implementation of Name() for enums that allow aliases in proto2 in \ 
Python to be in line with claims in C++ implementation (to return first value).
Added double_format option in text format printer.
Added iter and contains to extension dict
Added allow_unknown_field option in python text format parser
Fixed Timestamp.ToDatetime() loses precision issue
Support unknown field in text format printer.
Float field will be convert to inf if bigger than struct.unpack('f', \ 
b'\xff\xff\x7f\x7f')[0] which is about 3.4028234664e+38,
convert to -inf if smaller than -3.4028234664e+38
Allowed casting str->bytes in Message.setstate
   2019-04-01 14:36:41 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
protobuf: updated to 3.7.1

Protocol Buffers v3.7.1:
C++
Avoid linking against libatomic in prebuilt protoc binaries
Avoid marking generated C++ messages as final, though we will do this in a \ 
future release
Miscellaneous build fixes
   2019-03-21 22:29:08 by Adam Ciarcinski | Files touched by this commit (14) | Package removed
Log message:
py-protobuf: updated to 3.7.0

version 3.7.0:
Python
* Added Python 3.7 compatibility.
* Modified ParseFromString to return bytes parsed .
* Introduce Proto C API.
* FindFileContainingSymbol in descriptor pool is now able to find field and enum \ 
values.
* reflection.MakeClass()  and  reflection.ParseMessage() are deprecated.
* Added DescriptorPool.FindMethodByName() method in pure python (c extension \ 
alreay has it)
* Flipped proto3 to preserve unknown fields by default.
* Added support for memoryview in python3 proto message parsing.
* Added MergeFrom for repeated scalar fields in c extension (pure python already \ 
has it)
* Surrogates are now rejected at setters in python3.
* Added public unknown field API.
* RecursionLimit is also set to max if allow_oversize_protos is enabled.
* Disallow duplicate scalars in proto3 text_format parse.
* Fix some segment faults for c extension map field.
   2019-01-08 06:56:19 by Mark Davies | Files touched by this commit (19)
Log message:
{py-,}protobuf: don't share the patches directory
some patches only apply to py-protobuf.