Skip to content

Commit

Permalink
➕ Replace dependencies with open-api-framework deps
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenbal committed Jan 26, 2024
1 parent fb5dd2a commit dec6cc0
Show file tree
Hide file tree
Showing 6 changed files with 175 additions and 127 deletions.
39 changes: 1 addition & 38 deletions requirements/base.in
Original file line number Diff line number Diff line change
@@ -1,38 +1 @@
# Core python libraries
glom # data represenation based on spec
Pillow # handle images
psycopg2 # database driver
pytz # handle timezones
python-dotenv # environment variables for secrets
python-decouple # processing of envvar configs
jsonschema

# Framework libraries
django~=3.2
django-admin-index
django-axes
django-choices
django-hijack
django-hijack-admin
django-redis
django-rosetta
django-sniplates
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]
zgw-consumers # external api auths
git+https://github.com/stevenbal/open-api-dependencies.git@feature/objecttypes-compat#egg=open_api_framework
72 changes: 37 additions & 35 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ click-plugins==1.1.1
click-repl==0.3.0
# via celery
commonground-api-common[markdown-docs,markdown_docs]==1.12.1
# via -r requirements/base.in
# via open-api-framework
coreapi==2.3.3
# via
# commonground-api-common
Expand All @@ -58,7 +58,6 @@ cryptography==3.4.8
# pyopenssl
django==3.2.23
# via
# -r requirements/base.in
# commonground-api-common
# django-axes
# django-choices
Expand All @@ -83,31 +82,27 @@ django==3.2.23
# mozilla-django-oidc
# mozilla-django-oidc-db
# notifications-api-common
# open-api-framework
# sharing-configs
# zgw-consumers
django-admin-index==1.5.0
# via -r requirements/base.in
# via open-api-framework
django-axes==5.14.0
# via -r requirements/base.in
# via open-api-framework
django-better-admin-arrayfield==1.4.2
# via mozilla-django-oidc-db
django-choices==1.7.1
# via
# -r requirements/base.in
# open-api-framework
# zgw-consumers
django-compat==1.0.15
# via django-hijack-admin
django-filter==2.4.0
# via
# -r requirements/base.in
# commonground-api-common
# open-api-framework
django-formtools==2.3
# via maykin-django-two-factor-auth
django-hijack==2.3.0
# via
# -r requirements/base.in
# django-hijack-admin
django-hijack-admin==2.1.10
# via -r requirements/base.in
django-hijack==3.4.5
# via open-api-framework
django-ipware==3.0.2
# via django-axes
django-markup==1.3
Expand All @@ -121,46 +116,49 @@ django-phonenumber-field==5.2.0
django-privates==2.0.0.post0
# via zgw-consumers
django-redis==4.12.1
# via -r requirements/base.in
# via open-api-framework
django-relativedelta==1.1.2
# via zgw-consumers
django-rest-framework-condition==0.1.1
# via commonground-api-common
django-rosetta==0.9.6
# via -r requirements/base.in
# via open-api-framework
django-sendfile2==0.7.0
# via django-privates
django-sniplates==0.7.0
# via -r requirements/base.in
# via open-api-framework
django-solo==1.1.5
# via
# commonground-api-common
# mozilla-django-oidc-db
# notifications-api-common
# sharing-configs
# zgw-consumers
djangorestframework==3.12.4
# via
# -r requirements/base.in
# commonground-api-common
# djangorestframework-gis
# 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==0.17
# via -r requirements/base.in
# via open-api-framework
drf-nested-routers==0.93.3
# via commonground-api-common
# via
# commonground-api-common
# open-api-framework
drf-spectacular==0.16.0
# via -r requirements/base.in
# via open-api-framework
drf-yasg==1.20.0
# via commonground-api-common
elastic-apm==6.1.1
# via -r requirements/base.in
# via open-api-framework
face==20.1.1
# via glom
faker==8.1.0
Expand All @@ -171,7 +169,7 @@ gemma-zds-client==1.0.0
# notifications-api-common
# zgw-consumers
glom==20.11.0
# via -r requirements/base.in
# via open-api-framework
idna==2.10
# via requests
importlib-metadata==7.0.1
Expand All @@ -192,38 +190,40 @@ josepy==1.9.0
# via mozilla-django-oidc
jsonschema==3.2.0
# via
# -r requirements/base.in
# drf-spectacular
# open-api-framework
kombu==5.3.5
# via celery
markdown==3.5.2
# via commonground-api-common
markupsafe==1.1.1
# via jinja2
maykin-django-two-factor-auth[phonenumbers]==2.0.4
# via -r requirements/base.in
# via open-api-framework
mozilla-django-oidc==1.2.4
# via mozilla-django-oidc-db
mozilla-django-oidc-db==0.7.2
# via -r requirements/base.in
# via open-api-framework
notifications-api-common==0.2.2
# via commonground-api-common
open-api-framework @ git+https://github.com/stevenbal/open-api-dependencies.git@feature/objecttypes-compat
# 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
pillow==9.0.1
# via -r requirements/base.in
# via open-api-framework
polib==1.1.1
# via django-rosetta
prompt-toolkit==3.0.43
# via click-repl
psycopg2==2.8.6
# via
# -r requirements/base.in
# mozilla-django-oidc-db
# open-api-framework
pycparser==2.20
# via cffi
pyjwt==2.4.0
Expand All @@ -241,14 +241,14 @@ python-dateutil==2.8.1
# django-relativedelta
# faker
python-decouple==3.4
# via -r requirements/base.in
# via open-api-framework
python-dotenv==0.17.0
# via -r requirements/base.in
# via open-api-framework
pytz==2021.1
# via
# -r requirements/base.in
# celery
# django
# open-api-framework
pyyaml==5.4.1
# via
# commonground-api-common
Expand All @@ -267,6 +267,7 @@ requests==2.25.1
# gemma-zds-client
# mozilla-django-oidc
# requests-mock
# sharing-configs
# zgw-consumers
requests-mock==1.8.0
# via zgw-consumers
Expand All @@ -275,11 +276,12 @@ ruamel-yaml==0.17.4
ruamel-yaml-clib==0.2.7
# via ruamel-yaml
sentry-sdk==1.0.0
# via -r requirements/base.in
# via open-api-framework
sharing-configs==0.1.2
# via open-api-framework
six==1.15.0
# via
# django-choices
# django-compat
# django-markup
# django-rosetta
# isodate
Expand Down Expand Up @@ -308,7 +310,7 @@ urllib3==1.26.6
# requests
# sentry-sdk
uwsgi==2.0.21
# via -r requirements/base.in
# via open-api-framework
vine==5.1.0
# via
# amqp
Expand All @@ -318,8 +320,8 @@ wcwidth==0.2.13
# via prompt-toolkit
zgw-consumers==0.20.0
# via
# -r requirements/base.in
# notifications-api-common
# open-api-framework
zipp==3.17.0
# via importlib-metadata

Expand Down
Loading

0 comments on commit dec6cc0

Please sign in to comment.