From 045d1f78681c264ae2ba82fc99e788a775a320d4 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Thu, 15 Jan 2026 18:58:04 +0100 Subject: [PATCH 1/5] readme listings workflow: upgrade Python version from 3.9 to 3.10 --- .github/workflows/readme_listings.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/readme_listings.yml b/.github/workflows/readme_listings.yml index 5120259e..3a217deb 100644 --- a/.github/workflows/readme_listings.yml +++ b/.github/workflows/readme_listings.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/setup-python@v1 with: - python-version: 3.9 + python-version: "3.10" - uses: jwlawson/actions-setup-cmake@v1.13 with: @@ -50,7 +50,7 @@ jobs: - uses: actions/setup-python@v1 with: - python-version: 3.9 + python-version: "3.10" - uses: jwlawson/actions-setup-cmake@v1.13 with: @@ -118,11 +118,11 @@ jobs: - uses: actions/setup-python@v1 with: - python-version: 3.9 + python-version: "3.10" - uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2010_x86_64 with: - python-versions: cp39-cp39 + python-versions: cp310-cp310 build-requirements: 'setuptools_scm' pre-build-command: 'git config --global --add safe.directory "*"' From 0315e82e6a1c50261ac86d578eb5acb4b6e9ddb0 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Fri, 16 Jan 2026 22:55:20 +0100 Subject: [PATCH 2/5] bump Python to 3.12 and Matlab to R2024b --- .github/workflows/readme_listings.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/readme_listings.yml b/.github/workflows/readme_listings.yml index 3a217deb..888ede34 100644 --- a/.github/workflows/readme_listings.yml +++ b/.github/workflows/readme_listings.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/setup-python@v1 with: - python-version: "3.10" + python-version: "3.12" - uses: jwlawson/actions-setup-cmake@v1.13 with: @@ -50,7 +50,7 @@ jobs: - uses: actions/setup-python@v1 with: - python-version: "3.10" + python-version: "3.12" - uses: jwlawson/actions-setup-cmake@v1.13 with: @@ -118,11 +118,11 @@ jobs: - uses: actions/setup-python@v1 with: - python-version: "3.10" + python-version: "3.12" - uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2010_x86_64 with: - python-versions: cp310-cp310 + python-versions: cp312-cp312 build-requirements: 'setuptools_scm' pre-build-command: 'git config --global --add safe.directory "*"' @@ -134,7 +134,7 @@ jobs: - uses: matlab-actions/setup-matlab@v0 with: - release: R2022a + release: R2024b cache: true - run: mkdir readme_output From 4d05fbaff9a47145952ffbaa9c3688546f3c3f7c Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Sun, 18 Jan 2026 13:06:32 +0100 Subject: [PATCH 3/5] Downgrade Python version from 3.12 to 3.11 (last supported by python-wheels-manylinux-build which is used in the matlab job) --- .github/workflows/readme_listings.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/readme_listings.yml b/.github/workflows/readme_listings.yml index 888ede34..ae48b073 100644 --- a/.github/workflows/readme_listings.yml +++ b/.github/workflows/readme_listings.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/setup-python@v1 with: - python-version: "3.12" + python-version: "3.11" - uses: jwlawson/actions-setup-cmake@v1.13 with: @@ -50,7 +50,7 @@ jobs: - uses: actions/setup-python@v1 with: - python-version: "3.12" + python-version: "3.11" - uses: jwlawson/actions-setup-cmake@v1.13 with: @@ -118,11 +118,11 @@ jobs: - uses: actions/setup-python@v1 with: - python-version: "3.12" + python-version: "3.11" - uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2010_x86_64 with: - python-versions: cp312-cp312 + python-versions: cp311-cp311 build-requirements: 'setuptools_scm' pre-build-command: 'git config --global --add safe.directory "*"' From 5dac3bbc81c6e4a81c68e6b42c069f523e154e9b Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Sun, 18 Jan 2026 13:11:30 +0100 Subject: [PATCH 4/5] Downgrade Python version from 3.11 to 3.10 --- .github/workflows/readme_listings.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/readme_listings.yml b/.github/workflows/readme_listings.yml index ae48b073..71abce06 100644 --- a/.github/workflows/readme_listings.yml +++ b/.github/workflows/readme_listings.yml @@ -118,11 +118,11 @@ jobs: - uses: actions/setup-python@v1 with: - python-version: "3.11" + python-version: "3.10" - uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2010_x86_64 with: - python-versions: cp311-cp311 + python-versions: cp310-cp310 build-requirements: 'setuptools_scm' pre-build-command: 'git config --global --add safe.directory "*"' From b325bdc15c0c3ff6eb36c9328cf9d23852ccc6a4 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Sun, 18 Jan 2026 13:19:29 +0100 Subject: [PATCH 5/5] Downgrade Python version and update MATLAB actions --- .github/workflows/readme_listings.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/readme_listings.yml b/.github/workflows/readme_listings.yml index 71abce06..d4a3d13a 100644 --- a/.github/workflows/readme_listings.yml +++ b/.github/workflows/readme_listings.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/setup-python@v1 with: - python-version: "3.11" + python-version: "3.10" - uses: jwlawson/actions-setup-cmake@v1.13 with: @@ -50,7 +50,7 @@ jobs: - uses: actions/setup-python@v1 with: - python-version: "3.11" + python-version: "3.10" - uses: jwlawson/actions-setup-cmake@v1.13 with: @@ -132,14 +132,14 @@ jobs: - run: python -c "import pytest_codeblocks; code=pytest_codeblocks.extract_from_file('README.md'); f=open('readme.m', 'w'); f.writelines(block.code for block in code if block.syntax=='Matlab'); f.close()" - run: cat -n readme.m - - uses: matlab-actions/setup-matlab@v0 + - uses: matlab-actions/setup-matlab@v2.6.1 with: release: R2024b cache: true - run: mkdir readme_output - - uses: matlab-actions/run-command@v0 + - uses: matlab-actions/run-command@v2.4.0 with: startup-options: -nojvm command: diary('readme_output/matlab.txt'), readme