-
Notifications
You must be signed in to change notification settings - Fork 336
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
apitools.base.protorpclite.messages.EnumDefinitionError: May only use integers in Enum definitions. Found: __static_attributes__ = ()
error
#1819
Comments
This appears to be an issue with Python 3.13. The following Dockerfile builds:
The Python version in use when successful is 3.12.7. 3.13.0 fails with the error in the opening comment. |
apitools.base.protorpclite.messages.EnumDefinitionError: May only use integers in Enum definitions. Found: __static_attributes__ = ()
error
Removed gsutil version from the topic as 5.27, which was the previously stable version I was running, also failed on Python 3.13.0 with the same error. |
+1 same issue on our side |
The error you encountered is related to Supported Python Versions: Fix in Recommendation: |
All commands on version 5.31 installed via pip are failing with a
apitools.base.protorpclite.messages.EnumDefinitionError: May only use integers in Enum definitions. Found: __static_attributes__ = ()
error.Take the following simplified Dockerfile:
The
gsutil help
fails during the build:The text was updated successfully, but these errors were encountered: