Skip to content

Commit 391dc9e

Browse files
authored
Update builid minimum version for Jedi to 3.7 (#18811)
1 parent 8cd059e commit 391dc9e

File tree

4 files changed

+12
-23
lines changed

4 files changed

+12
-23
lines changed

.github/actions/build-vsix/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ runs:
2121
node-version: ${{ inputs.node_version }}
2222
cache: 'npm'
2323

24-
# Jedi LS depends on dataclasses which is not in the stdlib in Python 3.6.
25-
- name: Use Python 3.6 for JediLSP
24+
# Jedi LS depends on dataclasses which is not in the stdlib in Python 3.7.
25+
- name: Use Python 3.7 for JediLSP
2626
uses: actions/setup-python@v2
2727
with:
28-
python-version: 3.6
28+
python-version: 3.7
2929
cache: 'pip'
3030
cache-dependency-path: |
3131
requirements.txt

news/3 Code Health/18324.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update Jedi minimum to python 3.7.
Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
# This file is used to generate requirements.txt.
22
# To update requirements.txt, run the following commands.
3-
# Use Python 3.6 when creating the environment or using pip-tools
3+
# Use Python 3.7 when creating the environment or using pip-tools
44
# 1) pip install pip-tools
55
# 2) pip-compile --generate-hashes --upgrade pythonFiles\jedilsp_requirements\requirements.in
66

7-
# We don't need to add Python version restrictions
8-
# since we don't support anything older than 3.6 anymore,
9-
# However, make sure to use Python 3.6 when running pip-compile,
10-
# so that all Python 3.6-specific requirements are captured when generating requirements.txt.
11-
127
jedi-language-server>=0.34.3
138
pygls>=0.10.3
14-
dataclasses==0.8;python_version<="3.6"

pythonFiles/jedilsp_requirements/requirements.txt

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
#
2-
# This file is autogenerated by pip-compile with python 3.6
2+
# This file is autogenerated by pip-compile with python 3.7
33
# To update, run:
44
#
55
# pip-compile --generate-hashes 'pythonFiles\jedilsp_requirements\requirements.in'
66
#
7-
dataclasses==0.8 ; python_version <= "3.6" \
8-
--hash=sha256:0201d89fa866f68c8ebd9d08ee6ff50c0b255f8ec63a71c16fda7af82bb887bf \
9-
--hash=sha256:8479067f342acf957dc82ec415d355ab5edb7e7646b90dc6e2fd1d96ad084c97
10-
# via
11-
# -r pythonFiles\jedilsp_requirements\requirements.in
12-
# pydantic
137
docstring-to-markdown==0.10 \
148
--hash=sha256:12f75b0c7b7572defea2d9e24b57ef7ac38c3e26e91c0e5547cfc02b1c168bf6 \
159
--hash=sha256:a2cd520599d1499d4a5d4eb16dea5bdebe32e5627504fb417d5733570f3d4d0b
@@ -66,13 +60,13 @@ typeguard==2.13.3 \
6660
--hash=sha256:00edaa8da3a133674796cf5ea87d9f4b4c367d77476e185e80251cc13dfbb8c4 \
6761
--hash=sha256:5e3e3be01e887e7eafae5af63d1f36c849aaa94e3a0112097312aabfa16284f1
6862
# via pygls
69-
typing-extensions==4.0.1 \
70-
--hash=sha256:4ca091dea149f945ec56afb48dae714f21e8692ef22a395223bcd328961b6a0e \
71-
--hash=sha256:7f001e5ac290a0c0401508864c7ec868be4e701886d5b573a9528ed3973d9d3b
63+
typing-extensions==4.1.1 \
64+
--hash=sha256:1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42 \
65+
--hash=sha256:21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2
7266
# via
7367
# importlib-metadata
7468
# pydantic
75-
zipp==3.6.0 \
76-
--hash=sha256:71c644c5369f4a6e07636f0aa966270449561fcea2e3d6747b8d23efaa9d7832 \
77-
--hash=sha256:9fe5ea21568a0a70e50f273397638d39b03353731e6cbbb3fd8502a33fec40bc
69+
zipp==3.7.0 \
70+
--hash=sha256:9f50f446828eb9d45b267433fd3e9da8d801f614129124863f9c51ebceafb87d \
71+
--hash=sha256:b47250dd24f92b7dd6a0a8fc5244da14608f3ca90a5efcd37a3b1642fac9a375
7872
# via importlib-metadata

0 commit comments

Comments
 (0)