Skip to content

Commit 23f4790

Browse files
committed
Fixed windows python download format to match releases.
1 parent d715c2c commit 23f4790

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

omnipkg/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ def _install_managed_python(self, venv_path: Path, full_version: str) -> Path:
964964
raise ValueError(f'No known standalone build for Python version {full_version}. Cannot download.')
965965
py_ver_plus_tag = f'{full_version}+{release_tag}'
966966
base_url = f'https://github.com/astral-sh/python-build-standalone/releases/download/{release_tag}'
967-
archive_name_templates = {'linux': f'cpython-{py_ver_plus_tag}-{py_arch}-unknown-linux-gnu-install_only.tar.gz', 'darwin': f'cpython-{py_ver_plus_tag}-{py_arch}-apple-darwin-install_only.tar.gz', 'windows': f'cpython-{py_ver_plus_tag}-{py_arch}-pc-windows-msvc-shared-install_only.tar.gz'}
967+
archive_name_templates = {'linux': f'cpython-{py_ver_plus_tag}-{py_arch}-unknown-linux-gnu-install_only.tar.gz', 'darwin': f'cpython-{py_ver_plus_tag}-{py_arch}-apple-darwin-install_only.tar.gz', 'windows': f'cpython-{py_ver_plus_tag}-{py_arch}-pc-windows-msvc-install_only.tar.gz'}
968968
if system == 'macos':
969969
system = 'darwin'
970970
archive_name = archive_name_templates.get(system)
File renamed without changes.

0 commit comments

Comments
 (0)