Update Python base version to 3.7+#130
Update Python base version to 3.7+#130krassowski merged 6 commits intopython-lsp:developfrom npradeep357:update-py-version
Conversation
|
@ccordoba12, updated Python version to 3.7+ and removed python 3.6 slots on Github actions. |
|
@ccordoba12 or @krassowski or authors, I see issue in static code analysis checks but I think that's not related to this PR. It says validate JSON schema check failed. I just updated the static.yml to use python 3.7 but not sure what's happening? Thank you |
|
Only difference is that the static checks now use py 3.7 instead of 3.6. |
|
@krassowski, could you check what's happening with |
|
I opened python-jsonschema/jsonschema#889. A workaround for now would be to pass an empty instance of settings schema (weather through standard input or from a file). |
Thanks for your help @krassowski!
What do you mean by this? |
|
I mean something like: echo "{}" | jsonschema pylsp/config/schema.jsonbecause an empty instance (empty settings) are acceptable, so they will pass validation. Alternatively we could pin a 3.x version. Ether should solve the problem on the CI for now. |
|
Updated jsonschema test as mentioned by @krassowski. Now the tests pass. Thank you |
Co-authored-by: Michał Krassowski <5832902+krassowski@users.noreply.github.com>
|
Merging as Python 3.6 reached EOL yesterday. |

Updated Python version to 3.7+ as 3.6 came to end-of-life support. Updated tests
related to #128