Skip to content

Commit

Permalink
➕ Replace shared dependencies with open-api-framework
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenbal committed Feb 2, 2024
1 parent 7694bf8 commit a8b4979
Show file tree
Hide file tree
Showing 4 changed files with 248 additions and 102 deletions.
26 changes: 2 additions & 24 deletions requirements/base.in
Original file line number Diff line number Diff line change
@@ -1,31 +1,9 @@
open-api-framework

# Core python libraries
glom # data represenation based on spec
psycopg2 # database driver
python-dotenv # environment variables for secrets
python-decouple # processing of envvar configs
jsonschema

# Framework libraries
django~=3.2
django-admin-index
django-axes
django-redis
maykin-django-two-factor-auth
maykin-django-two-factor-auth[phonenumbers]
mozilla-django-oidc-db

# API libraries
djangorestframework
djangorestframework-gis
# django-extra-fields
django-filter
drf-spectacular # api documentation

# WSGI servers & monitoring - production oriented
uwsgi
sentry-sdk # error monitoring
elastic-apm # Elastic APM integration

# Common ground libraries
commonground-api-common[markdown_docs]>=1.6.4
zgw-consumers # external api auths
90 changes: 58 additions & 32 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,26 @@
amqp==5.2.0
# via kombu
asgiref==3.7.2
# via django
# via
# django
# django-cors-headers
attrs==20.3.0
# via
# glom
# jsonschema
billiard==3.6.4.0
# via celery
bleach==6.1.0
# via open-api-framework
boltons==21.0.0
# via
# face
# glom
celery==5.2.2
# via notifications-api-common
celery==5.2.7
# via
# flower
# notifications-api-common
# open-api-framework
certifi==2020.12.5
# via
# django-simple-certmanager
Expand All @@ -42,10 +49,8 @@ click-plugins==1.1.1
# via celery
click-repl==0.3.0
# via celery
commonground-api-common[markdown-docs]==1.12.1
# via
# -r requirements/base.in
# commonground-api-common
commonground-api-common==1.12.1
# via open-api-framework
coreapi==2.3.3
# via
# commonground-api-common
Expand All @@ -62,10 +67,10 @@ cryptography==41.0.7
# pyopenssl
django==3.2.23
# via
# -r requirements/base.in
# commonground-api-common
# django-admin-index
# django-axes
# django-cors-headers
# django-filter
# django-formtools
# django-jsonform
Expand All @@ -80,28 +85,34 @@ django==3.2.23
# django-simple-certmanager
# django-solo
# djangorestframework
# djangorestframework-inclusions
# drf-nested-routers
# drf-spectacular
# drf-yasg
# maykin-django-two-factor-auth
# mozilla-django-oidc
# mozilla-django-oidc-db
# notifications-api-common
# open-api-framework
# zgw-consumers
django-admin-index==3.1.0
# via -r requirements/base.in
# via open-api-framework
django-axes==6.3.0
# via -r requirements/base.in
# via open-api-framework
django-cors-headers==4.3.1
# via open-api-framework
django-filter==23.2
# via
# -r requirements/base.in
# commonground-api-common
# open-api-framework
django-formtools==2.3
# via maykin-django-two-factor-auth
django-jsonform==2.21.4
# via mozilla-django-oidc-db
django-markup==1.3
# via commonground-api-common
# via
# mozilla-django-oidc-db
# open-api-framework
django-markup==1.8.1
# via open-api-framework
django-ordered-model==3.7.4
# via django-admin-index
django-otp==1.0.6
Expand All @@ -111,7 +122,7 @@ django-phonenumber-field==5.2.0
django-privates==2.0.0.post0
# via django-simple-certmanager
django-redis==5.4.0
# via -r requirements/base.in
# via open-api-framework
django-relativedelta==2.0.0
# via zgw-consumers
django-rest-framework-condition==0.1.1
Expand All @@ -128,33 +139,38 @@ django-solo==2.2.0
# zgw-consumers
djangorestframework==3.12.4
# via
# -r requirements/base.in
# commonground-api-common
# djangorestframework-gis
# djangorestframework-inclusions
# drf-nested-routers
# drf-spectacular
# drf-yasg
# notifications-api-common
# open-api-framework
djangorestframework-camel-case==1.2.0
# via
# commonground-api-common
# notifications-api-common
djangorestframework-gis==1.0
# via -r requirements/base.in
# via open-api-framework
djangorestframework-inclusions==1.2.0
# via open-api-framework
drf-nested-routers==0.93.3
# via commonground-api-common
drf-spectacular==0.27.0
# via -r requirements/base.in
# via open-api-framework
drf-yasg==1.20.0
# via commonground-api-common
ecs-logging==2.1.0
# via elastic-apm
elastic-apm==6.20.0
# via -r requirements/base.in
# via open-api-framework
face==20.1.1
# via glom
faker==8.1.0
# via zgw-consumers
flower==2.0.1
# via open-api-framework
gemma-zds-client==1.0.1
# via
# commonground-api-common
Expand All @@ -164,6 +180,8 @@ glom==23.5.0
# via
# -r requirements/base.in
# mozilla-django-oidc-db
humanize==4.9.0
# via flower
idna==2.10
# via requests
inflection==0.5.1
Expand All @@ -186,28 +204,30 @@ jsonschema==3.2.0
# drf-spectacular
kombu==5.3.5
# via celery
markdown==3.3.4
# via commonground-api-common
markupsafe==2.1.3
# via jinja2
maykin-django-two-factor-auth[phonenumbers]==2.0.3
# via -r requirements/base.in
mozilla-django-oidc==4.0.0
# via mozilla-django-oidc-db
mozilla-django-oidc-db==0.14.1
# via -r requirements/base.in
# via open-api-framework
notifications-api-common==0.2.2
# via commonground-api-common
open-api-framework==0.1.0
# via -r requirements/base.in
oyaml==1.0
# via commonground-api-common
packaging==23.2
# via drf-yasg
phonenumbers==8.12.29
# via maykin-django-two-factor-auth
prometheus-client==0.19.0
# via flower
prompt-toolkit==3.0.43
# via click-repl
psycopg2==2.9.9
# via -r requirements/base.in
# via open-api-framework
pycparser==2.20
# via cffi
pyjwt==2.4.0
Expand All @@ -226,13 +246,14 @@ python-dateutil==2.8.1
# django-relativedelta
# faker
python-decouple==3.8
# via -r requirements/base.in
# via open-api-framework
python-dotenv==1.0.0
# via -r requirements/base.in
pytz==2021.1
# via open-api-framework
pytz==2024.1
# via
# celery
# django
# flower
pyyaml==6.0.1
# via
# commonground-api-common
Expand All @@ -249,17 +270,18 @@ requests==2.31.0
# coreapi
# gemma-zds-client
# mozilla-django-oidc
# open-api-framework
# requests-mock
# zgw-consumers
requests-mock==1.8.0
# via zgw-consumers
ruamel-yaml==0.17.4
# via drf-yasg
sentry-sdk==1.9.0
# via -r requirements/base.in
sentry-sdk==1.40.0
# via open-api-framework
six==1.15.0
# via
# django-markup
# bleach
# isodate
# jsonschema
# python-dateutil
Expand All @@ -269,33 +291,37 @@ sqlparse==0.4.2
# via django
text-unidecode==1.3
# via faker
tornado==6.4
# via flower
typing-extensions==4.9.0
# via asgiref
uritemplate==3.0.1
# via
# coreapi
# drf-spectacular
# drf-yasg
urllib3==1.26.6
urllib3==2.2.0
# via
# elastic-apm
# requests
# sentry-sdk
uwsgi==2.0.23
# via -r requirements/base.in
# via open-api-framework
vine==5.1.0
# via
# amqp
# celery
# kombu
wcwidth==0.2.13
# via prompt-toolkit
webencodings==0.5.1
# via bleach
wrapt==1.14.1
# via elastic-apm
zgw-consumers==0.27.0
# via
# -r requirements/base.in
# notifications-api-common
# open-api-framework

# The following packages are considered to be unsafe in a requirements file:
# setuptools
Loading

0 comments on commit a8b4979

Please sign in to comment.