Skip to content

Commit 12ec3d8

Browse files
committed
9.15.1a9; ported fix from 9.13.6
1 parent bddea44 commit 12ec3d8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The MATLAB® Engine API for Python® provides a package to integrate MATLA
2121
MATLAB Engine API for Python can be installed directly from the Python Package Index.
2222
<!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
2323
```bash
24-
$ python -m pip install matlabengine==9.15.1a8
24+
$ python -m pip install matlabengine==9.15.1a9
2525
```
2626

2727

@@ -46,7 +46,7 @@ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:<matlabroot>/bin/glnxa64
4646
MATLAB Engine API for Python can be installed directly from the Python Package Index.
4747
<!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
4848
```bash
49-
$ python -m pip install matlabengine==9.15.1a8
49+
$ python -m pip install matlabengine==9.15.1a9
5050
```
5151

5252
### macOS
@@ -70,7 +70,7 @@ setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:<matlabroot>/bin/maci64
7070
MATLAB Engine API for Python can be installed directly from the Python Package Index.
7171
<!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
7272
```bash
73-
$ python -m pip install matlabengine==9.15.1a8
73+
$ python -m pip install matlabengine==9.15.1a9
7474
```
7575

7676
---

setup.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2022 Mathworks, Inc.
1+
# Copyright 2022-2023 Mathworks, Inc.
22

33
from setuptools import setup, find_packages
44
from setuptools.command.build_py import build_py
@@ -24,7 +24,7 @@ class _MatlabFinder(build_py):
2424
MATLAB_REL = 'R2023b'
2525

2626
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
27-
MATLAB_VER = '9.15.1a8'
27+
MATLAB_VER = '9.15.1a9'
2828

2929
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
3030
SUPPORTED_PYTHON_VERSIONS = set(['3.9', '3.10'])
@@ -278,7 +278,7 @@ def _check_matlab_ver_against_engine(self, matlab_ver):
278278
matlab_ver_match = re.match(re_major_minor, matlab_ver)
279279
if not matlab_ver_match:
280280
raise RuntimeError(f"{self.invalid_version_from_matlab_ver.format(ver=matlab_ver)}")
281-
eng_major_minor = self._get_engine_ver_major_minor()
281+
eng_major_minor = self._get_engine_ver_major_minor(matlab_ver)
282282
matlab_ver_major_minor = (matlab_ver_match.group(1), matlab_ver_match.group(2))
283283
return (matlab_ver_major_minor == eng_major_minor)
284284

@@ -415,7 +415,7 @@ def run(self):
415415
setup(
416416
name="matlabengine",
417417
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
418-
version="9.15.1a8",
418+
version="9.15.1a9",
419419
description='A module to call MATLAB from Python',
420420
author='MathWorks',
421421
license="MathWorks XSLA License",

0 commit comments

Comments
 (0)