Skip to content

Commit a33e597

Browse files
committed
Revert "Work around GraalPy virtualenv bug"
This reverts commit ddf2c75e88f76fc01c350a605bdfb3946e6008de.
1 parent 2997c1f commit a33e597

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

cibuildwheel/macos.py

-8
Original file line numberDiff line numberDiff line change
@@ -206,14 +206,6 @@ def install_graalpy(tmp: Path, url: str) -> Path:
206206
# GraalPy top-folder name is inconsistent with archive name
207207
call("tar", "-C", installation_path, "--strip-components=1", "-xzf", downloaded_archive)
208208
downloaded_archive.unlink()
209-
# Workaround graalpy_virtualenv bug
210-
(
211-
installation_path
212-
/ "lib-graalpython"
213-
/ "modules"
214-
/ "graalpy_virtualenv.egg-info"
215-
/ "entry_points.txt"
216-
).unlink(missing_ok=True)
217209
return installation_path / "bin" / "graalpy"
218210

219211

cibuildwheel/windows.py

-8
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,6 @@ def install_graalpy(tmp: Path, url: str) -> Path:
149149
download(url, graalpy_zip)
150150
# Extract to the parent directory because the zip file still contains a directory
151151
extract_zip(graalpy_zip, installation_path.parent)
152-
# Workaround graalpy_virtualenv bug
153-
(
154-
installation_path
155-
/ "lib-graalpython"
156-
/ "modules"
157-
/ "graalpy_virtualenv.egg-info"
158-
/ "entry_points.txt"
159-
).unlink(missing_ok=True)
160152
return installation_path / "bin" / "graalpy.exe"
161153

162154

0 commit comments

Comments
 (0)