Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

matlab.engine versions are not standard for Python packages

Đang mở
#12 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
tooling

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
97
Fork
13
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mathworks/matlab-engine-for-python

Tất cả issue của mathworks/matlab-engine-for-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.