-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
compatibilityCompatibility with a specification or another toolCompatibility with a specification or another toolneeds-decisionUndecided if this should be doneUndecided if this should be done
Description
When trying to install a package from a private Forgejo/Gitea instance with rye 0.32.0 (rye add private_package
) it fails, because of the following uv error:
error: Failed to run uv compile error: Received some unexpected HTML from https://git.example.com/api/packages/Zottelchen/pypi/simple/private_package/
Caused by: Unexpected fragment (expected `#sha256=...` or similar) on URL: sha256-2dad1cbbf357953b94b0c57a240e5217eb59300f303e4d35215fe7d07478f089
. uv exited with status: exit code: 2
The issue lies in the way the Forgejo/Gitea template formats the link. So currently the package links look like this: https://git.example.com/api/packages/Zottelchen/pypi/files/private_package/0.1.0/private_package-0.1.0-py3-none-any.whl#sha256-2dad1cbbf357953b94b0c57a240e5217eb59300f303e4d35215fe7d07478f089
A quick fix for this would be to also allow the minus in the sha256-
fragment.
Metadata
Metadata
Assignees
Labels
compatibilityCompatibility with a specification or another toolCompatibility with a specification or another toolneeds-decisionUndecided if this should be doneUndecided if this should be done