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
Memoize the requests-cache session factory and each dependency's
_fetch_versions helper with functools.cache so the per-process backend
init and JSON fetch+parse happen exactly once regardless of how many
DependencyConstraint instances ask for them.
Previously each PythonDependencyConstraint, RDependencyConstraint, etc.
opened a fresh CachedSession and walked through the local HTTP cache on
every resolve_versions call, producing repeated "Initializing backend"
and "Cache directives" DEBUG lines and redundant parse work.
Closes#330
0 commit comments