Ipykernel releases and branches

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

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

Đánh giá

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

Hướng nghiên cứu

Rà soát thứ tự branch được đề xuất cho main, 6.x, branch anyio và commit 7603443b, cùng với các bước release cho 6.30.0 và 7.0.0. Trước tiên, hãy xác nhận việc phối hợp cần thiết với các maintainer và các cơ chế bảo vệ branch của repository; công việc được xem là hoàn tất khi bố cục branch và các release khớp với kế hoạch mà không làm gián đoạn các pull request hiện có hoặc việc version gating ở downstream.

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

Mô tả

maintenance

(Reposted from Jupyter Zulip)

There are some plans for ipykernel releases and branch manipulations that I am sharing here for maximum exposure. All comments gratefully received.

The latest ipykernel release was 6.29.5 in July 2024. The current main branch has almost but not quite complete implementations of anyio (instead of tornado) and subshells (JEP91) and it was originally intended that these would be in a 7.0.0 release. However, there are concerns about the use of anyio going forward so I have instead backported subshells to the current 6.x branch so it can be released without anyio (issue #1387).

The release of ipykernel with subshells but not anyio could have been 6.30.0 or 7.0.0, but we have decided that 7.0.0 is more sensible. Subshells do not have to be used and the implementation is backward compatible in the sense that it passes all downstream tests in the ipykernel CI but now shell channel messages are handled in a separate thread and this could break downstream projects that are assuming otherwise, or that might now receive messages with different timings or in a different order. 7.0.0 will allow downstream projects to version gate on ipykernel<7 while they check and fix such issues.

We also think it wise to make a 6.30.0 release anyway based on the 6.x branch before subshells was added so that we can support the 6.x branch whilst projects are transferring to 7.

This needs some branch manipulation in the ipykernel repo:

  1. main renamed to anyio or some other name implying future or 8.x
  2. 6.x renamed to main
  3. 6.x before subshells were added (commit 7603443b) becomes the head of 6.x

I have sufficient permissions in the ipykernel repo to make these changes, but given the potential for messing things up I will only do in the presence of another maintainer; both Jason and Zach have previously said they might be available and are good choices being members of both the Jupyter Kernels Council and the EC.

Planned sequence of changes:

  1. Rename main to anyio, moving across all current PRs submitted against main
  2. Rename 6.x to main, set as default branch and update branch rules to protect against a push.
  3. Use commit 7603443b as the new head of 6.x
  4. Backport maintainance fixes from old main to new main and 6.x branches
  5. Release 6.30.0 from 6.x branch
  6. Release 7.0.0 from main branch
  7. Longer term discussion on the use of anyio vs tornado etc

I would like to start this soon, meaning weeks rather than months.

Ngôn ngữ chính
Python
Star
734
Fork
411
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
9

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.

Issue khác của ipython/ipykernel

Tất cả issue của ipython/ipykernel

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.