Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python/cpython
/ _deps_from_requires_text
Method
_deps_from_requires_text
Lib/importlib/metadata/__init__.py:690–691 ·
view source on GitHub ↗
(cls, source)
Source
from the content-addressed store, hash-verified
688
689
@classmethod
690
def
_deps_from_requires_text(cls, source):
691
return
cls._convert_egg_info_reqs_to_simple_reqs(Sectioned.read(source))
692
693
@staticmethod
694
def
_convert_egg_info_reqs_to_simple_reqs(sections):
Callers
1
test_more_complex_deps_requires_text
Method · 0.80
Calls
2
_convert_egg_info_reqs_to_simple_reqs
Method · 0.80
read
Method · 0.45
Tested by
1
test_more_complex_deps_requires_text
Method · 0.64