Skip to content

Commit 15e2447

Browse files
authored
Drop support for Python 3.7 (python-lsp#417)
1 parent f33a93a commit 15e2447

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/static.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
with:
3333
# TODO: check with Python 3, but need to fix the
3434
# errors first
35-
python-version: '3.7'
35+
python-version: '3.8'
3636
architecture: 'x64'
3737
- run: python -m pip install --upgrade pip setuptools jsonschema
3838
- run: pip install -e .[pylint,pycodestyle,pyflakes]

.github/workflows/test-linux.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
PYTHON_VERSION: ['3.9', '3.8', '3.7']
27+
PYTHON_VERSION: ['3.10', '3.9', '3.8']
2828
timeout-minutes: 10
2929
steps:
3030
- uses: actions/cache@v1

.github/workflows/test-mac.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
PYTHON_VERSION: ['3.9', '3.8', '3.7']
27+
PYTHON_VERSION: ['3.10', '3.9', '3.8']
2828
timeout-minutes: 10
2929
steps:
3030
- uses: actions/cache@v1

.github/workflows/test-win.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
PYTHON_VERSION: ['3.9', '3.8', '3.7']
27+
PYTHON_VERSION: ['3.10', '3.9', '3.8']
2828
timeout-minutes: 10
2929
steps:
3030
- uses: actions/cache@v1

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![image](https://github.com/python-ls/python-ls/workflows/Linux%20tests/badge.svg)](https://github.com/python-ls/python-ls/actions?query=workflow%3A%22Linux+tests%22) [![image](https://github.com/python-ls/python-ls/workflows/Mac%20tests/badge.svg)](https://github.com/python-ls/python-ls/actions?query=workflow%3A%22Mac+tests%22) [![image](https://github.com/python-ls/python-ls/workflows/Windows%20tests/badge.svg)](https://github.com/python-ls/python-ls/actions?query=workflow%3A%22Windows+tests%22) [![image](https://img.shields.io/github/license/python-ls/python-ls.svg)](https://github.com/python-ls/python-ls/blob/master/LICENSE)
44

5-
A Python 3.7+ implementation of the [Language Server Protocol](https://github.com/Microsoft/language-server-protocol).
5+
A Python 3.8+ implementation of the [Language Server Protocol](https://github.com/Microsoft/language-server-protocol).
66
(Note: versions <1.4 should still work with Python 3.6)
77

88
## Installation
@@ -81,7 +81,7 @@ apk add py3-lsp-server
8181
8282
Installing these plugins will add extra functionality to the language server:
8383
84-
- [pylsp-mypy](https://github.com/Richardk2n/pylsp-mypy): [MyPy](http://mypy-lang.org/) type checking for Python >=3.7.
84+
- [pylsp-mypy](https://github.com/Richardk2n/pylsp-mypy): [MyPy](http://mypy-lang.org/) type checking for Python >=3.8.
8585
- [pyls-isort](https://github.com/paradoxxxzero/pyls-isort): code formatting using [isort](https://github.com/PyCQA/isort) (automatic import sorting).
8686
- [python-lsp-black](https://github.com/python-lsp/python-lsp-black): code formatting using [Black](https://github.com/psf/black).
8787
- [pyls-memestra](https://github.com/QuantStack/pyls-memestra): detecting the use of deprecated APIs.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ authors = [{name = "Python Language Server Contributors"}]
1111
description = "Python Language Server for the Language Server Protocol"
1212
readme = "README.md"
1313
license = {text = "MIT"}
14-
requires-python = ">=3.7"
14+
requires-python = ">=3.8"
1515
dependencies = [
1616
"jedi>=0.17.2,<0.20.0",
1717
"python-lsp-jsonrpc>=1.0.0",

0 commit comments

Comments
 (0)