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

Treat warnings as errors in testing #189

Open
parthea opened this issue Nov 8, 2023 · 0 comments
Open

Treat warnings as errors in testing #189

parthea opened this issue Nov 8, 2023 · 0 comments
Assignees
Labels
type: process A process-related concern. May include testing, release, or the like.

Comments

@parthea
Copy link
Contributor

parthea commented Nov 8, 2023

Once the warnings are addressed that appear in build logs, we should enable warnings as errors to ensure that issues are addressed promptly.

The current warnings are for the protobuf dependency which is tracked here

========================================================================================================================= warnings summary ==========================================================================================================================
tests/unit/test_google_api_error_reason.py::test_error_reason
  <frozen importlib._bootstrap>:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.

tests/unit/test_google_api_error_reason.py::test_error_reason
  <frozen importlib._bootstrap>:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
@parthea parthea added the type: process A process-related concern. May include testing, release, or the like. label Nov 8, 2023
@parthea parthea self-assigned this Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: process A process-related concern. May include testing, release, or the like.
Projects
None yet
Development

No branches or pull requests

1 participant