Skip to content

Commit a7281e4

Browse files
authored
python312Packages.strawberry-django: 0.55.0 -> 0.56.0 (#382312)
2 parents 247dc49 + 01f8f31 commit a7281e4

File tree

1 file changed

+21
-19
lines changed
  • pkgs/development/python-modules/strawberry-django

1 file changed

+21
-19
lines changed

pkgs/development/python-modules/strawberry-django/default.nix

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# dependencies
1111
asgiref,
1212
django,
13-
django-tree-queries,
1413
strawberry-graphql,
1514

1615
# optional-dependencies
@@ -22,6 +21,7 @@
2221
django-guardian,
2322
django-mptt,
2423
django-polymorphic,
24+
django-tree-queries,
2525
factory-boy,
2626
pillow,
2727
psycopg2,
@@ -33,14 +33,14 @@
3333

3434
buildPythonPackage rec {
3535
pname = "strawberry-django";
36-
version = "0.55.0";
36+
version = "0.56.0";
3737
pyproject = true;
3838

3939
src = fetchFromGitHub {
4040
owner = "strawberry-graphql";
4141
repo = "strawberry-django";
4242
tag = "v${version}";
43-
hash = "sha256-Em6GEYSdVEFkoVa+qI+xN369FOLH9hpEXeMKn9xUCac=";
43+
hash = "sha256-X0pbvC0+RCc2HLt/StN6AE7+kEv/9bywvLzuL3FKOhU=";
4444
};
4545

4646
build-system = [
@@ -49,9 +49,8 @@ buildPythonPackage rec {
4949
];
5050

5151
dependencies = [
52-
asgiref
5352
django
54-
django-tree-queries
53+
asgiref
5554
strawberry-graphql
5655
];
5756

@@ -60,21 +59,24 @@ buildPythonPackage rec {
6059
enum = [ django-choices-field ];
6160
};
6261

62+
nativeCheckInputs =
63+
[
64+
pytestCheckHook
6365

64-
nativeCheckInputs = [
65-
pytestCheckHook
66-
67-
django-guardian
68-
django-mptt
69-
django-polymorphic
70-
factory-boy
71-
pillow
72-
psycopg2
73-
pytest-cov-stub
74-
pytest-django
75-
pytest-mock
76-
pytest-snapshot
77-
] ++ optional-dependencies.debug-toolbar ++ optional-dependencies.enum;
66+
django-guardian
67+
django-mptt
68+
django-polymorphic
69+
django-tree-queries
70+
factory-boy
71+
pillow
72+
psycopg2
73+
pytest-cov-stub
74+
pytest-django
75+
pytest-mock
76+
pytest-snapshot
77+
]
78+
++ optional-dependencies.debug-toolbar
79+
++ optional-dependencies.enum;
7880

7981
pythonImportsCheck = [ "strawberry_django" ];
8082

0 commit comments

Comments
 (0)