mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 03:10:19 +00:00
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
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user