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

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


Branch: CURRENT, Version: 5.28.2, Package name: py312-protobuf-5.28.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:

Filesize: 412.592 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-06 02:01:05 by Ryo ONODERA | Files touched by this commit (1)
Log message:
devel/py-protobuf: Do not hardcode Python 3.11
   2024-04-05 15:55:23 by Thomas Klausner | Files touched by this commit (6) | Package updated
Log message:
{py-,}protobuf: update to {5.,}26.1

This version includes breaking changes to: Java, PHP, C++, Ruby, Python.
   2024-02-16 14:41:11 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
protobuf py-protobuf: updated to (4.)25.3

Protocol Buffers v25.3

Apple Privacy Manifest Requirement

[CPP] Add the privacy manifest to the C++ CocoaPod. (9d1bc10)
[ObjC] Add the privacy manifest to the ObjC CocoaPod. (cec08dc)
Add PrivacyInfo.xcprivacy

C++

Remove use of mach_absolute_time

Objective-C

[ObjC] Use a local to avoid warnings in 32bit builds. (9dc736d)

Python

Bump python version to 3.9 for gcloud 460.0.0 (17ec19d)

Ruby

Update Ruby GHA to test against Ruby 3.3. (25b1e81)
Pin bundler version to 2.4.22 for Ruby 2.7 support
   2024-01-10 21:52:51 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
protobuf py-protobuf: updated to (4.)25.2
   2023-11-16 07:15:46 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
protobuf py-protobuf: updated to [4.]25.1

Protocol Buffers v25.1

Announcements

Protobuf News may include additional announcements or pre-announcements for \ 
upcoming changes.

Python

Raise warnings for deprecated python syntax usages (74f5cf4)

Ruby

Add support for extensions in CRuby, JRuby, and FFI Ruby
Add support for options in CRuby, JRuby and FFI
   2023-11-15 19:12:24 by Thomas Klausner | Files touched by this commit (6) | Package updated
Log message:
*protobuf: update to 25.0 branch

Compiler

    Implement proto2/proto3 with editions (3813b66)
    Defines Protobuf compiler version strings as macros and separates out suffix \ 
string definition. (3c59585)
    Add utf8_validation feature back to the global feature set. (153028d)
    Setting up version updater to prepare for poison pills and embedding version \ 
info into C++, Python and Java gencode. (4322e00)
    Merge the protobuf and upb Bazel repos (7286ffc)
    Editions: Introduce functionality to protoc for generating edition feature \ 
set defaults. (4019e25)
    Editions: Migrate edition strings to enum in C++ code. (f083ebf)
    Create a reflection helper for ExtensionIdentifier. (4d5ab73)
    Editions: Provide an API for C++ generators to specify their features. (e897bcf)
    Editions: Refactor feature resolution to use an intermediate message. (57d8049)
    Publish extension declarations with declaration verifications. (e72b0e1)
    Editions: Stop propagating partially resolved feature sets to plugins. (b66ef4c)
    Editions: Migrate string_field_validation to a C++ feature (1f95830)
    Editions: Include defaults for any features in the generated pool. (15863ff)
    Protoc: parser rejects explicit use of map_entry option (#13479) (8f59292)
    Protoc: validate that reserved range start is before end (#13474) (3be00f7)
    Protoc: support identifiers as reserved names in addition to string literals \ 
(only in editions) (#13471) (e701f4f)
    Drop support for Bazel 5. (a80daa2)
    Allow code generators to specify whether or not they support editions. (2176a14)

C++

    Set PROTOBUF_EXPORT on InternalOutOfLineDeleteMessageLite() (#14434) (db89a51)
    Update stale checked-in files (#14431) (ada0be8)
    Apply PROTOBUF_NOINLINE to declarations of some functions that want it. (6e848b0)
    Implement proto2/proto3 with editions (3813b66)
    Make JSON UTF-8 boundary check inclusive of the largest possible UTF-8 \ 
character. (e80b8ec)
    Reduce Map::size_type to 32-bits. Protobuf containers can't have more than \ 
(95d2b2e)
    Defines Protobuf compiler version strings as macros and separates out suffix \ 
string definition. (3c59585)
    Add ABSL_ATTRIBUTE_LIFETIME_BOUND attribute on generated oneof accessors. \ 
(e33e0d2)
    Fix bug in reflection based Swap of map fields. (bef5b75)
    Add utf8_validation feature back to the global feature set. (153028d)
    Setting up version updater to prepare for poison pills and embedding version \ 
info into C++, Python and Java gencode. (4322e00)
    Add prefetching to arena allocations. (fbdeb5a)
    Merge the protobuf and upb Bazel repos (7286ffc)
    Add ABSL_ATTRIBUTE_LIFETIME_BOUND attribute on generated repeated and map \ 
field accessors. (9a0a3cf)
    Editions: Migrate edition strings to enum in C++ code. (f083ebf)
    Workaround ICE on gcc 7.5 by not having one overload call the other one with \ 
a (0522054)
    Create a reflection helper for ExtensionIdentifier. (4d5ab73)
    Editions: Provide an API for C++ generators to specify their features. (e897bcf)
    Add ABSL_ATTRIBUTE_LIFETIME_BOUND attribute on generated string field \ 
accessors. (18c338a)
    Editions: Refactor feature resolution to use an intermediate message. (57d8049)
    Fixes for 32-bit MSVC. (66cf6b1)
    Publish extension declarations with declaration verifications. (e72b0e1)
    Export the constants in protobuf's any.h to support DLL builds. (fd24b1b)
    Implement AbslStringify for the Descriptor family of types. (230232a)
    Add ABSL_ATTRIBUTE_LIFETIME_BOUND attribute on generated message field \ 
accessors. (064035c)
    Editions: Stop propagating partially resolved feature sets to plugins. (b66ef4c)
    Editions: Migrate string_field_validation to a C++ feature (1f95830)
    Editions: Include defaults for any features in the generated pool. (15863ff)
    Introduce C++ feature for UTF8 validation. (c7119e6)
    Protoc: validate that reserved range start is before end (#13474) (3be00f7)
    Remove option to disable the table-driven parser in protoc. (6d03f9b)
    Lock down ctype=CORD in proto file. (b359e50)
    Support split repeated fields. (5b5e5bf)
    In OSS mode omit some extern template specializations. We have seen reports \ 
of (ab96824)
    Automated rollback of commit adb2c4b. (0ea0052)
    Allow code generators to specify whether or not they support editions. (2176a14)
    Handle conflicting macros for FreeBSD (#13303) (2a95295)

Python

    Fixed Python memory leak in map lookup. (1711ebd)
    Loosen upb for json name conflict check in proto2 between json name and \ 
field (41af1d5)
    Defines Protobuf compiler version strings as macros and separates out suffix \ 
string definition. (3c59585)
    Add ABSL_ATTRIBUTE_LIFETIME_BOUND attribute on generated oneof accessors. \ 
(e33e0d2)
    Ensure Timestamp.ToDatetime(tz) has correct offset (f0c56f9)
    Do not check required field for upb python MergeFrom (1e0bc56)
    Setting up version updater to prepare for poison pills and embedding version \ 
info into C++, Python and Java gencode. (4322e00)
    Merge the protobuf and upb Bazel repos (7286ffc)
    Comparing a proto message with an object of unknown returns NotImplemented \ 
(12d4f41)
    Emit slots in pyi output as a tuple rather than a list for --pyi_out. (4a4f615)
    Fix a bug that strips options from descriptor.proto in Python. (27d42c5)
    Raise warings for message.UnknownFields() usages and navigate to the new add \ 
(c988759)
    Add protobuf python keyword support in path for stub generator. Also added \ 
tests for (4cc258a)
    Add tuple support to set Struct (533fbbb)

Python C-Extension (Default)

    Comparing a proto message with an object of unknown returns NotImplemented \ 
(protocolbuffers/upb@243add4)
    See also UPB changes below, which may affect Python C-Extension (Default).
   2023-11-02 22:42:59 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-protobuf: fix PLIST
   2023-11-02 13:17:26 by Thomas Klausner | Files touched by this commit (9) | Package updated
Log message:
{,py-}protobuf: update to 24.4

Based on wip package by bsiegert.

Ten months of heavy development.