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:
William Woodruff 2023-07-02 21:54:27 -04:00
parent 0160bc53e4
commit da326d602d
No known key found for this signature in database

View File

@ -237,7 +237,8 @@ module PyPI
else
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