pypi: improve error message
Emphasize that we're failing because the user tried to update a non-PyPI package by version, when only PyPI packages can be updated by version. Other Python packages need to be updated by a full URL change. Signed-off-by: William Woodruff <william@yossarian.net>
This commit is contained in:
parent
0160bc53e4
commit
da326d602d
@ -237,7 +237,8 @@ module PyPI
|
|||||||
else
|
else
|
||||||
return if ignore_non_pypi_packages
|
return if ignore_non_pypi_packages
|
||||||
|
|
||||||
odie "The main package is not a PyPI package. Please update its URL manually."
|
odie "The main package is not a PyPI package, meaning that version-only updates cannot be \
|
||||||
|
performed. Please update its URL manually."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user