Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: install python using pbs-installer #2721

Merged
merged 8 commits into from
Mar 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix partition
Signed-off-by: Frost Ming <me@frostming.com>
  • Loading branch information
frostming committed Mar 26, 2024
commit ed561f48a10c2a171d11ab1e6eb061ff95a062b0
2 changes: 1 addition & 1 deletion src/pdm/cli/commands/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def install_python(project: Project, request: str) -> PythonInfo:

implementation, _, version = request.rpartition("@")
implementation = implementation.lower() or "cpython"
version, _, arch = version.rpartition("-")
version, _, arch = version.partition("-")
arch = "x86" if arch == "32" else (arch or THIS_ARCH)

ver, python_file = get_download_link(version, implementation=implementation, arch=arch)
Expand Down
Loading