Repository navigation
ci: pin MATLAB test jobs to ubuntu-24.04 - #948
Merged
Merged
Conversation
ubuntu-latest now resolves to ubuntu-26.04. On that image eight of the eleven release jobs of run_tests.yml fail: - R2021a, R2021b, R2022a: actions/setup-python has no Python 3.9 build for Ubuntu 26.04, and these releases support no newer Python. - R2022b to R2024b: MATLAB's out-of-process Python host aborts with "Failed to load plugin .../pycli/MATLABPyPlugin.so". No release in the matrix lists Ubuntu 26.04 in MathWorks' Linux system requirements. All eleven jobs passed on ubuntu-24.04. Pin the run_tests job of run_tests.yml and the Ubuntu leg of the prepare_release.yml matrix to ubuntu-24.04. Jobs that do not install a matrix MATLAB release stay on ubuntu-latest. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #948 +/- ##
=======================================
Coverage 95.45% 95.45%
=======================================
Files 240 240
Lines 8902 8902
=======================================
Hits 8497 8497
Misses 405 405 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
ehennestad
marked this pull request as ready for review
November 12, 2026 14:09
ehennestad
enabled auto-merge
November 12, 2026 14:09
bendichter
approved these changes
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Problem.
ubuntu-latestnow resolves toubuntu-26.04. On that image eight of the eleven MATLAB release jobs fail on every non-draft PR and every push tomain:actions/setup-pythonhas no Python 3.9 for Ubuntu 26.04, and MathWorks lists no newer Python for these releases.Failed to load plugin '.../pycli/MATLABPyPlugin.so').Solution. Pin the jobs that run a MATLAB release from the test matrix to
ubuntu-24.04, where all eleven pass: therun_testsjob ofrun_tests.ymland the Ubuntu entry of theprepare_release.ymlmatrix.How to test the behavior?
Checklist
fix #XXwhereXXis the issue number?🤖 Generated with Claude Code