Skip to content

Commit 871903d

Browse files
python: upstream merge: v2025.14.0 (#9613)
Addresses #9541 and #9419. Merging in v2025.14.0 of the upstream python extension, plus monthly maintenance, plus adding support for Python 3.14. ### Release Notes <!-- Optionally, replace `N/A` with text to be included in the next release notes. The `N/A` bullets are ignored. If you refer to one or more Positron issues, these issues are used to collect information about the feature or bugfix, such as the relevant language pack as determined by Github labels of type `lang: `. The note will automatically be tagged with the language. These notes are typically filled by the Positron team. If you are an external contributor, you may ignore this section. --> #### New Features - Added preview support for Python 3.14 #9419 #### Bug Fixes - N/A ### QA Notes <!-- Positron team members: please add relevant e2e test tags, so the tests can be run when you open this pull request. - Instructions: https://github.com/posit-dev/positron/blob/main/test/e2e/README.md#pull-requests-and-test-tags - Available tags: https://github.com/posit-dev/positron/blob/main/test/e2e/infra/test-runner/test-tags.ts --> @:web @:win <!-- Add additional information for QA on how to validate the change, paying special attention to the level of risk, adjacent areas that could be affected by the change, and any important contextual information not present in the linked issues. --> It might be good to manually test that everything works with Python 3.14. I recommend downloading from https://www.python.org/downloads/release/python-3140rc3/ instead of using `uv` because they don't have the latest release candidate as of this writing. Watch out for #9655 if you're testing. --------- Co-authored-by: positron-bot[bot] <173392469+positron-bot[bot]@users.noreply.github.com>
1 parent 967378e commit 871903d

File tree

48 files changed

+445
-330
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+445
-330
lines changed

.github/workflows/positron-python-ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defaults:
2323
working-directory: 'extensions/positron-python'
2424

2525
env:
26-
NODE_VERSION: '20.12.1'
26+
NODE_VERSION: '22.17.0'
2727
PYTHON_VERSION: '3.10'
2828
PROJECT_DIR: 'extensions/positron-python'
2929
PYTHON_SRC_DIR: 'extensions/positron-python/python_files'
@@ -131,7 +131,7 @@ jobs:
131131
matrix:
132132
os: [ubuntu-latest]
133133
# Run the tests on the oldest and most recent versions of Python.
134-
python: ['3.9', '3.13']
134+
python: ['3.9', '3.13', '3.14']
135135

136136
steps:
137137
- name: Checkout
@@ -178,6 +178,8 @@ jobs:
178178
python: '3.12'
179179
- os: 'ubuntu-latest'
180180
python: '3.13'
181+
- os: 'ubuntu-latest'
182+
python: '3.14'
181183
env:
182184
SNOWFLAKE_ACCOUNT: ${{ secrets.SNOWFLAKE_ACCOUNT }}
183185
SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }}
@@ -428,4 +430,3 @@ jobs:
428430
- name: Run TypeScript functional tests
429431
run: npm run test:functional
430432
if: matrix.test-suite == 'functional'
431-

.github/workflows/positron-python-nightly.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ defaults:
1111
working-directory: 'extensions/positron-python'
1212

1313
env:
14-
NODE_VERSION: '18.17.1'
14+
NODE_VERSION: '22.17.0'
1515
PYTHON_VERSION: '3.10'
1616
PROJECT_DIR: 'extensions/positron-python'
1717
PYTHON_SRC_DIR: 'extensions/positron-python/python_files'
@@ -43,6 +43,8 @@ jobs:
4343
python: '3.12'
4444
- os: 'ubuntu-latest'
4545
python: '3.13'
46+
- os: 'ubuntu-latest'
47+
python: '3.14'
4648

4749

4850
steps:
@@ -97,6 +99,8 @@ jobs:
9799
python: '3.12'
98100
- os: 'ubuntu-latest'
99101
python: '3.13'
102+
- os: 'ubuntu-latest'
103+
python: '3.14'
100104

101105

102106
steps:

extensions/positron-python/.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
permissions: {}
1212

1313
env:
14-
NODE_VERSION: 20.18.1
14+
NODE_VERSION: 22.17.0
1515
PYTHON_VERSION: '3.10' # YML treats 3.10 the number as 3.1, so quotes around 3.10
1616
# Force a path with spaces and to test extension works in these scenarios
1717
# Unicode characters are causing 2.7 failures so skip that for now.
@@ -84,12 +84,12 @@ jobs:
8484
# vsix-target: alpine-arm64
8585
steps:
8686
- name: Checkout
87-
uses: actions/checkout@v4
87+
uses: actions/checkout@v5
8888
with:
8989
persist-credentials: false
9090

9191
- name: Checkout Python Environment Tools
92-
uses: actions/checkout@v4
92+
uses: actions/checkout@v5
9393
with:
9494
repository: 'microsoft/python-environment-tools'
9595
path: 'python-env-tools'
@@ -115,7 +115,7 @@ jobs:
115115
runs-on: ubuntu-latest
116116
steps:
117117
- name: Checkout
118-
uses: actions/checkout@v4
118+
uses: actions/checkout@v5
119119
with:
120120
persist-credentials: false
121121

@@ -135,7 +135,7 @@ jobs:
135135
python-version: ${{ env.PYTHON_VERSION }}
136136

137137
- name: Checkout
138-
uses: actions/checkout@v4
138+
uses: actions/checkout@v5
139139
with:
140140
persist-credentials: false
141141

@@ -178,7 +178,7 @@ jobs:
178178

179179
steps:
180180
- name: Checkout
181-
uses: actions/checkout@v4
181+
uses: actions/checkout@v5
182182
with:
183183
path: ${{ env.special-working-directory-relative }}
184184
persist-credentials: false
@@ -218,13 +218,13 @@ jobs:
218218
test-suite: [ts-unit, venv, single-workspace, multi-workspace, debugger, functional]
219219
steps:
220220
- name: Checkout
221-
uses: actions/checkout@v4
221+
uses: actions/checkout@v5
222222
with:
223223
path: ${{ env.special-working-directory-relative }}
224224
persist-credentials: false
225225

226226
- name: Checkout Python Environment Tools
227-
uses: actions/checkout@v4
227+
uses: actions/checkout@v5
228228
with:
229229
repository: 'microsoft/python-environment-tools'
230230
path: ${{ env.special-working-directory-relative }}/python-env-tools
@@ -426,12 +426,12 @@ jobs:
426426

427427
steps:
428428
- name: Checkout
429-
uses: actions/checkout@v4
429+
uses: actions/checkout@v5
430430
with:
431431
persist-credentials: false
432432

433433
- name: Checkout Python Environment Tools
434-
uses: actions/checkout@v4
434+
uses: actions/checkout@v5
435435
with:
436436
repository: 'microsoft/python-environment-tools'
437437
path: ${{ env.special-working-directory-relative }}/python-env-tools

extensions/positron-python/.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v5
4040
with:
4141
persist-credentials: false
4242

extensions/positron-python/.github/workflows/gen-issue-velocity.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818
with:
1919
persist-credentials: false
2020

extensions/positron-python/.github/workflows/info-needed-closer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout Actions
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818
with:
1919
repository: 'microsoft/vscode-github-triage-actions'
2020
path: ./actions

extensions/positron-python/.github/workflows/issue-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout Actions
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v5
2121
with:
2222
repository: 'microsoft/vscode-github-triage-actions'
2323
ref: stable

extensions/positron-python/.github/workflows/pr-check.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
permissions: {}
1111

1212
env:
13-
NODE_VERSION: 20.18.1
13+
NODE_VERSION: 22.17.0
1414
PYTHON_VERSION: '3.10' # YML treats 3.10 the number as 3.1, so quotes around 3.10
1515
MOCHA_REPORTER_JUNIT: true # Use the mocha-multi-reporters and send output to both console (spec) and JUnit (mocha-junit-reporter). Also enables a reporter which exits the process running the tests if it haven't already.
1616
ARTIFACT_NAME_VSIX: ms-python-insiders-vsix
@@ -57,12 +57,12 @@ jobs:
5757
# vsix-target: alpine-arm64
5858
steps:
5959
- name: Checkout
60-
uses: actions/checkout@v4
60+
uses: actions/checkout@v5
6161
with:
6262
persist-credentials: false
6363

6464
- name: Checkout Python Environment Tools
65-
uses: actions/checkout@v4
65+
uses: actions/checkout@v5
6666
with:
6767
repository: 'microsoft/python-environment-tools'
6868
path: 'python-env-tools'
@@ -87,7 +87,7 @@ jobs:
8787
runs-on: ubuntu-latest
8888
steps:
8989
- name: Checkout
90-
uses: actions/checkout@v4
90+
uses: actions/checkout@v5
9191
with:
9292
persist-credentials: false
9393

@@ -106,12 +106,12 @@ jobs:
106106
python-version: ${{ env.PYTHON_VERSION }}
107107

108108
- name: Checkout
109-
uses: actions/checkout@v4
109+
uses: actions/checkout@v5
110110
with:
111111
persist-credentials: false
112112

113113
- name: Checkout Python Environment Tools
114-
uses: actions/checkout@v4
114+
uses: actions/checkout@v5
115115
with:
116116
repository: 'microsoft/python-environment-tools'
117117
path: 'python-env-tools'
@@ -162,7 +162,7 @@ jobs:
162162

163163
steps:
164164
- name: Checkout
165-
uses: actions/checkout@v4
165+
uses: actions/checkout@v5
166166
with:
167167
path: ${{ env.special-working-directory-relative }}
168168
persist-credentials: false
@@ -215,13 +215,13 @@ jobs:
215215

216216
steps:
217217
- name: Checkout
218-
uses: actions/checkout@v4
218+
uses: actions/checkout@v5
219219
with:
220220
path: ${{ env.special-working-directory-relative }}
221221
persist-credentials: false
222222

223223
- name: Checkout Python Environment Tools
224-
uses: actions/checkout@v4
224+
uses: actions/checkout@v5
225225
with:
226226
repository: 'microsoft/python-environment-tools'
227227
path: ${{ env.special-working-directory-relative }}/python-env-tools
@@ -412,13 +412,13 @@ jobs:
412412

413413
steps:
414414
- name: Checkout
415-
uses: actions/checkout@v4
415+
uses: actions/checkout@v5
416416
with:
417417
path: ${{ env.special-working-directory-relative }}
418418
persist-credentials: false
419419

420420
- name: Checkout Python Environment Tools
421-
uses: actions/checkout@v4
421+
uses: actions/checkout@v5
422422
with:
423423
repository: 'microsoft/python-environment-tools'
424424
path: ${{ env.special-working-directory-relative }}/python-env-tools
@@ -452,12 +452,12 @@ jobs:
452452
steps:
453453
# Need the source to have the tests available.
454454
- name: Checkout
455-
uses: actions/checkout@v4
455+
uses: actions/checkout@v5
456456
with:
457457
persist-credentials: false
458458

459459
- name: Checkout Python Environment Tools
460-
uses: actions/checkout@v4
460+
uses: actions/checkout@v5
461461
with:
462462
repository: 'microsoft/python-environment-tools'
463463
path: python-env-tools
@@ -488,12 +488,12 @@ jobs:
488488

489489
steps:
490490
- name: Checkout
491-
uses: actions/checkout@v4
491+
uses: actions/checkout@v5
492492
with:
493493
persist-credentials: false
494494

495495
- name: Checkout Python Environment Tools
496-
uses: actions/checkout@v4
496+
uses: actions/checkout@v5
497497
with:
498498
repository: 'microsoft/python-environment-tools'
499499
path: python-env-tools

extensions/positron-python/.github/workflows/test-plan-item-validator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
1313
steps:
1414
- name: Checkout Actions
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v5
1616
with:
1717
repository: 'microsoft/vscode-github-triage-actions'
1818
path: ./actions

extensions/positron-python/.github/workflows/triage-info-needed.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
issues: write
1616
steps:
1717
- name: Checkout Actions
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
with:
2020
repository: 'microsoft/vscode-github-triage-actions'
2121
ref: stable
@@ -39,7 +39,7 @@ jobs:
3939
issues: write
4040
steps:
4141
- name: Checkout Actions
42-
uses: actions/checkout@v4
42+
uses: actions/checkout@v5
4343
with:
4444
repository: 'microsoft/vscode-github-triage-actions'
4545
ref: stable

0 commit comments

Comments
 (0)