From 064446a5931de3c65ecd0950f33db36e53391e1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 15 Mar 2026 21:05:15 -0700 Subject: [PATCH] python3Packages.django-stdimage: drop --- .../django-stdimage/default.nix | 63 ------------------- pkgs/top-level/python-packages.nix | 5 -- 2 files changed, 68 deletions(-) delete mode 100644 pkgs/development/python-modules/django-stdimage/default.nix diff --git a/pkgs/development/python-modules/django-stdimage/default.nix b/pkgs/development/python-modules/django-stdimage/default.nix deleted file mode 100644 index b3fed998628d..000000000000 --- a/pkgs/development/python-modules/django-stdimage/default.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ - buildPythonPackage, - django, - fetchFromGitHub, - lib, - pytest-django, - pytestCheckHook, - setuptools-scm, - pillow, - pytest-cov, - gettext, - pythonOlder, - pythonAtLeast, -}: -buildPythonPackage rec { - pname = "django-stdimage"; - version = "6.0.2"; - pyproject = true; - - src = fetchFromGitHub { - owner = "codingjoe"; - repo = "django-stdimage"; - tag = version; - hash = "sha256-uwVU3Huc5fitAweShJjcMW//GBeIpJcxqKKLGo/EdIs="; - }; - - disabled = pythonOlder "3.8" || pythonAtLeast "3.13"; - - dependencies = [ - django - pillow - ]; - - build-system = [ setuptools-scm ]; - nativeBuildInputs = [ gettext ]; - - doCheck = true; - preCheck = '' - export DJANGO_SETTINGS_MODULE=tests.settings - ''; - disabledTests = [ - # SuspiciousFileOperation: Detected path traversal attempt (Even appear in upstream) - "test_variations_override" - ]; - pythonImportsCheck = [ - "stdimage" - "stdimage.validators" - "stdimage.models" - ]; - nativeCheckInputs = [ - pytest-django - pytest-cov - pytestCheckHook - ]; - - meta = with lib; { - description = "Django Standardized Image Field"; - homepage = "https://github.com/codingjoe/django-stdimage"; - changelog = "https://github.com/codingjoe/django-stdimage/releases/tag/${version}"; - license = licenses.mit; - maintainers = with maintainers; [ kurogeek ]; - }; -} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9c5e7da2bb30..6201e135d0ca 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4378,11 +4378,6 @@ self: super: with self; { django-statici18n = callPackage ../development/python-modules/django-statici18n { }; - django-stdimage = callPackage ../development/python-modules/django-stdimage { - django = django_4; - pytest-django = pytest-django.override { django = django_4; }; - }; - django-storages = callPackage ../development/python-modules/django-storages { }; django-structlog = callPackage ../development/python-modules/django-structlog { };