fix(perf): avoid repeated scan of entire venv via packages_distributions() at import time by bonauer-pf · Pull Request #16579 · googleapis/google-cloud-python · GitHub
Skip to content

fix(perf): avoid repeated scan of entire venv via packages_distributions() at import time#16579

Merged
daniel-sanche merged 1 commit into
googleapis:mainfrom
bonauer-pf:fix/avoid-packages-distributions-scan
Apr 8, 2026
Merged

fix(perf): avoid repeated scan of entire venv via packages_distributions() at import time#16579
daniel-sanche merged 1 commit into
googleapis:mainfrom
bonauer-pf:fix/avoid-packages-distributions-scan

perf: cache packages_distributions() and defer call to unhappy path

6425506
Select commit
Loading
Failed to load commit list.
Google CLA / cla/google succeeded Apr 8, 2026 in 7s

✅ All contributors are covered under a CLA with Google

See https://cla.developers.google.com/ for more info about Google's Contributor License Agreement (CLA).

ℹ️ Googlers: Go here to view more details and manage scans for this pull request.

Details

The following contributors were found for this pull request:

6425506 Author: @bonauer-pf <bo****r​@proximafusion.com>

(Only the first commit for a unique contributor is listed.)