Upgrade Django from 3.2 to 4.2

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

Maintainer thường phản hồi trong vòng 1 ngày

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
1/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
django, python
Lĩnh vực
backend

Hướng nghiên cứu

Read the Django 4.0 and 4.1 release notes, then inspect requirements.in and requirements.txt for Django-coupled dependencies, starting with the django-pgtrigger cap. Upgrade Django to 4.2 and compatible dependencies, then check that pytest, the browser smoke test, and makemigrations --check pass; the issue says this work is not open for contribution.

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

Mô tả

dependencies DEV: backend

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview

Studio pins django==3.2.24. Django 3.2 stopped receiving security fixes in April 2024. Dependency upgrades that need Django ≥ 4.2 are held back until Studio moves to Django 4.2 LTS.

Complexity: High
Target branch: unstable

Context
  • django-cte 2.0.0+ supports only Django 4.2–6.1, so the 5.x bump in #6435 was closed.
  • requirements.in caps django-pgtrigger<4.12.0 because 4.12 drops Django 3.2 support.
The Change
  • Studio should run on Django 4.2 with every Django-coupled dependency at a version that supports it.
Acceptance Criteria
  • requirements.txt pins Django 4.2.x.
  • Each requirements.in cap that exists only because of Django 3.2 is removed, starting with the django-pgtrigger<4.12.0 cap.
  • pytest and the browser smoke test pass.
  • Migrations generated under Django 4.2 produce no unexpected changes from makemigrations --check.
References

AI usage

rtibblesbot (Claude Code) found this blocker while reviewing #6435 and drafted this issue.

Ngôn ngữ chính
JavaScript
Star
214
Fork
327
Merge trung bình
17 giờ 5 phút
Pull request đã merge (30 ngày)
25

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

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 learningequality/studio

Tất cả issue của learningequality/studio

Issue tương tự

Thêm issue về JavaScript

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.