Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a python bug when assign an empty Struct at creation. #18977

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

anandolee
Copy link
Contributor

@anandolee anandolee commented Oct 24, 2024

PiperOrigin-RevId: 689211445

cherry-pick 47613cf

@anandolee anandolee requested a review from a team as a code owner October 24, 2024 05:20
@anandolee anandolee requested review from ericsalo, mkruskal-google and zhangskz and removed request for a team and ericsalo October 24, 2024 05:20
@zhangskz zhangskz added the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Oct 24, 2024
@zhangskz zhangskz enabled auto-merge (squash) October 24, 2024 14:01
@zhangskz
Copy link
Member

Cherry-pick to 25.x as well?

@github-actions github-actions bot removed the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Oct 24, 2024
@zhangskz zhangskz merged commit bb0d575 into protocolbuffers:29.x Oct 24, 2024
175 of 177 checks passed
@anandolee
Copy link
Contributor Author

25.x does not have this issue. It is only introduced since 28

@zhangskz
Copy link
Member

Thanks for confirming!

dongjoon-hyun pushed a commit to apache/spark that referenced this pull request Dec 16, 2024
### What changes were proposed in this pull request?
This PR aims to upgrade protobuf Python package from 5.28.3 to 5.29.1.

### Why are the changes needed?
To bring the latest bug fixes, such as
- Fix a python bug when assign an empty Struct at creation. (protocolbuffers/protobuf#18977) (protocolbuffers/protobuf@bb0d575), this one only introduced since 5.28.x
- Fix cord handling in DynamicMessage and oneofs. (protocolbuffers/protobuf@9e8b30c)
- Fix packed reflection handling bug in edition 2023. (protocolbuffers/protobuf@4c92328)
- Fix ContainerBase::DeepCopy to not modify the source object. (protocolbuffers/protobuf@9fa1f4f)

Full release notes as follows:
- https://github.com/protocolbuffers/protobuf/releases/tag/v29.0-rc1
- https://github.com/protocolbuffers/protobuf/releases/tag/v29.0-rc2
- https://github.com/protocolbuffers/protobuf/releases/tag/v29.0-rc3
- https://github.com/protocolbuffers/protobuf/releases/tag/v29.0
- https://github.com/protocolbuffers/protobuf/releases/tag/v29.1
- https://pypi.org/project/protobuf/5.29.1/

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Pass Github Actions

### Was this patch authored or co-authored using generative AI tooling?
No

Closes #49170 from LuciferYang/protobuf-python-5.29.1.

Lead-authored-by: yangjie01 <yangjie01@baidu.com>
Co-authored-by: YangJie <yangjie01@baidu.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants