Skip to content

Commit b19d280

Browse files
committed
Update yml files to use newer versions of actions and update to use node 24, set min and max versions of supported python to pyproject.toml
1 parent 0c8ac9e commit b19d280

File tree

7 files changed

+16
-14
lines changed

7 files changed

+16
-14
lines changed

.github/workflows/publish-jupyter-matlab-proxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
ref: ${{ github.sha }}
3232

3333
- name: Set up Python 3.10
34-
uses: actions/setup-python@v4
34+
uses: actions/setup-python@v5
3535
with:
3636
python-version: 3.10
3737

.github/workflows/publish-tljh-matlab.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 The MathWorks, Inc.
1+
# Copyright 2024-2025 The MathWorks, Inc.
22
name: Upload Python Package for tljh-matlab
33

44
on:
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v4
2323

2424
- name: Set up Python
25-
uses: actions/setup-python@v3
25+
uses: actions/setup-python@v5
2626
with:
2727
python-version: '3.x'
2828

.github/workflows/run-e2e-tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,19 @@ jobs:
1212
run:
1313
working-directory: tests/e2e
1414
env:
15-
NODE_VERSION: 18
16-
PYTHON_VERSION: 3.10
15+
NODE_VERSION: 24
16+
PYTHON_VERSION: '3.10'
17+
1718
steps:
1819
- name: Checkout
1920
uses: actions/checkout@v4
2021

21-
- uses: actions/setup-node@v4
22+
- name: Set up Node ${{ env.NODE_VERSION }}
23+
uses: actions/setup-node@v6
2224
with:
2325
node-version: ${{ env.NODE_VERSION }}
2426

25-
- name: Set up Python
27+
- name: Set up Python ${{ env.PYTHON_VERSION }}
2628
uses: actions/setup-python@v5
2729
with:
2830
python-version: ${{ env.PYTHON_VERSION }}

.github/workflows/run-integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
products: MATLAB Symbolic_Math_Toolbox
3333

3434
- name: Set up Python ${{ matrix.python-version }}
35-
uses: actions/setup-python@v4
35+
uses: actions/setup-python@v5
3636
with:
3737
python-version: ${{ matrix.python-version }}
3838

.github/workflows/run-unit-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
uses: actions/checkout@v3
7878

7979
- name: Set up Python ${{ matrix.python-version }}
80-
uses: actions/setup-python@v4
80+
uses: actions/setup-python@v5
8181
with:
8282
python-version: ${{ matrix.python-version }}
8383

@@ -121,12 +121,12 @@ jobs:
121121
run:
122122
working-directory: src/jupyter_matlab_labextension/src/lezer-matlab/test/
123123
env:
124-
NODE_VERSION: 18
124+
NODE_VERSION: 24
125125
steps:
126126
- name: Checkout
127127
uses: actions/checkout@v4
128128

129-
- uses: actions/setup-node@v4
129+
- uses: actions/setup-node@v6
130130
with:
131131
node-version: ${{ env.NODE_VERSION }}
132132

.github/workflows/test-tljh-matlab.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121
- name: Set up Python 3.10
22-
uses: actions/setup-python@v3
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: "3.10"
2525

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ version = "0.17.2"
1010
description = "MATLAB Integration for Jupyter"
1111
readme = "README.md"
1212
license = { file = "LICENSE.md" }
13-
requires-python = ">=3.8"
13+
requires-python = ">=3.10, <3.14"
1414
authors = [
1515
{ name = "The MathWorks Inc.", email = "jupyter-support@mathworks.com" },
1616
]
@@ -74,7 +74,7 @@ features = [
7474
]
7575

7676
[[tool.hatch.envs.hatch-test.matrix]]
77-
python = ["3.9", "3.10", "3.11", "3.12", "3.13"]
77+
python = ["3.10", "3.11", "3.12", "3.13"]
7878

7979
[project.entry-points.jupyter_serverproxy_servers]
8080
matlab = "jupyter_matlab_proxy:setup_matlab"

0 commit comments

Comments
 (0)