File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -255,26 +255,6 @@ def setup_python(
255
255
env ["PYTHON_ARCH" ] = python_configuration .arch
256
256
env ["PIP_DISABLE_PIP_VERSION_CHECK" ] = "1"
257
257
258
- # pip older than 21.3 builds executables such as pip.exe for x64 platform.
259
- # The first re-install of pip updates pip module but builds pip.exe using
260
- # the old pip which still generates x64 executable. But the second
261
- # re-install uses updated pip and correctly builds pip.exe for the target.
262
- # This can be removed once ARM64 Pythons (currently 3.9 and 3.10) bundle
263
- # pip versions newer than 21.3.
264
- if python_configuration .arch == "ARM64" and Version (get_pip_version (env )) < Version ("21.3" ):
265
- call (
266
- "python" ,
267
- "-m" ,
268
- "pip" ,
269
- "install" ,
270
- "--force-reinstall" ,
271
- "--upgrade" ,
272
- "pip" ,
273
- * dependency_constraint_flags ,
274
- env = env ,
275
- cwd = venv_path ,
276
- )
277
-
278
258
# upgrade pip to the version matching our constraints
279
259
# if necessary, reinstall it to ensure that it's available on PATH as 'pip.exe'
280
260
call (
You can’t perform that action at this time.
0 commit comments