-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for specifying python_platform in pip_compile (#16)
uv 0.1.35 added the `--python-platform` option to `uv pip compile`: ``` --python-platform <PYTHON_PLATFORM> The platform for which requirements should be resolved. Represented as a "target triple", a string that describes the target platform in terms of its CPU, vendor, and operating system name, like `x86_64-unknown-linux-gnu` or `aaarch64-apple-darwin`. Possible values: - windows: An alias for `x86_64-pc-windows-msvc`, the default target for Windows - linux: An alias for `x86_64-unknown-linux-gnu`, the default target for Linux - macos: An alias for `aarch64-apple-darwin`, the default target for macOS - x86_64-pc-windows-msvc: An x86 Windows target - x86_64-unknown-linux-gnu: An x86 Linux target - aarch64-apple-darwin: An ARM-based macOS target, as seen on Apple Silicon devices - x86_64-apple-darwin: An x86 macOS target - aarch64-unknown-linux-gnu: An ARM64 Linux target - aarch64-unknown-linux-musl: An ARM64 Linux target - x86_64-unknown-linux-musl: An x86_64 Linux target ``` In this PR, enable specifying any (or none) of these values using the `python_platform` arg in `pip_compile`.
- Loading branch information
Showing
5 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
click==8.1.7 \ | ||
--hash=sha256:ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28 \ | ||
--hash=sha256:ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters