Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/positron-python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ defaults:
working-directory: 'extensions/positron-python'

env:
NODE_VERSION: '20.12.1'
NODE_VERSION: '22.17.0'
PYTHON_VERSION: '3.10'
PROJECT_DIR: 'extensions/positron-python'
PYTHON_SRC_DIR: 'extensions/positron-python/python_files'
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
matrix:
os: [ubuntu-latest]
# Run the tests on the oldest and most recent versions of Python.
python: ['3.9', '3.13']
python: ['3.9', '3.13', '3.14']
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding this for now instead of replacing 3.13, until #9654


steps:
- name: Checkout
Expand Down Expand Up @@ -178,6 +178,8 @@ jobs:
python: '3.12'
- os: 'ubuntu-latest'
python: '3.13'
- os: 'ubuntu-latest'
python: '3.14'
env:
SNOWFLAKE_ACCOUNT: ${{ secrets.SNOWFLAKE_ACCOUNT }}
SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }}
Expand Down Expand Up @@ -428,4 +430,3 @@ jobs:
- name: Run TypeScript functional tests
run: npm run test:functional
if: matrix.test-suite == 'functional'

6 changes: 5 additions & 1 deletion .github/workflows/positron-python-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defaults:
working-directory: 'extensions/positron-python'

env:
NODE_VERSION: '18.17.1'
NODE_VERSION: '22.17.0'
PYTHON_VERSION: '3.10'
PROJECT_DIR: 'extensions/positron-python'
PYTHON_SRC_DIR: 'extensions/positron-python/python_files'
Expand Down Expand Up @@ -43,6 +43,8 @@ jobs:
python: '3.12'
- os: 'ubuntu-latest'
python: '3.13'
- os: 'ubuntu-latest'
python: '3.14'


steps:
Expand Down Expand Up @@ -97,6 +99,8 @@ jobs:
python: '3.12'
- os: 'ubuntu-latest'
python: '3.13'
- os: 'ubuntu-latest'
python: '3.14'


steps:
Expand Down
20 changes: 10 additions & 10 deletions extensions/positron-python/.github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
permissions: {}

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

- name: Checkout Python Environment Tools
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: 'microsoft/python-environment-tools'
path: 'python-env-tools'
Expand All @@ -115,7 +115,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
persist-credentials: false

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

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
persist-credentials: false

Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
path: ${{ env.special-working-directory-relative }}
persist-credentials: false
Expand Down Expand Up @@ -218,13 +218,13 @@ jobs:
test-suite: [ts-unit, venv, single-workspace, multi-workspace, debugger, functional]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
path: ${{ env.special-working-directory-relative }}
persist-credentials: false

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

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Checkout Python Environment Tools
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: 'microsoft/python-environment-tools'
path: ${{ env.special-working-directory-relative }}/python-env-tools
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
persist-credentials: false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
persist-credentials: false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: 'microsoft/vscode-github-triage-actions'
path: ./actions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: 'microsoft/vscode-github-triage-actions'
ref: stable
Expand Down
30 changes: 15 additions & 15 deletions extensions/positron-python/.github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
permissions: {}

env:
NODE_VERSION: 20.18.1
NODE_VERSION: 22.17.0
PYTHON_VERSION: '3.10' # YML treats 3.10 the number as 3.1, so quotes around 3.10
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.
ARTIFACT_NAME_VSIX: ms-python-insiders-vsix
Expand Down Expand Up @@ -57,12 +57,12 @@ jobs:
# vsix-target: alpine-arm64
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Checkout Python Environment Tools
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: 'microsoft/python-environment-tools'
path: 'python-env-tools'
Expand All @@ -87,7 +87,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
persist-credentials: false

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

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Checkout Python Environment Tools
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: 'microsoft/python-environment-tools'
path: 'python-env-tools'
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
path: ${{ env.special-working-directory-relative }}
persist-credentials: false
Expand Down Expand Up @@ -215,13 +215,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
path: ${{ env.special-working-directory-relative }}
persist-credentials: false

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

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
path: ${{ env.special-working-directory-relative }}
persist-credentials: false

- name: Checkout Python Environment Tools
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: 'microsoft/python-environment-tools'
path: ${{ env.special-working-directory-relative }}/python-env-tools
Expand Down Expand Up @@ -452,12 +452,12 @@ jobs:
steps:
# Need the source to have the tests available.
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Checkout Python Environment Tools
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: 'microsoft/python-environment-tools'
path: python-env-tools
Expand Down Expand Up @@ -488,12 +488,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Checkout Python Environment Tools
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: 'microsoft/python-environment-tools'
path: python-env-tools
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
steps:
- name: Checkout Actions
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: 'microsoft/vscode-github-triage-actions'
path: ./actions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
issues: write
steps:
- name: Checkout Actions
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: 'microsoft/vscode-github-triage-actions'
ref: stable
Expand All @@ -39,7 +39,7 @@ jobs:
issues: write
steps:
- name: Checkout Actions
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: 'microsoft/vscode-github-triage-actions'
ref: stable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ extends:
buildSteps:
- task: NodeTool@0
inputs:
versionSpec: '20.18.1'
versionSpec: '22.17.0'
displayName: Select Node version

- task: UsePythonVersion@0
Expand Down
4 changes: 2 additions & 2 deletions extensions/positron-python/build/azure-pipeline.stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ extends:
buildSteps:
- task: NodeTool@0
inputs:
versionSpec: '20.18.1'
versionSpec: '22.17.0'
displayName: Select Node version

- task: UsePythonVersion@0
Expand Down Expand Up @@ -128,7 +128,7 @@ extends:
project: 'Monaco'
definition: 593
buildVersionToDownload: 'latestFromBranch'
branchName: 'refs/heads/release/2025.12'
branchName: 'refs/heads/release/2025.14'
targetPath: '$(Build.SourcesDirectory)/python-env-tools/bin'
artifactName: 'bin-$(buildTarget)'
itemPattern: |
Expand Down
6 changes: 3 additions & 3 deletions extensions/positron-python/build/azure-pipelines/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ extends:
testPlatforms:
- name: Linux
nodeVersions:
- 20.18.1
- 22.17.0
- name: MacOS
nodeVersions:
- 20.18.1
- 22.17.0
- name: Windows
nodeVersions:
- 20.18.1
- 22.17.0
testSteps:
- template: /build/azure-pipelines/templates/test-steps.yml@self
parameters:
Expand Down
2 changes: 1 addition & 1 deletion extensions/positron-python/build/test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pydocstyle
prospector
pytest
flask
fastapi
fastapi; python_version < '3.14'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #9654 for discussion on all these python_version < '3.14' and the skipped tests below!

uvicorn
django
testresources
Expand Down
2 changes: 1 addition & 1 deletion extensions/positron-python/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ async function vendorPythonKernelRequirements() {
}

async function bundleIPykernel() {
const pythonVersions = ['3.9', '3.10', '3.11', '3.12', '3.13'];
const pythonVersions = ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'];
const minimumPythonVersion = '3.9';

// Pure Python 3 requirements.
Expand Down
Loading
Loading