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(google-auth): drop python 3.7 EOL false positives and refactor metrics telemetry (#17463)
This pull request eliminates EOL Python 3.7 false positives from the
`google-auth` codebase to ensure a clean signal from version scanner
compliance checks.
**Why these changes are made:**
- **Metrics Telemetry:** Hardcoded Python versions in telemetry headers
(like `gl-python/3.7`) have been replaced with abstract version
placeholders (`<python-version>`) in comments with formatting examples
and in test assertions. This prevents scanner alerts while retaining the
ability to verify HTTP client request formatting behavior.
- **App Engine Runtime Tests:** GAE standard runtime test cases have
been refactored to dynamically construct GAE runtime values from the
active Python interpreter at test execution time, avoiding the need for
EOL checks and manual updates when Python versions retire.
- **Clean Up Transport Properties:** Replaced legacy private
`_auto_decompress` internal attribute access in the `aiohttp` transport
with the standard public `auto_decompress` property (supported in
`aiohttp >= 3.8`), allowing the removal of old TODOs from the source
code that referenced 3.7.
- **Readme Cleanup**: Removed the manual, out-of-date historical
"Unsupported Python Versions" list from the package documentation,
relying instead on standard authoritative packaging metadata
(`python_requires`) to enforce runtime compatibility.
---
Supports resolution of the internal bug: #512225398
0 commit comments