You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: filter warnings for end of life Python (#14858)
This PR is needed to resolve the following errors when running tests
with end of life Python versions and treating warnings as errors.
```
========================================================================= ERRORS ==========================================================================
____________________________________________ ERROR collecting tests/unit/gapic/orgpolicy_v2/test_org_policy.py ____________________________________________
tests/unit/gapic/orgpolicy_v2/test_org_policy.py:29: in <module>
from google.api_core import api_core_version
.nox/unit-3-9-protobuf_implementation-python/lib/python3.9/site-packages/google/api_core/__init__.py:39: in <module>
check_python_version(package="google.api_core")
.nox/unit-3-9-protobuf_implementation-python/lib/python3.9/site-packages/google/api_core/_python_version_support.py:252: in check_python_version
warnings.warn(message, FutureWarning)
E FutureWarning: You are using a Python version (3.9.16) past its end of life. Google will update google.api_core with critical bug fixes on a best-effort basis, but not with any other fixes or features. Please upgrade to the latest Python version, or at least Python 3.10, and then update google.api_core.
```
```
========================================================================= ERRORS ==========================================================================
____________________________________________ ERROR collecting tests/unit/gapic/orgpolicy_v2/test_org_policy.py ____________________________________________
tests/unit/gapic/orgpolicy_v2/test_org_policy.py:29: in <module>
from google.api_core import api_core_version
.nox/unit-3-8-protobuf_implementation-python/lib/python3.8/site-packages/google/api_core/__init__.py:39: in <module>
check_python_version(package="google.api_core")
.nox/unit-3-8-protobuf_implementation-python/lib/python3.8/site-packages/google/api_core/_python_version_support.py:237: in check_python_version
warnings.warn(message, FutureWarning)
E FutureWarning: You are using a non-supported Python version (3.8.16). Google will not post any further updates to google.api_core supporting this Python version. Please upgrade to the latest Python version, or at least Python 3.10, and then update google.api_core.
```
0 commit comments