MCPcopy Index your code
hub / github.com/nodejs/node / _process_requires_python

Method _process_requires_python

tools/gyp/pylib/packaging/metadata.py:616–622  ·  view source on GitHub ↗
(self, value: str)

Source from the content-addressed store, hash-verified

614 return normalized_names
615
616 def _process_requires_python(self, value: str) -> specifiers.SpecifierSet:
617 try:
618 return specifiers.SpecifierSet(value)
619 except specifiers.InvalidSpecifier as exc:
620 raise self._invalid_metadata(
621 f"{value!r} is invalid for {{field}}", cause=exc
622 )
623
624 def _process_requires_dist(
625 self,

Callers

nothing calls this directly

Calls 1

_invalid_metadataMethod · 0.95

Tested by

no test coverage detected