matlab.engine versions are not standard for Python packages
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start with the package installed from matlabroot/extern/engines/python and inspect how the matlab.engine version is declared; compare it with Python packaging version requirements and the Poetry failure described. Done means the released version format is standards-compliant, distinguishes R2018a/R2018b and bugfix releases, and the installation path no longer causes Poetry to choke.
Written by the indexing model from the issue text.
Description
Using a version of, e.g. "R2018a" is not a standard version number that meets the Pep requirements for python packaging, and as a result causes issues with some programs that assume the standards are being met.
I suggest switching to a semver approach, such as "2018.1.x" for R2018A and "2018.2.x" for R2018B. This allows for proper versioning of bugfix releases as well, similar to the release versions of the major Matlab versions (i.e. R2019a release 8, etc.). Currently, the Poetry dependency manager for Python chokes on matlab.engine versions as a result after installation.
Note: This was after installing from matlabroot/extern/engines/python directly, the pip install method may be different.
- Dominant language
- Python
- Stars
- 97
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mathworks/matlab-engine-for-python
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
Support sparse array Open
Difficulty 4/5 3-5 days Newbie friendliness 42/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in mathworks/matlab-engine-for-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
anthropics/skills#1811 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
speaches-ai/speaches#678 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
datalayer/mcp-compose#42 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
conda-forge/spacy-feedstock#177 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
UKGovernmentBEIS/inspect_evals#2523 ·