Skip to content

Commit

Permalink
💚 downgrade drf-spectacular to fix OAS generation
Browse files Browse the repository at this point in the history
  • Loading branch information
annashamray committed Jan 30, 2024
1 parent f3457da commit 488210e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 25 deletions.
20 changes: 1 addition & 19 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,8 @@ services:
environment:
- DJANGO_SETTINGS_MODULE=objecttypes.conf.docker
- SECRET_KEY=${SECRET_KEY:-fgv=c0hz&tl*8*3m3893@m+1pstrvidc9e^5@fpspmg%cy$15d}
- ALLOWED_HOSTS=*
ports:
- 8000:8000
depends_on:
- db

# See: src/objecttypes/conf/docker.py
# Optional containers below:
# elasticsearch:
# # NOTE: No persistance storage configured.
# # See: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html
# image: docker.elastic.co/elasticsearch/elasticsearch:6.2.4
# container_name: elasticsearch
# environment:
# - discovery.type=single-node
# - cluster.routing.allocation.disk.threshold_enabled=false
# ports:
# - 9200:9200
# redis:
# # NOTE: No persistance storage configured.
# # See: https://hub.docker.com/_/redis/
# image: redis
# ports:
# - 6379:6379
8 changes: 6 additions & 2 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ django==3.2.20
# zgw-consumers
django-admin-index==3.0.0
# via -r requirements/base.in
django-axes==6.0.1
django-axes==5.41.1
# via -r requirements/base.in
django-choices==1.7.2
# via
Expand All @@ -106,6 +106,8 @@ django-formtools==2.4.1
# via maykin-django-two-factor-auth
django-hijack==3.3.0
# via -r requirements/base.in
django-ipware==6.0.3
# via django-axes
django-jsonform==2.21.5
# via mozilla-django-oidc-db
django-jsonsuit==0.5.0
Expand Down Expand Up @@ -155,7 +157,7 @@ drf-nested-routers==0.93.4
# via
# -r requirements/base.in
# commonground-api-common
drf-spectacular==0.26.2
drf-spectacular==0.16.0
# via -r requirements/base.in
drf-yasg==1.21.5
# via commonground-api-common
Expand Down Expand Up @@ -239,6 +241,8 @@ python-decouple==3.8
# via -r requirements/base.in
python-dotenv==1.0.0
# via -r requirements/base.in
python-ipware==2.0.1
# via django-ipware
pytz==2023.3
# via
# -r requirements/base.in
Expand Down
12 changes: 10 additions & 2 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ django==3.2.20
# zgw-consumers
django-admin-index==3.0.0
# via -r requirements/base.txt
django-axes==6.0.1
django-axes==5.41.1
# via -r requirements/base.txt
django-choices==1.7.2
# via
Expand All @@ -144,6 +144,10 @@ django-formtools==2.4.1
# maykin-django-two-factor-auth
django-hijack==3.3.0
# via -r requirements/base.txt
django-ipware==6.0.3
# via
# -r requirements/base.txt
# django-axes
django-jenkins==0.110.0
# via -r requirements/test-tools.in
django-jsonform==2.21.5
Expand Down Expand Up @@ -217,7 +221,7 @@ drf-nested-routers==0.93.4
# via
# -r requirements/base.txt
# commonground-api-common
drf-spectacular==0.26.2
drf-spectacular==0.16.0
# via -r requirements/base.txt
drf-yasg==1.21.5
# via
Expand Down Expand Up @@ -358,6 +362,10 @@ python-decouple==3.8
# via -r requirements/base.txt
python-dotenv==1.0.0
# via -r requirements/base.txt
python-ipware==2.0.1
# via
# -r requirements/base.txt
# django-ipware
pytz==2023.3
# via
# -r requirements/base.txt
Expand Down
12 changes: 10 additions & 2 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ django==3.2.20
# zgw-consumers
django-admin-index==3.0.0
# via -r requirements/ci.txt
django-axes==6.0.1
django-axes==5.41.1
# via -r requirements/ci.txt
django-choices==1.7.2
# via
Expand All @@ -168,6 +168,10 @@ django-formtools==2.4.1
# maykin-django-two-factor-auth
django-hijack==3.3.0
# via -r requirements/ci.txt
django-ipware==6.0.3
# via
# -r requirements/ci.txt
# django-axes
django-jenkins==0.110.0
# via -r requirements/ci.txt
django-jsonform==2.21.5
Expand Down Expand Up @@ -245,7 +249,7 @@ drf-nested-routers==0.93.4
# via
# -r requirements/ci.txt
# commonground-api-common
drf-spectacular==0.26.2
drf-spectacular==0.16.0
# via -r requirements/ci.txt
drf-yasg==1.21.5
# via
Expand Down Expand Up @@ -416,6 +420,10 @@ python-decouple==3.8
# via -r requirements/ci.txt
python-dotenv==1.0.0
# via -r requirements/ci.txt
python-ipware==2.0.1
# via
# -r requirements/ci.txt
# django-ipware
pytz==2023.3
# via
# -r requirements/ci.txt
Expand Down

0 comments on commit 488210e

Please sign in to comment.