tarantool / tarantool/tarantool-python
Pack RPM/DEB for obsolete distros
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 108
- Fork
- 51
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
Follows up #248
In PR #248 we had introduced RPM and DEB packages for distros which have Python 3.7 or newer in its package managers by default. Extending package testing and publish matrices is a complicated task. Why is that?
First, the code works with Python 3.6 or newer, so if system doesn't have it one (including our CI) must set it up manually. Second, running code with Python 3.6 requires dataclasses backport package. And here we come to the packages issue.
It seems rather useless to provide a package for a distro if distribution repositories (or some external popular repos like EPEL) don't have its dependencies. And the case is they mostly don't.
RPM with dataclasses backport is available for EPEL 8 only. It is not so hard to rebuild (see https://github.com/tarantool/tarantool-python/wiki/Building-RPMs draft), but we will need to provide and maintain external packages in Tarantool repo. I also haven't seen any DEBs for dataclasses.
dataclasses is not the only one troublesome package. For example, CentOS 7 (including EPEL 7) does not provide any pandas RPM for Python 3. Rebuilding pandas RPM from EPEL 8 on EPEL 7 is rather challenging task. We also shouldn't forget that pandas has many dependencies and it is possible that we would need to rebuild them to.
Distros planed in this ticket:
- centos:7
- debian:9
- ubuntu:18.04 (and possibly 16.04)
centos:8 is EOL so we don't plan to provide a package for it.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Xem xét PR #248 và các ma trận kiểm thử và phát hành gói, sau đó tham khảo bản nháp wiki được liên kết về việc xây dựng RPMs. Kiểm tra tính sẵn có của các phần phụ thuộc cho CentOS 7, Debian 9 và Ubuntu 18.04 (có thể là 16.04), bao gồm các yêu cầu của Python 3.6. Được coi là hoàn tất khi các gói RPM/DEB được hỗ trợ có thể được xây dựng, kiểm thử và phát hành cho các bản phân phối lỗi thời đã chọn với các phần phụ thuộc tương ứng có sẵn.
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, release
- 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
- 30/100