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
{{ message }}
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
It is impossible to filter Python37DeprecationWarning after PR #1371.
Custom libraries should not configure warning filters, because it is user project's global state. Most of the times you cannot modify import order and insert new warning filters after your library modifies them.
Environment details
OS: Ubuntu 22.04.3 LTS linux 5.15.0-89-generic
Python version: 3.7.17
pip version: 23.3.1
google-auth version: 2.24.0
Steps to reproduce
install google-auth into your python3.7 project
configure filterwarning rule ignore::DeprecationWarning in pytest.ini
use google.auth or google.oauth2 somewhere in your project
run pytest
get Python37DeprecationWarning that you cannot filter