Thanks to visit codestin.com
Credit goes to github.com

Skip to content

AttributeError: module 'google._upb._message' has no attribute 'MessageMapContainer' #444

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

Closed
parthea opened this issue Apr 19, 2024 · 1 comment
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@parthea
Copy link
Contributor

parthea commented Apr 19, 2024

With protobuf==5.27.0rc1 released today, error AttributeError: module 'google._upb._message' has no attribute 'MessageMapContainer' appears in pre-release tests in google-cloud-python. See googleapis/google-cloud-python#12594 and build log.

_ ERROR collecting tests/unit/gapic/storage_control_v2/test_storage_control.py _
tests/unit/gapic/storage_control_v2/test_storage_control.py:48: in <module>
    from proto.marshal.rules import wrappers
.nox/prerelease_deps/lib/python3.12/site-packages/proto/__init__.py:15: in <module>
    from .enums import Enum
.nox/prerelease_deps/lib/python3.12/site-packages/proto/enums.py:19: in <module>
    from proto import _file_info
.nox/prerelease_deps/lib/python3.12/site-packages/proto/_file_info.py:24: in <module>
    from proto.marshal.rules.message import MessageRule
.nox/prerelease_deps/lib/python3.12/site-packages/proto/marshal/__init__.py:15: in <module>
    from .marshal import Marshal
.nox/prerelease_deps/lib/python3.12/site-packages/proto/marshal/marshal.py:25: in <module>
    from proto.marshal import compat
.nox/prerelease_deps/lib/python3.12/site-packages/proto/marshal/compat.py:43: in <module>
    map_composite_types += (_message.MessageMapContainer,)
E   AttributeError: module 'google._upb._message' has no attribute 'MessageMapContainer'
@parthea parthea added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p2 Moderately-important priority. Fix may not be included in next release. status: investigating The issue is under investigation, which is determined to be non-trivial. labels Apr 19, 2024
@parthea parthea self-assigned this Apr 19, 2024
@parthea parthea removed the status: investigating The issue is under investigation, which is determined to be non-trivial. label Apr 19, 2024
@parthea
Copy link
Contributor Author

parthea commented Apr 19, 2024

Closing as duplicate of #445

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

1 participant