-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Support presigned URLs in pyproject.toml #14217
Copy link
Copy link
Closed
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionalityneeds-mreNeeds more information for reproduction, see #9452Needs more information for reproduction, see #9452
Description
Summary
I tried to install a vendored version of pyfory from a personal R2 bucket, which I created a pre-signed HTTP URL of, since R2 is not supported. The error I received was
error: Failed to parse file extension; expected one of: `.whl`, `.tar.gz`, `.zip`, `.tar.bz2`, `.tar.lz`, `.tar.lzma`, `.tar.xz`, `.tar.zst`, `.tar`, `.tbz`, `.tgz`, `.tlz`, or `.txz`
Caused by: `.whl`, `.tar.gz`, `.zip`, `.tar.bz2`, `.tar.lz`, `.tar.lzma`, `.tar.xz`, `.tar.zst`, `.tar`, `.tbz`, `.tgz`, `.tlz`, or `.txz`
Example
Specify a python library in pyproject.toml like pyfory @ https://foo.r2.cloudflarestorage.com/bar/pyfory-0.12.0.dev0-cp312-cp312-linux_aarch64.whl?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=foo%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20250623T043147Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=bar
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionalityneeds-mreNeeds more information for reproduction, see #9452Needs more information for reproduction, see #9452