-
Notifications
You must be signed in to change notification settings - Fork 36
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
feat: add support for python 3.12 #400
Conversation
See related thread protocolbuffers/protobuf#12186. @ohmayr and I are looking into it. EDIT: The reason that there is a Line 53 in a9700cb
If we remove The warnings that appear are as follows:
Filed #401 for the warning related to proto-plus. The other 3 warnings are in the protobuf code. I'll disable warnings as errors and file a bug to re-enable the |
…romtimestamp(0) which is deprecated
@@ -49,6 +49,12 @@ def unit(session, proto="python"): | |||
session.install("-e", ".[testing]", "-c", constraints_path) | |||
if proto == "cpp": # 4.20 does not have cpp. | |||
session.install("protobuf==3.19.0") | |||
|
|||
# The warnings as errors flag `-W=error` was removed in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth filing an issue for this, and linking it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in #403
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I see. #403 is the issue tracking this. So fixing #403 MEANS re-enabling the warning.
# The warnings as errors flag `-W=error` was removed in | |
# TODO(https://github.com/googleapis/proto-plus-python/issues/403): re-enable -W=error | |
# The warnings-as\-errors flag `-W=error` was removed in | |
# https://github.com/googleapis/proto-plus-python/pull/400. | |
# It should be re-added once issue https://github.com/protocolbuffers/protobuf/issues/12186 is fixed. |
@@ -49,6 +49,12 @@ def unit(session, proto="python"): | |||
session.install("-e", ".[testing]", "-c", constraints_path) | |||
if proto == "cpp": # 4.20 does not have cpp. | |||
session.install("protobuf==3.19.0") | |||
|
|||
# The warnings as errors flag `-W=error` was removed in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I see. #403 is the issue tracking this. So fixing #403 MEANS re-enabling the warning.
# The warnings as errors flag `-W=error` was removed in | |
# TODO(https://github.com/googleapis/proto-plus-python/issues/403): re-enable -W=error | |
# The warnings-as\-errors flag `-W=error` was removed in | |
# https://github.com/googleapis/proto-plus-python/pull/400. | |
# It should be re-added once issue https://github.com/protocolbuffers/protobuf/issues/12186 is fixed. |
Fixes #401
Fixes #402