-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
Issue #2031 not fixed in v6.0.0b2 #2133
Comments
Tested this with stable |
aryyh
changed the title
Issue #2031 not fixed, request re-open
Issue #2031 not fixed in v6.0.0b2
May 15, 2023
Not sure if this is the same, but I've got GitHub Actions failing in a Ubuntu runtime with Python 3.10.13 that tries to run these commands, but fails on the second: pip install isort[colors]==5.13.1
isort . --color with error traceback: Sorry, but to use --color (color_output) the colorama python package is required.
Reference: https://pypi.org/project/colorama/
You can either install it separately on your system or as the colors extra for isort. Ex:
$ pip install isort[colors] Maybe same as #2211. |
Correct @amarvin, fixed in 5.13.2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue #2031 not fixed. It still tries to use colorama when not requested and not installed
I'm still getting this error on isort version
6.0.0b2
. See also confirmed from others hereIt looks like the fix that went in isn't working in my case. The added line
colorama.init(strip=False)
fails in format.py line 153.It gets called even when
color
is False ANDcolor_unavailable
is True, which then doesn't trigger the sorry msg due to the AND condition evaluating to False. I have confirmed this is what has been happening in my case at leastSee failing function below for more context
Failing trace
The text was updated successfully, but these errors were encountered: