File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -335,8 +335,8 @@ class MetadataInconsistent(InstallationError):
335
335
"""Built metadata contains inconsistent information.
336
336
337
337
This is raised when the metadata contains values (e.g. name and version)
338
- that do not match the information previously obtained from sdist filename
339
- or user-supplied ``#egg=`` value.
338
+ that do not match the information previously obtained from sdist filename,
339
+ user-supplied ``#egg=`` value, or an install requirement name .
340
340
"""
341
341
342
342
def __init__ (
@@ -349,8 +349,7 @@ def __init__(
349
349
350
350
def __str__ (self ) -> str :
351
351
template = (
352
- "Requested {} has inconsistent {}: "
353
- "filename has {!r}, but metadata has {!r}"
352
+ "Requested {} has inconsistent {}: expected {!r}, but metadata has {!r}"
354
353
)
355
354
return template .format (self .ireq , self .field , self .f_val , self .m_val )
356
355
You can’t perform that action at this time.
0 commit comments