-
Notifications
You must be signed in to change notification settings - Fork 8
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: No module named cqlsh on 6.0.1 #11
Comments
Hi, Python 2.7.x reached End of Life over two years ago on January 1, 2020. No new bug reports, fixes, or changes will be made to Python 2, and Python 2 is no longer supported by its authors. This includes security issues which will not be patched, of which there are already a few reported. See the full statement at https://www.python.org/doc/sunset-python-2. One of the import changes in Python 3 was to module structure, and while I'm not certain it can't work with the new module structure, I think it's perhaps unlikely. Are you able to continue to use the 6.0.0 version of CQLSH with circleci? |
Hi, I have the same issue as @Nx5, the most recent release was a breaking change for a number of our tools. I understand that Python 2 is EOL, and I'm at work on a workaround. Just wanted to chime in here as it could be an issue for others. |
My apologies, I didn't think to test on python 2, as I haven't used it in over a year. Shows that we need some sort of basic CI... I filed #12 for that. Let's do this:
The other option is to revert #7 for now, but I support the goals of making this easy to use as both a library and an executable. Plus it's def more convenient for Windows users. I expect py2 compatibility to become less and less of an issue over time as many folks switch over to python 3, although I recognize since this particular lib is often installed purely as an executable, not everyone has migrated to newer Linuxes that support python 3. That said, if there's a relatively straightforward way to retain py2 support, then that's going to be the best solution. |
The We'll use #13 to track fixing the underlying issue before the next release. |
Hey,
using python 2.7.18, we've been running 6.0.0 in circleci with success,
but since 6.0.1 we're getting an error:
The text was updated successfully, but these errors were encountered: