-
Notifications
You must be signed in to change notification settings - Fork 32
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
Python version 3.6 is not supported. #323
Comments
This is by design. We don't support out of service versions of python. If you can update please update your python. Python 3.6 has been out of support for 2 years, and python 3.7 is out of support for about 9 months. Python 3.8 will be out of service in October. |
Hey @karthiknadig thanks for the reply. I can't upgrade to a newer version for the current project I'm working on unfortunately. What I don't understand is why drop the support for python 3.6? Maybe dropping the support is a requirement for reasons I don't understand. But it just feels wrong as some projects can't be upgraded that easily to a newer python version. According to the link you mentioned: Looks like the check for version is there for no reason whatsoever than to force people to upgrade. because if I change the If is not to force the developer to upgrade, what is this version check here for?
I hope you can clarify these questions.. I'm sure the maintainers team have their reasons to have added a check for the python version. |
This extension depends on packages that dropped support of Python 3.6, this happened when they migrated to support Python 3.11 and 3.12. See for example this package we depend on: https://pypi.org/project/cattrs You have two options:
|
I see, thanks for the clarification. Managed to get this working by downgrading the extension. I will close this issue then. Thanks again. |
Diagnostic Data
Behaviour
Expected Behavior
I have the extension installed in the vscode
I have flake8 installed in my virtual environment
I have the python interpreter set to my virtual environment.
when I start the flake8 server It should not fail due to python version.
Actual Behavior
when I start the flake8 server It fails due to python version.
Reproduction Steps:
Install pyenv
install python 3.6.15 using pyenv
set global version to 3.6.15
create new project
create virtual environment using python 3.6.15
install flake8 (any version supported by python 3.6.15)
See server require python 3.8
Logs:
Steps to set log level to trace and view:
Outcome When Attempting Debugging Steps:
Did running it from the command line work? Yes
Extra Details
settings.json:
The text was updated successfully, but these errors were encountered: