Comments (5)
Workaround: pipx install --force django-codemod==1.9.1
from django-codemod.
Introduced in #574
The problematic line is here:
django-codemod/src/django_codemod/cli.py
Line 19 in fb9f642
from django-codemod.
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?
from django-codemod.
% pipx list
package django-codemod 1.10.0, installed using Python 3.9.1
% python3
Python 3.9.12 (main, Mar 26 2022, 15:44:31)
[Clang 13.1.6 (clang-1316.0.21.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import libcst
>>> libcst.LIBCST_VERSION
'0.4.1'
from django-codemod.
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.
from django-codemod.
Related Issues (20)
- iterable ConnectionHandler HOT 2
- Avoid try: .. except ImportError: blocks HOT 2
- Ability to use a specific codemodder to the CLI
- Merge test, lint and commitlint workflows HOT 3
- Add an option to skip paths (e.g. node_modules) HOT 8
- django.contrib.postgres.fields.jsonb not captured by codemod HOT 3
- Recommended command recurses into my virtualenv HOT 1
- Extra imports added with libCST 0.3.14 and above HOT 2
- Attribute access to `url` incorrectly replaced
- Local variable shadowing import from outer scope HOT 1
- Action Required: Fix Renovate Configuration
- Switch to `version_toml` for semantic release HOT 2
- Simplify import checking with LibCST's FullyQualifiedNameProvider
- ParserSyntaxError when a module have a "from django.utils import timezone" import HOT 5
- Removed compatibility imports in 3.1
- Dependency Dashboard
- Option to show diffs HOT 1
- Django 4 django.dispatch.Signal unexpected keyword argument providing_args HOT 5
- Add tests to sdist HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-codemod.