Skip to content

Commit 7cced41

Browse files
authored
tests: filter DeprecationWarning in opentelemetry-api (#17239)
This PR is needed to resolve the failing `unit-3.11` presubmit in #17235 which is due to a new DeprecationWarning from `opentelemetry-api`. See [build log](https://github.com/googleapis/google-cloud-python/actions/runs/26299236667/job/77419821319?pr=17235). This PR filters the deprecation warning in `opentelemetry-api` until a fix is available. See the linked issue for more information.
1 parent ac698b2 commit 7cced41

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/google-cloud-logging/pytest.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ filterwarnings =
3838
ignore:The load_credentials_from_file method is deprecated:DeprecationWarning
3939
ignore:.*Please upgrade to the latest Python version.*:FutureWarning
4040
ignore:(?s).*using a Python version.*past its end of life.*:FutureWarning
41-
41+
# Remove once https://github.com/open-telemetry/opentelemetry-python/issues/5231 is fixed
42+
ignore:(?s).*SelectableGroups dict interface is deprecated. Use select.*:DeprecationWarning

0 commit comments

Comments
 (0)