-
-
Notifications
You must be signed in to change notification settings - Fork 598
'user' is not a Python3 package #778
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
Comments
@jdufresne Hi there. Can you take a look into it? |
I have the same error @jdufresne |
@timothycrosley can you? This is just really annoying and seems to be a quick fix. |
@timothycrosley |
What is the quick fix?
Does isort know which Python versions it is targetting? (Not the version it is running on.) If it does, we could split
And then join together the lists for targetted versions. (This could be more nuanced, for libraries added and removed between 3.x minor versions.) But I don't think isort knows or makes any assumptions which versions are targetted. Should that be added? For comparison, Black has a |
I think the only fix for this is the --target-version. @hugovk is mentioning, it is not quick, but shouldn't be too difficult either. Thanks! ~Timothy |
Python 3.4 should hit EOL in a few days https://devguide.python.org/#branchstatus Removing it should be the quick fix, right? You can see also IATI/pyIATI#300 (comment) |
touche. My concern wasn't about Python3, but Python2.7 which isort will support till at least it's EOL, however looking at it more: https://docs.python.org/2/library/user.html?highlight=user#module-user on the 2 side its: Deprecated since version 2.6: The user module has been removed in Python 3. I'll make a release to remove Thanks! ~Timothy |
Fix issue #778, deprecating Python3.4 support - starting with removal…
The removal of Thanks! ~Timothy |
Fix issue #778, deprecating Python3.4 support - starting with removal…
Fix issue #778, deprecating Python3.4 support - starting with removal…
In Python2 'user' was a package, but not anymore in Python3.
Seems you are using it as a python package:
https://github.com/timothycrosley/isort/blob/develop/isort/settings.py#L99
It is somehow related to: pylint-dev/pylint#2532
Thank you.
The text was updated successfully, but these errors were encountered: