We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98d8401 commit 9732729Copy full SHA for 9732729
src/pip/_internal/utils/packaging.py
@@ -73,7 +73,7 @@ def get_installer(dist: Distribution) -> str:
73
return ""
74
75
76
-@functools.lru_cache(maxsize=None)
+@functools.lru_cache(maxsize=512)
77
def get_requirement(req_string: str) -> Requirement:
78
"""Construct a packaging.Requirement object with caching"""
79
# Parsing requirement strings is expensive, and is also expected to happen
0 commit comments