Skip to content

Commit cca91e9

Browse files
sbidoulwebknjaz
andauthored
Clarify error message
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
1 parent 6532503 commit cca91e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pip/_internal/req/constructors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ def install_req_from_pylock_package(
675675
):
676676
raise InstallationError(
677677
f"Only final releases are allowed for package {package.name!r} "
678-
f"with prerelease version {version!s} in {pylock_path_or_url!r}."
678+
f"but it is pinned to a prerelease version {version!s} in {pylock_path_or_url!r}."
679679
)
680680
ireq = InstallRequirement(
681681
req=Requirement(f"{package.name}=={version}"),

0 commit comments

Comments
 (0)