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
ImportError on an Apple M1 Mac related to libcst #577
Comments
Workaround: |
Introduced in #574 The problematic line is here: django-codemod/src/django_codemod/cli.py Line 19 in fb9f642
|
Could you please check the version of libCST that was installed in your pipx environment? It should be 0.4.1 as it's pinned in our dependencies, and that version is supposed to provide a wheel for ARM. Maybe there is something wrong in their build? |
%
%
|
I've reverted the change in here and should be released in 1.10.1 shortly. That seems like a bug in libCST's new parser, you might want to file a bug report over there. You'll probably need to create a more minimal reproduction case not involving django-codemod... I do not own a M1 Mac, so I'm unable to reproduce this bug. |
Describe the bug
A clear and concise description of what the bug is.
ImportError on an Apple M1 Mac.
libcst
seems to be installed forx86_64
, not the requiredarm64e
.To Reproduce
Steps to reproduce the behavior:
%
pipx --version
%
pipx install django-codemod
%
djcodemod run --deprecated-in 1.3 .
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: