Skip to content

Commit 2efa648

Browse files
authored
fix: always resolve --python argument (#2328) (#2331)
fix: always resolve --python argument (#2328) fix: always resolve the --python argument Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent 42728e8 commit 2efa648

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cibuildwheel/util.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,10 @@ def virtualenv(
705705
dependency_constraint_flags are ignored since nothing is installed in the
706706
venv. Otherwise, pip is installed, and setuptools + wheel if Python < 3.12.
707707
"""
708+
709+
# virtualenv may fail if this is a symlink.
710+
python = python.resolve()
711+
708712
assert python.exists()
709713

710714
if use_uv:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy