Upgrade Django from 3.2 to 4.2

オープン
#6,443 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
1/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
django, python
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
JavaScript
スター
214
フォーク
327
平均マージ
17時間 5分
マージ済み PR(30日)
25

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

learningequality/studio のほかの issue

learningequality/studio の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。