Skip to content

Commit 444cbb3

Browse files
Update debugpy version to 1.8.2 (#372)
* Update json to use debugpy 1.8.2 * Uupdate min python version to 3.7 * fix lint and build-vsix
1 parent 02fbc96 commit 444cbb3

File tree

8 files changed

+28
-28
lines changed

8 files changed

+28
-28
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ runs:
1515
node-version: ${{ inputs.node_version }}
1616
cache: 'npm'
1717

18-
# Minimum supported version is Python 3.7
19-
- name: Use Python 3.7
18+
# Minimum supported version is Python 3.8
19+
- name: Use Python 3.8
2020
uses: actions/setup-python@v4
2121
with:
22-
python-version: 3.7
22+
python-version: 3.8
2323

2424
- name: Pip cache
2525
uses: actions/cache@v3

.github/actions/lint/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ runs:
3030
- name: Install Python
3131
uses: actions/setup-python@v4
3232
with:
33-
python-version: '3.7'
33+
python-version: '3.8'
3434

3535
- name: Pip cache
3636
uses: actions/cache@v3

.github/workflows/pr-check.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@ jobs:
4545
fail-fast: false
4646
matrix:
4747
os: [ubuntu-latest, windows-latest]
48-
python: ['3.7', '3.8', '3.9', '3.10', '3.11']
48+
python: ['3.8', '3.9', '3.10', '3.11']
4949

5050
steps:
5151
- name: Checkout
5252
uses: actions/checkout@v3
5353
with:
5454
path: ${{ env.special-working-directory-relative }}
5555

56-
# Install bundled libs using 3.7 even though you test it on other versions.
57-
- name: Use Python 3.7
56+
# Install bundled libs using 3.8 even though you test it on other versions.
57+
- name: Use Python 3.8
5858
uses: actions/setup-python@v4
5959
with:
60-
python-version: '3.7'
60+
python-version: '3.8'
6161

6262
- name: Update pip, install pipx and install wheel
6363
run: python -m pip install -U pip pipx wheel
@@ -78,7 +78,7 @@ jobs:
7878
- name: Install dependencies (npm ci)
7979
run: npm ci
8080

81-
# Now that the bundle is installed to target using python 3.7
81+
# Now that the bundle is installed to target using python 3.8
8282
# switch back the python we want to test with
8383
- name: Use Python ${{ matrix.python }}
8484
uses: actions/setup-python@v4

.github/workflows/push-check.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@ jobs:
5050
fail-fast: false
5151
matrix:
5252
os: [ubuntu-latest, windows-latest]
53-
python: ['3.7', '3.8', '3.9', '3.10', '3.11']
53+
python: ['3.8', '3.9', '3.10', '3.11']
5454

5555
steps:
5656
- name: Checkout
5757
uses: actions/checkout@v3
5858
with:
5959
path: ${{ env.special-working-directory-relative }}
6060

61-
# Install bundled libs using 3.7 even though you test it on other versions.
62-
- name: Use Python 3.7
61+
# Install bundled libs using 3.8 even though you test it on other versions.
62+
- name: Use Python 3.8
6363
uses: actions/setup-python@v4
6464
with:
65-
python-version: '3.7'
65+
python-version: '3.8'
6666

6767
- name: Update pip, install pipx and install wheel
6868
run: python -m pip install -U pip pipx wheel
@@ -83,7 +83,7 @@ jobs:
8383
- name: Install dependencies (npm ci)
8484
run: npm ci
8585

86-
# Now that the bundle is installed to target using python 3.7
86+
# Now that the bundle is installed to target using python 3.8
8787
# switch back the python we want to test with
8888
- name: Use Python ${{ matrix.python }}
8989
uses: actions/setup-python@v4

build/azure-pipeline.pre-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ extends:
6161

6262
- task: UsePythonVersion@0
6363
inputs:
64-
versionSpec: '3.7'
64+
versionSpec: '3.8'
6565
addToPath: true
6666
architecture: 'x64'
6767
displayName: Select Python version

build/azure-pipeline.stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ extends:
5858

5959
- task: UsePythonVersion@0
6060
inputs:
61-
versionSpec: '3.7'
61+
versionSpec: '3.8'
6262
addToPath: true
6363
architecture: 'x64'
6464
displayName: Select Python version

debugpy_info.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
{
22
"macOS": {
3-
"url": "https://files.pythonhosted.org/packages/1d/04/ce7170a5094fe5943b11925d3e11ae7ee6c5c79166f0b0298420995ea9cc/debugpy-1.8.1-cp311-cp311-macosx_11_0_universal2.whl",
3+
"url": "https://files.pythonhosted.org/packages/2b/ba/d06289b7c6194117fcecc88c24dee405b1c14b8e318e7bdf513eb78c3278/debugpy-1.8.2-cp311-cp311-macosx_11_0_universal2.whl",
44
"hash": {
5-
"sha256": "016a9fcfc2c6b57f939673c874310d8581d51a0fe0858e7fac4e240c5eb743cb"
5+
"sha256": "8a13417ccd5978a642e91fb79b871baded925d4fadd4dfafec1928196292aa0a"
66
}
77
},
88
"win32": {
9-
"url": "https://files.pythonhosted.org/packages/0c/27/6dac9f0c3437c992b05375b2fa91d2136e50ea77c5923c58eef6a44e43aa/debugpy-1.8.1-cp311-cp311-win32.whl",
9+
"url": "https://files.pythonhosted.org/packages/49/cd/207d629509949568603008c8cf90cd0a949d1a9d1900936010854732ab93/debugpy-1.8.2-cp311-cp311-win32.whl",
1010
"hash": {
11-
"sha256": "0de56aba8249c28a300bdb0672a9b94785074eb82eb672db66c8144fff673146"
11+
"sha256": "2cbd4d9a2fc5e7f583ff9bf11f3b7d78dfda8401e8bb6856ad1ed190be4281ad"
1212
}
1313
},
1414
"win64": {
15-
"url": "https://files.pythonhosted.org/packages/2a/0e/b6ca28f1a0c86c601c9253e71dbfc2f6acbda6930e53f3295b02911bd5ae/debugpy-1.8.1-cp311-cp311-win_amd64.whl",
15+
"url": "https://files.pythonhosted.org/packages/23/b1/3fc28ba2921234e3fad4a421dcb3185c38066eab0f92702c0d88ce891381/debugpy-1.8.2-cp311-cp311-win_amd64.whl",
1616
"hash": {
17-
"sha256": "1a9fe0829c2b854757b4fd0a338d93bc17249a3bf69ecf765c61d4c522bb92a8"
17+
"sha256": "d3408fddd76414034c02880e891ea434e9a9cf3a69842098ef92f6e809d09afa"
1818
}
1919
},
2020
"linux": {
21-
"url": "https://files.pythonhosted.org/packages/da/65/ec4d2e244ec7f9db0b5250649f3ae6fc6a9df7d4da2c4bcdc46778d9a674/debugpy-1.8.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
21+
"url": "https://files.pythonhosted.org/packages/4f/d6/04ae52227ab7c1d43b729d5ae75ebd592df56c55d4e4dfa30ba173096b0f/debugpy-1.8.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
2222
"hash": {
23-
"sha256": "fd97ed11a4c7f6d042d320ce03d83b20c3fb40da892f994bc041bbc415d7a099"
23+
"sha256": "acdf39855f65c48ac9667b2801234fc64d46778021efac2de7e50907ab90c634"
2424
}
2525
},
2626
"any": {
27-
"url": "https://files.pythonhosted.org/packages/57/ab/6df7e24db51e1db642a5ea1759d44fb656251253995a27deb37af9b192ae/debugpy-1.8.1-py2.py3-none-any.whl",
27+
"url": "https://files.pythonhosted.org/packages/b4/32/dd0707c8557f99496811763c5333ea87bcec1eb233c1efa324c9a8082bff/debugpy-1.8.2-py2.py3-none-any.whl",
2828
"hash": {
29-
"sha256": "28acbe2241222b87e255260c76741e1fbf04fdc3b6d094fcf57b6c6f75ce1242"
29+
"sha256": "16e16df3a98a35c63c3ab1e4d19be4cbc7fdda92d9ddc059294f18910928e0ca"
3030
}
3131
}
3232
}

src/extension/debugger/adapter/factory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export class DebugAdapterDescriptorFactory implements IDebugAdapterDescriptorFac
158158
}
159159
const prompts = [Interpreters.changePythonInterpreter, Common.doNotShowAgain];
160160
const selection = await showErrorMessage(
161-
l10n.t('The debugger in the python extension no longer supports python versions minor than 3.7.'),
161+
l10n.t('The debugger in the python extension no longer supports python versions minor than 3.8.'),
162162
{ modal: true },
163163
...prompts,
164164
);
@@ -180,7 +180,7 @@ export class DebugAdapterDescriptorFactory implements IDebugAdapterDescriptorFac
180180
if (interpreter) {
181181
if (
182182
(interpreter.version?.major ?? 0) < 3 ||
183-
((interpreter.version?.major ?? 0) <= 3 && (interpreter.version?.minor ?? 0) <= 6)
183+
((interpreter.version?.major ?? 0) <= 3 && (interpreter.version?.minor ?? 0) <= 7)
184184
) {
185185
this.showDeprecatedPythonMessage();
186186
}

0 commit comments

Comments
 (0)