From ec860401bb61acfece186cfcbd6c8aad2acdf980 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 8 Aug 2026 23:36:49 +0200 Subject: [PATCH] python3Packages.djangorestframework: 3.17.1 -> 3.18.1 https://github.com/encode/django-rest-framework/releases/tag/3.18.0 https://github.com/encode/django-rest-framework/releases/tag/3.18.1 --- .../python-modules/djangorestframework/default.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/djangorestframework/default.nix b/pkgs/development/python-modules/djangorestframework/default.nix index b915ae89d2f9..32cc7104d79c 100644 --- a/pkgs/development/python-modules/djangorestframework/default.nix +++ b/pkgs/development/python-modules/djangorestframework/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - pythonOlder, # build-system setuptools, @@ -20,6 +19,7 @@ pyyaml, # tests + dj-database-url, pytestCheckHook, pytest-django, pytz, @@ -27,14 +27,14 @@ buildPythonPackage (finalAttrs: { pname = "djangorestframework"; - version = "3.17.1"; + version = "3.18.1"; pyproject = true; src = fetchFromGitHub { owner = "encode"; repo = "django-rest-framework"; tag = finalAttrs.version; - hash = "sha256-hDAtICtVFeEXRgR5Shb0IdVlLkpf/TBDWw+2cOLJTfw="; + hash = "sha256-ZOzGJOIyN6X7NxplIDUeII87IlsXViNLPeW7f4/vIfY="; }; build-system = [ setuptools ]; @@ -56,17 +56,13 @@ buildPythonPackage (finalAttrs: { }; nativeCheckInputs = [ + dj-database-url pytest-django pytestCheckHook pytz ] ++ finalAttrs.passthru.optional-dependencies.complete; - disabledTests = [ - # https://github.com/encode/django-rest-framework/issues/9422 - "test_urlpatterns" - ]; - pythonImportsCheck = [ "rest_framework" ]; meta = {