summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2026-04-07 16:02:32 -0400
committerJacob Walls <jacobtylerwalls@gmail.com>2026-04-08 08:44:06 -0400
commitf86eb5f89bc0bd05b407040082d0679feff09090 (patch)
tree08c313096c429f29ad02d59ddac22bd260e9d4e1
parente2abe321a6f1370e05c1a89a742125c9eafcac8c (diff)
Removed PY38 and PY39 version constants.
As the oldest supported version is Django 5.2, we only need constants for PY310+.
-rw-r--r--django/utils/version.py2
1 files changed, 0 insertions, 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)