NVIDIA / NVIDIA/cuda-python

[FEA]: Provide separate source distributions for individual packages

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

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

CI/CD cuda.bindings enhancement P2
Ngôn ngữ chính
Cython
Star
3.4k
Fork
329
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
116

Mô tả

Is this a duplicate?
Area

General cuda-python

Is your feature request related to a problem? Please describe.

Currently, the cuda-bindings, cuda-core and cuda-python packages on PyPI publish only binary wheels. Source code is available from archives attached to releases, but it includes the whole repository and therefore does not integrate well with standard PEP 517 build process (read: you can't just pip install cuda-python-v12.9.0.tar.gz).

Describe the solution you'd like

While we can work around it, as downstream packagers we would find it much cleaner if you could provide source distributions for each project separately. If you don't want to upload them to PyPI, attaching to releases would also work.

Describe alternatives you've considered

No response

Additional context

I understand that there are currently some cross-package dependencies that require using the monorepo archive. However, I think they could be solved cleanly with help of some symlinks that turn into included subdirectories in sdist. If you agree, I can experiment a bit and prepare a pull request if I get something neat working.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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.

Hướng nghiên cứu

Rà soát cấu hình đóng gói cho các dự án cuda-bindings, cuda-core và cuda-python, sau đó so sánh với các archive release của toàn bộ repository. Xác minh rằng mỗi dự án có thể tạo một source distribution riêng có thể sử dụng bởi một bản build PEP 517 tiêu chuẩn, đồng thời vẫn giữ nguyên các dependency giữa các package; công việc được xem là hoàn tất khi các distribution có thể được đính kèm vào các release hoặc phát hành lên PyPI.

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

Đánh giá

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

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.