Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

matlab.engine versions are not standard for Python packages

Aperta
#12 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
97
Fork
13
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mathworks/matlab-engine-for-python

Tutte le issue di mathworks/matlab-engine-for-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.