Skip to content

Commit

Permalink
Add django-ninja to requirements
Browse files Browse the repository at this point in the history
I'm a bit conflicted about this, as it's not exactly a light dependency
and a lot of projects won't need an API - but for ease of use it makes
sense to make the api fully available from installation.

I may revisit this decision in the future, feedback welcome.
  • Loading branch information
radiac committed Jun 19, 2024
1 parent 9a4fee0 commit 0971f2a
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ pip-tools

black
click
django>=3.2.0
isort
django>=3.2.0
django-ninja
14 changes: 14 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#
# pip-compile
#
annotated-types==0.7.0
# via pydantic
asgiref==3.8.1
# via django
black==24.3.0
Expand All @@ -16,6 +18,10 @@ click==8.1.7
# black
# pip-tools
django==5.0.3
# via
# -r requirements.in
# django-ninja
django-ninja==1.1.0
# via -r requirements.in
isort==5.13.2
# via -r requirements.in
Expand All @@ -31,12 +37,20 @@ pip-tools==7.4.1
# via -r requirements.in
platformdirs==4.2.0
# via black
pydantic==2.7.4
# via django-ninja
pydantic-core==2.18.4
# via pydantic
pyproject-hooks==1.0.0
# via
# build
# pip-tools
sqlparse==0.4.4
# via django
typing-extensions==4.12.2
# via
# pydantic
# pydantic-core
wheel==0.43.0
# via pip-tools

Expand Down
21 changes: 21 additions & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
#
# pip-compile
#
annotated-types==0.7.0
# via
# -r ../requirements.txt
# pydantic
asgiref==3.8.1
# via
# -r ../requirements.txt
Expand All @@ -22,6 +26,10 @@ click==8.1.7
coverage[toml]==7.4.4
# via pytest-cov
django==5.0.3
# via
# -r ../requirements.txt
# django-ninja
django-ninja==1.1.0
# via -r ../requirements.txt
iniconfig==2.0.0
# via pytest
Expand Down Expand Up @@ -49,6 +57,14 @@ platformdirs==4.2.0
# black
pluggy==1.4.0
# via pytest
pydantic==2.7.4
# via
# -r ../requirements.txt
# django-ninja
pydantic-core==2.18.4
# via
# -r ../requirements.txt
# pydantic
pyproject-hooks==1.0.0
# via
# -r ../requirements.txt
Expand All @@ -64,6 +80,11 @@ sqlparse==0.4.4
# via
# -r ../requirements.txt
# django
typing-extensions==4.12.2
# via
# -r ../requirements.txt
# pydantic
# pydantic-core
wheel==0.43.0
# via
# -r ../requirements.txt
Expand Down

0 comments on commit 0971f2a

Please sign in to comment.