Future proofing package

Đang mở
#190 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
45/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
build-system

Hướng nghiên cứu

Trước tiên, hãy xem xét setup.py, pyproject.toml và requirements.txt, sau đó kiểm tra cấu hình TeamCity và phạm vi kiểm thử hiện có cho các phiên bản Python. Phần công việc còn lại được hoàn tất khi quá trình đóng gói sử dụng pyproject.toml, các phiên bản Python được hỗ trợ 3.9–3.13 được phân loại, các bài kiểm thử bao phủ ít nhất Python 3.9 và 3.13, và các nguồn dependency được hợp nhất.

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

Mô tả

chore

What is the need for this task.
There is lack of official documentation (like classifiers) about which python versions are supported and to my knowledge no py3.13 and numpy 2 tests are executed yet.

What is the task?

  • https://github.com/Deltares/MeshKernelPy/issues/178
  • check if all tests succeed with numpy 2.0, fix in case of failure. >> both numpy>=1.22 (as currently) and numpy 2.* should be supported. Teamcity tests with numpy 2.1.2, so this is supported.
  • add mydeltares as pypi maintainer
  • check support for python 3.13 (and add to supported versions), requires python 3.13.1 because of https://github.com/python/cpython/issues/125235 (was fixed in december 2024) >> meshkernel-related tests in dfm_tools and hydrolib-core pass in python 3.13
  • move from setup.py to pyproject.toml
  • add supported python versions (3.9 to 3.13) as classifiers in pyproject.toml
  • run teamcity tests for other versions than python 3.10 only, at least also the first and the latest supported version (e.g. 3.9 and 3.13), since these will likely result in different versions of dependencies.
  • single source of truth for dependencies, so remove requirements.txt. Use pip install -e . instead or if you only want the dependencies consider toml-to-requirements
Ngôn ngữ chính
Python
Star
30
Fork
5
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
4

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: 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 Deltares/MeshKernelPy

Tất cả issue của Deltares/MeshKernelPy

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.