From 069d7134305353b544bc6a58ed2c8849e491ba19 Mon Sep 17 00:00:00 2001 From: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Date: Sat, 11 May 2024 10:46:09 +0200 Subject: [PATCH] Removed PY36 and PY37 version constants. As the oldest supported version is Django 4.2, we only need constants for PY38+. Thank you to Mariusz Felisiak for the review. --- django/utils/version.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/django/utils/version.py b/django/utils/version.py index 6f8171ffe0..55509f4c85 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. -PY36 = sys.version_info >= (3, 6) -PY37 = sys.version_info >= (3, 7) PY38 = sys.version_info >= (3, 8) PY39 = sys.version_info >= (3, 9) PY310 = sys.version_info >= (3, 10)