Skip to content

Commit

Permalink
chore: Remove SQLAlchemy dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 19, 2024
1 parent ad63f56 commit 340e05b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@

# https://docs.celeryq.dev/en/latest/django/first-steps-with-django.html
CELERY_BROKER_URL = os.getenv("REDIS_URL", "redis://localhost:6379/0")
CELERY_RESULT_BACKEND = os.getenv("CELERY_BACKEND", "db+postgresql:///spoonbill_web?application_name=spoonbill_celery")
CELERY_RESULT_BACKEND = "django-db"

# https://pypi.org/project/channels-redis/
CHANNEL_LAYERS = {
Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
asgiref
celery[sqlalchemy,django]
celery[django]
channels[daphne]
channels_redis
daphne
Expand Down
5 changes: 0 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ drf-nested-routers==0.93.4
# via -r requirements.in
flatten-dict==0.4.2
# via spoonbill
greenlet==3.0.3
# via sqlalchemy
hyperlink==21.0.0
# via
# autobahn
Expand Down Expand Up @@ -203,8 +201,6 @@ six==1.16.0
# url-normalize
spoonbill==1.1.0
# via -r requirements.in
sqlalchemy==2.0.34
# via celery
sqlparse==0.5.0
# via django
twisted==24.7.0rc1
Expand All @@ -214,7 +210,6 @@ txaio==23.1.1
typing-extensions==4.7.1
# via
# dj-database-url
# sqlalchemy
# twisted
tzdata==2023.3
# via
Expand Down
7 changes: 0 additions & 7 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@ flatten-dict==0.4.2
# via
# -r requirements.txt
# spoonbill
greenlet==3.0.3
# via
# -r requirements.txt
# sqlalchemy
hyperlink==21.0.0
# via
# -r requirements.txt
Expand Down Expand Up @@ -300,8 +296,6 @@ six==1.16.0
# url-normalize
spoonbill==1.1.0
# via -r requirements.txt
sqlalchemy==2.0.34
# via -r requirements.txt
sqlparse==0.5.0
# via
# -r requirements.txt
Expand All @@ -318,7 +312,6 @@ typing-extensions==4.7.1
# via
# -r requirements.txt
# dj-database-url
# sqlalchemy
# twisted
tzdata==2023.3
# via
Expand Down

0 comments on commit 340e05b

Please sign in to comment.