From f86eb5f89bc0bd05b407040082d0679feff09090 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Tue, 7 Apr 2026 16:02:32 -0400 Subject: Removed PY38 and PY39 version constants. As the oldest supported version is Django 5.2, we only need constants for PY310+. --- django/utils/version.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/django/utils/version.py b/django/utils/version.py index 9f694070c5..be727df7b6 100644 --- a/django/utils/version.py +++ b/django/utils/version.py @@ -13,8 +13,6 @@ PYPY = sys.implementation.name == "pypy" # or later". So that third-party apps can use these values, each constant # should remain as long as the oldest supported Django version supports that # Python version. -PY38 = sys.version_info >= (3, 8) -PY39 = sys.version_info >= (3, 9) PY310 = sys.version_info >= (3, 10) PY311 = sys.version_info >= (3, 11) PY312 = sys.version_info >= (3, 12) -- cgit v1.3