1- # Copyright 2022 Mathworks, Inc.
1+ # Copyright 2022-2023 Mathworks, Inc.
22
33from setuptools import setup , find_packages
44from setuptools .command .build_py import build_py
@@ -24,7 +24,7 @@ class _MatlabFinder(build_py):
2424 MATLAB_REL = 'R2023a'
2525
2626 # MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
27- MATLAB_VER = '9.14.1a3 '
27+ MATLAB_VER = '9.14.1a4 '
2828
2929 # MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
3030 SUPPORTED_PYTHON_VERSIONS = set (['3.8' , '3.9' , '3.10' ])
@@ -277,7 +277,7 @@ def _check_matlab_ver_against_engine(self, matlab_ver):
277277 matlab_ver_match = re .match (re_major_minor , matlab_ver )
278278 if not matlab_ver_match :
279279 raise RuntimeError (f"{ self .invalid_version_from_matlab_ver .format (ver = matlab_ver )} " )
280- eng_major_minor = self ._get_engine_ver_major_minor (matlab_ver )
280+ eng_major_minor = self ._get_engine_ver_major_minor (self . MATLAB_VER )
281281 matlab_ver_major_minor = (matlab_ver_match .group (1 ), matlab_ver_match .group (2 ))
282282 return (matlab_ver_major_minor == eng_major_minor )
283283
@@ -414,7 +414,7 @@ def run(self):
414414 setup (
415415 name = "matlabengine" ,
416416 # MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
417- version = "9.14.1a3 " ,
417+ version = "9.14.1a4 " ,
418418 description = 'A module to call MATLAB from Python' ,
419419 author = 'MathWorks' ,
420420 license = "MathWorks XSLA License" ,
0 commit comments