Skip to content

Commit

Permalink
[#13] update requirements structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonny Bakker committed Sep 17, 2024
1 parent 4f0789d commit 912fc4c
Show file tree
Hide file tree
Showing 8 changed files with 203 additions and 169 deletions.
8 changes: 5 additions & 3 deletions bin/compile_dependencies.bat
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ pip-compile^
--output-file requirements/ci.txt^
%*^
requirements/base.txt^
requirements/test-tools.in
requirements/test-tools.in^
requirements/ci.in

REM Dev depedencies - exact same set as CI + some extra tooling
REM Dev depedencies
pip-compile^
--no-emit-index-url^
--output-file requirements/dev.txt^
%*^
requirements/ci.txt^
requirements/base.txt^
requirements/test-tools.in^
requirements/dev.in
8 changes: 5 additions & 3 deletions bin/compile_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ pip-compile \
--output-file requirements/ci.txt \
"$@" \
requirements/base.txt \
requirements/test-tools.in
requirements/test-tools.in \
requirements/ci.in

# Dev depedencies - exact same set as CI + some extra tooling
# Dev depedencies
pip-compile \
--no-emit-index-url \
--output-file requirements/dev.txt \
"$@" \
requirements/ci.txt \
requirements/base.txt \
requirements/test-tools.in \
requirements/dev.in
6 changes: 4 additions & 2 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --no-emit-index-url requirements/base.in
Expand Down Expand Up @@ -315,7 +315,9 @@ sqlparse==0.5.0
tornado==6.4.1
# via flower
typing-extensions==4.9.0
# via mozilla-django-oidc-db
# via
# asgiref
# mozilla-django-oidc-db
tzdata==2024.1
# via celery
uritemplate==3.0.1
Expand Down
2 changes: 2 additions & 0 deletions requirements/ci.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
codecov
pytest
46 changes: 43 additions & 3 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --no-emit-index-url --output-file=requirements/ci.txt requirements/base.txt requirements/test-tools.in
# pip-compile --no-emit-index-url --output-file=requirements/ci.txt requirements/base.txt requirements/ci.in requirements/test-tools.in
#
amqp==5.2.0
# via
Expand Down Expand Up @@ -33,6 +33,8 @@ billiard==4.2.0
# via
# -r requirements/base.txt
# celery
black==24.8.0
# via -r requirements/test-tools.in
bleach==6.1.0
# via
# -r requirements/base.txt
Expand Down Expand Up @@ -70,6 +72,7 @@ charset-normalizer==3.3.2
click==8.1.7
# via
# -r requirements/base.txt
# black
# celery
# click-didyoumean
# click-plugins
Expand All @@ -86,6 +89,8 @@ click-repl==0.3.0
# via
# -r requirements/base.txt
# celery
codecov==2.1.13
# via -r requirements/ci.in
commonground-api-common==1.13.0
# via
# -r requirements/base.txt
Expand All @@ -99,7 +104,9 @@ coreschema==0.0.4
# -r requirements/base.txt
# coreapi
coverage==4.5.4
# via -r requirements/test-tools.in
# via
# -r requirements/test-tools.in
# codecov
cryptography==42.0.4
# via
# -r requirements/base.txt
Expand Down Expand Up @@ -287,6 +294,8 @@ elastic-apm==6.23.0
# via
# -r requirements/base.txt
# open-api-framework
exceptiongroup==1.2.2
# via pytest
face==20.1.1
# via
# -r requirements/base.txt
Expand All @@ -295,6 +304,8 @@ factory-boy==3.2.0
# via -r requirements/test-tools.in
faker==8.1.0
# via factory-boy
flake8==7.1.1
# via -r requirements/test-tools.in
flower==2.0.1
# via
# -r requirements/base.txt
Expand Down Expand Up @@ -329,6 +340,8 @@ inflection==0.5.1
# -r requirements/base.txt
# drf-spectacular
# drf-yasg
iniconfig==2.0.0
# via pytest
iso-639==0.4.5
# via
# -r requirements/base.txt
Expand All @@ -337,6 +350,8 @@ isodate==0.6.0
# via
# -r requirements/base.txt
# commonground-api-common
isort==5.13.2
# via -r requirements/test-tools.in
itypes==1.2.0
# via
# -r requirements/base.txt
Expand Down Expand Up @@ -367,6 +382,8 @@ maykin-2fa==1.0.1
# via
# -r requirements/base.txt
# open-api-framework
mccabe==0.7.0
# via flake8
mozilla-django-oidc==4.0.0
# via
# -r requirements/base.txt
Expand All @@ -377,6 +394,8 @@ mozilla-django-oidc-db==0.19.0
# open-api-framework
multidict==6.0.5
# via yarl
mypy-extensions==1.0.0
# via black
notifications-api-common==0.2.2
# via
# -r requirements/base.txt
Expand All @@ -394,11 +413,19 @@ oyaml==1.0
packaging==23.2
# via
# -r requirements/base.txt
# black
# drf-yasg
# pytest
pathspec==0.12.1
# via black
phonenumberslite==8.13.30
# via
# -r requirements/base.txt
# django-two-factor-auth
platformdirs==4.3.3
# via black
pluggy==1.5.0
# via pytest
prometheus-client==0.20.0
# via
# -r requirements/base.txt
Expand All @@ -411,10 +438,14 @@ psycopg2==2.9.9
# via
# -r requirements/base.txt
# open-api-framework
pycodestyle==2.12.1
# via flake8
pycparser==2.20
# via
# -r requirements/base.txt
# cffi
pyflakes==3.2.0
# via flake8
pyjwt==2.4.0
# via
# -r requirements/base.txt
Expand All @@ -433,6 +464,8 @@ pyrsistent==0.17.3
# via
# -r requirements/base.txt
# jsonschema
pytest==8.3.3
# via -r requirements/ci.in
python-dateutil==2.9.0.post0
# via
# -r requirements/base.txt
Expand Down Expand Up @@ -473,6 +506,7 @@ requests==2.32.3
# via
# -r requirements/base.txt
# ape-pie
# codecov
# commonground-api-common
# coreapi
# django-log-outgoing-requests
Expand Down Expand Up @@ -508,13 +542,19 @@ tblib==1.7.0
# via -r requirements/test-tools.in
text-unidecode==1.3
# via faker
tomli==2.0.1
# via
# black
# pytest
tornado==6.4.1
# via
# -r requirements/base.txt
# flower
typing-extensions==4.9.0
# via
# -r requirements/base.txt
# asgiref
# black
# mozilla-django-oidc-db
tzdata==2024.1
# via
Expand Down
5 changes: 0 additions & 5 deletions requirements/dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
pip-tools
bumpversion

# Code formatting
black
isort
flake8

# Debug tooling
django-debug-toolbar
django-extensions
Expand Down
Loading

0 comments on commit 912fc4c

Please sign in to comment.