Skip to content

Commit bdd3403

Browse files
committed
[GR-41905] Fix building with pypy
PullRequest: mx/1531
2 parents 460ca7b + 5d04cd3 commit bdd3403

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mx.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7511,7 +7511,7 @@ def initSharedMemoryState(self):
75117511
ProjectBuildTask.initSharedMemoryState(self)
75127512
try:
75137513
self._newestBox = multiprocessing.Array('c', 2048)
7514-
except TypeError:
7514+
except (TypeError, ValueError):
75157515
self._newestBox = multiprocessing.Value('c', '')
75167516

75177517
def pushSharedMemoryState(self):
@@ -18328,7 +18328,7 @@ def alarm_handler(signum, frame):
1832818328
abort(1, killsig=signal.SIGINT)
1832918329

1833018330
# The version must be updated for every PR (checked in CI)
18331-
version = VersionSpec("6.12.2") # GR-42402 - Refine support for javaPreviewNeeded.
18331+
version = VersionSpec("6.12.3") # GR-41905 - fix building with pypy
1833218332

1833318333
currentUmask = None
1833418334
_mx_start_datetime = datetime.utcnow()

0 commit comments

Comments
 (0)