Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyPi build doesn't contain arm64 architecture for macosx #199

Closed
maederm opened this issue Jun 27, 2024 · 1 comment
Closed

PyPi build doesn't contain arm64 architecture for macosx #199

maederm opened this issue Jun 27, 2024 · 1 comment

Comments

@maederm
Copy link

maederm commented Jun 27, 2024

Hi

I tried to use pacparser on an Apple Silicon device. According to pypi the wheel should contain CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64).

ImportError: dlopen(/Users/xxx/Library/Caches/pypoetry/virtualenvs/pacp-VxZcfkwe-py3.11/lib/python3.11/site-packages/pacparser/_pacparser.cpython-311-darwin.so, 0x0002): tried: '/Users/xxx/Library/Caches/pypoetry/virtualenvs/pacp-VxZcfkwe-py3.11/lib/python3.11/site-packages/pacparser/_pacparser.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/xxx/Library/Caches/pypoetry/virtualenvs/pacp-VxZcfkwe-py3.11/lib/python3.11/site-packages/pacparser/_pacparser.cpython-311-darwin.so' (no such file), '/Users/xxx/Library/Caches/pypoetry/virtualenvs/pacp-VxZcfkwe-py3.11/lib/python3.11/site-packages/pacparser/_pacparser.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))

I tried downloading the wheel manually and using the file tool I also see only the x86_64 architecture.

(pacp-py3.11) xxx@xxx pacparser % file _pacparser.cpython-311-darwin.so 
_pacparser.cpython-311-darwin.so: Mach-O 64-bit bundle x86_64

I also tested the python3.12 build and had the same issue.

Could you include the arm64 build as well?

@maederm maederm changed the title PyPi build doesn't contain arm64 architecture for maxosx PyPi build doesn't contain arm64 architecture for macosx Jun 27, 2024
@manugarg
Copy link
Owner

@maederm thanks for opening this. I've cut a new release just now so that #198 takes effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants