Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-41385: [CI][MATLAB][Packaging] Add support for MATLAB R2024a in CI and crossbow packaging workflows #41504

Merged
merged 6 commits into from
May 3, 2024

Conversation

sgilmore10
Copy link
Member

@sgilmore10 sgilmore10 commented May 2, 2024

Rationale for this change

MATLAB R2024a is the latest available version of MATLAB as of April 2024.

We are currently building against MATLAB R2023a in CI and for the crossbow packaging workflow.

We should update the version of MATLAB we support to the latest available version.

We previously created an issue to use R2023b (#37809). However, R2024a has become publicly available since then.

What changes are included in this PR?

  1. Changed the release argument supplied to matlab-actions/setup-matlab@v2 to R2024a from R2023a in .github/workflows/matlab.yml and dev/tasks/matlab/github.yml.

  2. Updated the script used to package the MLTBX file (arrow/matlab/tools/packageMatlabInterface.m) to specify the version of MATLAB currently running as the only compatible version of MATLAB for the interface.

  3. Updated display tests to react to a change in how class names are formatted when an objected is displayed in the Command Window.

Are these changes tested?

Yes. Existing tests used.

Are there any user-facing changes?

There are no changes to the MATLAB Arrow Interface. However, the MATLAB release used to build, test, and package the interface has been upgraded.

Future Work

  1. We may want to consider building and packaging against multiple versions of MATLAB in parallel, rather than just the latest. This would require some more thought on how many releases back to support over time, however.

  2. [CI][MATLAB] Add job to build and test MATLAB Interface on macos-14 #41435

@sgilmore10
Copy link
Member Author

@github-actions crossbow submit matlab

Copy link

github-actions bot commented May 2, 2024

Only contributors can submit requests to this bot. Please ask someone from the community for help with getting the first commit in.
The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/8928418068

@sgilmore10
Copy link
Member Author

@github-actions crossbow submit matlab

Copy link

github-actions bot commented May 2, 2024

Revision: 4cdfdb9

Submitted crossbow builds: ursacomputing/crossbow @ actions-86458212c1

Task Status
matlab GitHub Actions

@sgilmore10
Copy link
Member Author

Verified the packaged MATLAB Arrow Interface manually by

  1. Installing the MLTBX file on Debian-11, macos-12, macos-14, and Windows 10 AND
  2. Running all unit tests underneath arrow/matlab/test

@sgilmore10 sgilmore10 marked this pull request as ready for review May 2, 2024 20:46
Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

matlab/tools/packageMatlabInterface.m Outdated Show resolved Hide resolved
@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting review Awaiting review labels May 2, 2024
Copy link
Member

@raulcd raulcd left a comment

Choose a reason for hiding this comment

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

LGTM

@sgilmore10 sgilmore10 merged commit c8cf61c into apache:main May 3, 2024
9 checks passed
@sgilmore10 sgilmore10 deleted the GH-41385 branch May 3, 2024 13:42
@sgilmore10 sgilmore10 removed the awaiting merge Awaiting merge label May 3, 2024
Copy link

After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit c8cf61c.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 29 possible false positives for unstable benchmarks that are known to sometimes produce them.

vibhatha pushed a commit to vibhatha/arrow that referenced this pull request May 25, 2024
…a` in CI and crossbow packaging workflows (apache#41504)

### Rationale for this change

MATLAB `R2024a` is the latest available version of MATLAB as of April 2024.

We are currently building against MATLAB `R2023a` in CI and for the crossbow packaging workflow.

We should update the version of MATLAB we support to the latest available version.

We previously created an issue to use `R2023b` (apache#37809). However, `R2024a` has become publicly available since then.

### What changes are included in this PR?

1. Changed the `release` argument supplied to `matlab-actions/setup-matlab@ v2` to `R2024a` from `R2023a` in `.github/workflows/matlab.yml` and `dev/tasks/matlab/github.yml`.

2. Updated the script used to package the MLTBX file (`arrow/matlab/tools/packageMatlabInterface.m`) to specify the version of MATLAB currently running as the only compatible version of MATLAB for the interface. 

3.  Updated display tests to react to a change in how class names are formatted when an objected is displayed in the Command Window.

### Are these changes tested?

Yes. Existing tests used.

### Are there any user-facing changes?

There are no changes to the MATLAB Arrow Interface. However, the MATLAB release used to build, test, and package the interface has been upgraded.

### Future Work

1. We may want to consider building and packaging against multiple versions of MATLAB in parallel, rather than just the latest. This would require some more thought on how many releases back to support over time, however.

2. apache#41435

* GitHub Issue: apache#41385

Lead-authored-by: Sarah Gilmore <[email protected]>
Co-authored-by: Sarah Gilmore <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sarah Gilmore <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants