1414local version_vault_url = " https://vault.vfox.dev/python/pyenv"
1515local uv_build_vault_url = " https://vault.vfox.dev/python/uv-build"
1616local UV_BUILD_GITHUB_RELEASE_PATTERN = " /releases/download/([^/]+)/([^/]+)$"
17- local windows_null_redirect = " > NUL"
1817
1918-- request headers
2019local REQUEST_HEADERS = {
@@ -592,8 +591,7 @@ local function ensureWindowsUvBuildPip(path)
592591 end
593592
594593 print (" Installing pip..." )
595- local command = string.format (" %s -E -s -m ensurepip -U --default-pip %s" ,
596- shellQuote (pythonExe ), windows_null_redirect )
594+ local command = string.format (" %s -E -s -m ensurepip -U --default-pip" , shellQuote (pythonExe ))
597595 local exitCode = os.execute (command )
598596 if not commandSucceeded (exitCode ) then
599597 error (" ensurepip failed while installing pip. exit " .. tostring (exitCode ))
@@ -604,8 +602,8 @@ local function ensureWindowsUvBuildPip(path)
604602 end
605603
606604 local quotedBundledPath = shellQuote (path .. " \\ Lib\\ ensurepip\\ _bundled" )
607- command = string.format (" %s -E -s -m pip install --force-reinstall --no-index --find-links %s pip %s " ,
608- shellQuote (pythonExe ), quotedBundledPath , windows_null_redirect )
605+ command = string.format (" %s -E -s -m pip install --force-reinstall --no-index --find-links %s pip" ,
606+ shellQuote (pythonExe ), quotedBundledPath )
609607 exitCode = os.execute (command )
610608 if not commandSucceeded (exitCode ) then
611609 error (" pip force-reinstall failed while creating pip scripts. exit " .. tostring (exitCode ))
0 commit comments