Skip to content

Commit b80cdd7

Browse files
setup.py: removed now-unnecessary libclang version restriction on macos-arm64.
1 parent 9dd9038 commit b80cdd7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

setup.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,9 +1400,6 @@ def platform_release_tuple():
14001400
ret.append(libclang)
14011401
elif openbsd:
14021402
print(f'OpenBSD: libclang not available via pip; assuming `pkg_add py3-llvm`.')
1403-
elif darwin and platform.machine() == 'arm64':
1404-
print(f'MacOS/arm64: forcing use of libclang 16.0.6 because 18.1.1 known to fail with `clang.cindex.TranslationUnitLoadError: Error parsing translation unit.`')
1405-
ret.append('libclang==16.0.6')
14061403
elif darwin and platform_release_tuple() < (18,):
14071404
# There are still of problems when building on old macos.
14081405
ret.append('libclang==14.0.6')

0 commit comments

Comments
 (0)