gnu: Remove python-django@2.2.

This version is no longer maintained and contains known security flaws.

* gnu/packages/django.scm (python-django-2.2): Remove variable.
This commit is contained in:
Marius Bakke 2023-09-09 20:55:04 +08:00
parent 12af750868
commit d9620855de
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -171,21 +171,6 @@ (define-public python-django-3.1.14
;; Django 4.0 deprecated pytz in favor of Pythons built-in zoneinfo.
(append python-pytz)))))
(define-public python-django-2.2
(package
(inherit python-django-3.2)
(version "2.2.28")
(source (origin
(method url-fetch)
(uri (pypi-uri "Django" version))
(sha256
(base32
"04vl7aivsshzsnn547lm4jdinr67afhdspc40f0c06xzmxbvc002"))))
(native-inputs
(modify-inputs (package-native-inputs python-django-3.2)
(prepend ;; 2.2 requires Selenium for the test suite.
python-selenium)))))
;; Use 3.2 LTS as the default until packages gain support for 4.x.
(define-public python-django python-django-3.2)