From 5a57e84e80c9a24daf50a35b9523baf8034cc870 Mon Sep 17 00:00:00 2001 From: owain Date: Sat, 6 Jun 2026 15:05:16 +0100 Subject: [PATCH] Pin bcrypt to 4.0.1, add celery_app entry point --- backend/app/workers/celery_app.py | 7 +++++++ backend/requirements.txt | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 backend/app/workers/celery_app.py diff --git a/backend/app/workers/celery_app.py b/backend/app/workers/celery_app.py new file mode 100644 index 0000000..3ba5108 --- /dev/null +++ b/backend/app/workers/celery_app.py @@ -0,0 +1,7 @@ +""" +Celery entry point. Re-exports celery_app from tasks so the worker +can be started with: celery -A app.workers.celery_app worker +""" +from app.workers.tasks import celery_app + +__all__ = ["celery_app"] \ No newline at end of file diff --git a/backend/requirements.txt b/backend/requirements.txt index 18ce7f8..0b7b6a3 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -6,7 +6,8 @@ alembic==1.13.1 pydantic==2.7.1 pydantic-settings==2.2.1 python-jose[cryptography]==3.3.0 -passlib[bcrypt]==1.7.4 +passlib==1.7.4 +bcrypt==4.0.1 python-multipart==0.0.9 httpx==0.27.0 redis[hiredis]==5.0.4 @@ -20,4 +21,4 @@ polyline==2.0.2 Pillow==10.3.0 aiofiles==23.2.1 python-dateutil==2.9.0 -pytz==2024.1 +pytz==2024.1 \ No newline at end of file