Skip to content

Commit d0b6a8c

Browse files
authored
Update packages (#172)
1 parent 9b53af9 commit d0b6a8c

File tree

9 files changed

+471
-470
lines changed

9 files changed

+471
-470
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ The TypeScript part handles working with VS Code and its UI. The extension templ
1414

1515
1. VS Code 1.64.0 or greater
1616
1. Python 3.8 or greater
17-
1. node >= 14.19.0
18-
1. npm >= 8.3.0 (`npm` is installed with node, check npm version, use `npm install -g [email protected]` to update)
17+
1. node >= 18.17.0
18+
1. npm >= 8.19.0 (`npm` is installed with node, check npm version, use `npm install -g [email protected]` to update)
1919
1. Python extension for VS Code
2020

2121
You should know to create and work with python virtual environments.
@@ -24,7 +24,7 @@ You should know to create and work with python virtual environments.
2424

2525
1. Use this [template to create your repo](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).
2626
1. Check-out your repo locally on your development machine.
27-
1. Create and activate a python virtual environment for this project in a terminal. Be sure to use the minimum version of python for your tool. This template was written to work with python 3.7 or greater.
27+
1. Create and activate a python virtual environment for this project in a terminal. Be sure to use the minimum version of python for your tool. This template was written to work with python 3.8 or greater.
2828
1. Install `nox` in the activated environment: `python -m pip install nox`.
2929
1. Add your favorite tool to `requirements.in`
3030
1. Run `nox --session setup`.

package-lock.json

Lines changed: 343 additions & 311 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -134,25 +134,25 @@
134134
]
135135
},
136136
"dependencies": {
137-
"@vscode/python-extension": "1.0.1",
138-
"fs-extra": "^11.1.1",
137+
"@vscode/python-extension": "^1.0.5",
138+
"fs-extra": "^11.2.0",
139139
"vscode-languageclient": "^8.1.0"
140140
},
141141
"devDependencies": {
142-
"@types/fs-extra": "^11.0.1",
142+
"@types/fs-extra": "^11.0.4",
143143
"@types/vscode": "1.78.0",
144144
"@types/glob": "^8.1.0",
145145
"@types/node": "16.x",
146-
"@typescript-eslint/eslint-plugin": "^6.2.0",
147-
"@typescript-eslint/parser": "^6.2.0",
148-
"@vscode/test-electron": "^2.3.3",
149-
"@vscode/vsce": "^2.19.0",
150-
"eslint": "^8.45.0",
151-
"glob": "^10.3.3",
152-
"prettier": "^3.0.0",
153-
"typescript": "^5.1.6",
154-
"ts-loader": "^9.4.4",
155-
"webpack": "^5.88.2",
146+
"@typescript-eslint/eslint-plugin": "^6.17.0",
147+
"@typescript-eslint/parser": "^6.17.0",
148+
"@vscode/test-electron": "^2.3.8",
149+
"@vscode/vsce": "^2.22.0",
150+
"eslint": "^8.56.0",
151+
"glob": "^10.3.10",
152+
"prettier": "^3.1.1",
153+
"typescript": "^5.3.3",
154+
"ts-loader": "^9.5.1",
155+
"webpack": "^5.89.0",
156156
"webpack-cli": "^5.1.4"
157157
}
158158
}

requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is used to generate requirements.txt.
22
# NOTE:
3-
# Use Python 3.7 or greater which ever is the minimum version of the python
3+
# Use Python 3.8 or greater which ever is the minimum version of the python
44
# you plan on supporting when creating the environment or using pip-tools.
55
# Only run the commands below to manully upgrade packages in requirements.txt:
66
# 1) python -m pip install pip-tools

requirements.txt

Lines changed: 24 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,36 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.7
2+
# This file is autogenerated by pip-compile with Python 3.8
33
# by the following command:
44
#
5-
# pip-compile --generate-hashes --resolver=backtracking ./requirements.in
5+
# pip-compile --generate-hashes ./requirements.in
66
#
7-
attrs==23.1.0 \
8-
--hash=sha256:1f28b4522cdc2fb4256ac1a020c78acf9cba2c6b461ccd2c126f3aa8e8335d04 \
9-
--hash=sha256:6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015
7+
attrs==23.2.0 \
8+
--hash=sha256:935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30 \
9+
--hash=sha256:99b87a485a5820b23b879f04c2305b44b951b502fd64be915879d77a7e8fc6f1
1010
# via
1111
# cattrs
1212
# lsprotocol
13-
cattrs==23.1.2 \
14-
--hash=sha256:b2bb14311ac17bed0d58785e5a60f022e5431aca3932e3fc5cc8ed8639de50a4 \
15-
--hash=sha256:db1c821b8c537382b2c7c66678c3790091ca0275ac486c76f3c8f3920e83c657
13+
cattrs==23.2.3 \
14+
--hash=sha256:0341994d94971052e9ee70662542699a3162ea1e0c62f7ce1b4a57f563685108 \
15+
--hash=sha256:a934090d95abaa9e911dac357e3a8699e0b4b14f8529bcc7d2b1ad9d51672b9f
1616
# via lsprotocol
17-
exceptiongroup==1.1.2 \
18-
--hash=sha256:12c3e887d6485d16943a309616de20ae5582633e0a2eda17f4e10fd61c1e8af5 \
19-
--hash=sha256:e346e69d186172ca7cf029c8c1d16235aa0e04035e5750b4b95039e65204328f
17+
exceptiongroup==1.2.0 \
18+
--hash=sha256:4bfd3996ac73b41e9b9628b04e079f193850720ea5945fc96a08633c66912f14 \
19+
--hash=sha256:91f5c769735f051a4290d52edd0858999b57e5876e9f85937691bd4c9fa3ed68
2020
# via cattrs
21-
importlib-metadata==6.7.0 \
22-
--hash=sha256:1aaf550d4f73e5d6783e7acb77aec43d49da8017410afae93822cc9cca98c4d4 \
23-
--hash=sha256:cb52082e659e97afc5dac71e79de97d8681de3aa07ff18578330904a9d18e5b5
24-
# via
25-
# attrs
26-
# typeguard
27-
lsprotocol==2023.0.0a2 \
28-
--hash=sha256:80aae7e39171b49025876a524937c10be2eb986f4be700ca22ee7d186b8488aa \
29-
--hash=sha256:c4f2f77712b50d065b17f9b50d2b88c480dc2ce4bbaa56eea8269dbf54bc9701
21+
lsprotocol==2023.0.0 \
22+
--hash=sha256:c9d92e12a3f4ed9317d3068226592860aab5357d93cf5b2451dc244eee8f35f2 \
23+
--hash=sha256:e85fc87ee26c816adca9eb497bb3db1a7c79c477a11563626e712eaccf926a05
3024
# via pygls
31-
packaging==23.1 \
32-
--hash=sha256:994793af429502c4ea2ebf6bf664629d07c1a9fe974af92966e4b8d2df7edc61 \
33-
--hash=sha256:a392980d2b6cffa644431898be54b0045151319d1e7ec34f0cfed48767dd334f
25+
packaging==23.2 \
26+
--hash=sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5 \
27+
--hash=sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7
3428
# via -r ./requirements.in
35-
pygls==1.0.2 \
36-
--hash=sha256:6d278d29fa6559b0f7a448263c85cb64ec6e9369548b02f1a7944060848b21f9 \
37-
--hash=sha256:888ed63d1f650b4fc64d603d73d37545386ec533c0caac921aed80f80ea946a4
29+
pygls==1.2.1 \
30+
--hash=sha256:04f9b9c115b622dcc346fb390289066565343d60245a424eca77cb429b911ed8 \
31+
--hash=sha256:7dcfcf12b6f15beb606afa46de2ed348b65a279c340ef2242a9a35c22eeafe94
3832
# via -r ./requirements.in
39-
typeguard==3.0.2 \
40-
--hash=sha256:bbe993854385284ab42fd5bd3bee6f6556577ce8b50696d6cb956d704f286c8e \
41-
--hash=sha256:fee5297fdb28f8e9efcb8142b5ee219e02375509cd77ea9d270b5af826358d5a
42-
# via pygls
43-
typing-extensions==4.7.1 \
44-
--hash=sha256:440d5dd3af93b060174bf433bccd69b0babc3b15b1a8dca43789fd7f61514b36 \
45-
--hash=sha256:b75ddc264f0ba5615db7ba217daeb99701ad295353c45f9e95963337ceeeffb2
46-
# via
47-
# cattrs
48-
# importlib-metadata
49-
# typeguard
50-
zipp==3.15.0 \
51-
--hash=sha256:112929ad649da941c23de50f356a2b5570c954b65150642bccdd66bf194d224b \
52-
--hash=sha256:48904fc76a60e542af151aded95726c1a5c34ed43ab4134b597665c86d7ad556
53-
# via importlib-metadata
33+
typing-extensions==4.9.0 \
34+
--hash=sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783 \
35+
--hash=sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd
36+
# via cattrs

runtime.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
python-3.7.16
1+
python-3.8.17

src/common/python.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ export async function runPythonExtensionCommand(command: string, ...rest: any[])
7070

7171
export function checkVersion(resolved: ResolvedEnvironment | undefined): boolean {
7272
const version = resolved?.version;
73-
if (version?.major === 3 && version?.minor >= 7) {
73+
if (version?.major === 3 && version?.minor >= 8) {
7474
return true;
7575
}
7676
traceError(`Python version ${version?.major}.${version?.minor} is not supported.`);
7777
traceError(`Selected python path: ${resolved?.executable.uri?.fsPath}`);
78-
traceError('Supported versions are 3.7 and above.');
78+
traceError('Supported versions are 3.8 and above.');
7979
return false;
8080
}

src/test/python_tests/requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is used to generate ./src/test/python_tests/requirements.txt.
22
# NOTE:
3-
# Use Python 3.7 or greater which ever is the minimum version of the python
3+
# Use Python 3.8 or greater which ever is the minimum version of the python
44
# you plan on supporting when creating the environment or using pip-tools.
55
# Only run the commands below to manully upgrade packages in requirements.txt:
66
# 1) python -m pip install pip-tools

0 commit comments

Comments
 (0)