Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
MissingPyProjectBuildRequires Class Reference
Inheritance diagram for MissingPyProjectBuildRequires:
Collaboration diagram for MissingPyProjectBuildRequires:

Public Member Functions

None __init__ (self, *str package)
 
- Public Member Functions inherited from DiagnosticPipError
str __repr__ (self)
 
RenderResult __rich_console__ (self, Console console, ConsoleOptions options)
 

Static Public Attributes

str reference = "missing-pyproject-build-system-requires"
 
- Static Public Attributes inherited from DiagnosticPipError
str reference
 

Additional Inherited Members

- Data Fields inherited from DiagnosticPipError
 kind
 
 reference
 
 message
 
 context
 
 note_stmt
 
 hint_stmt
 
 link
 

Detailed Description

Raised when pyproject.toml has `build-system`, but no `build-system.requires`.

Definition at line 191 of file exceptions.py.

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self,
*str  package 
)

Reimplemented from DiagnosticPipError.

Definition at line 196 of file exceptions.py.

196 def __init__(self, *, package: str) -> None:
197 super().__init__(
198 message=f"Can not process {escape(package)}",
199 context=Text(
200 "This package has an invalid pyproject.toml file.\n"
201 "The [build-system] table is missing the mandatory `requires` key."
202 ),
203 note_stmt="This is an issue with the package mentioned above, not pip.",
204 hint_stmt=Text("See PEP 518 for the detailed specification."),
205 )
206
207
for i

References MissingPyProjectBuildRequires.__init__(), and i.

Referenced by MissingPyProjectBuildRequires.__init__(), and Protocol.__init_subclass__().

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ reference

str reference = "missing-pyproject-build-system-requires"
static

Definition at line 194 of file exceptions.py.

Referenced by DiagnosticPipError.__init__().


The documentation for this class was generated from the following file: