Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/divbase_compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ services:
environment: &worker-env
- DIVBASE_ENV=local_dev
- CELERY_BROKER_URL=pyamqp://celery_user:badpassword@rabbitmq:5672//
- CELERY_RESULT_BACKEND=db+postgresql://divbase_user:badpassword@postgres:5432/divbase_db
- CELERY_RESULT_BACKEND=db+postgresql+psycopg2://divbase_user:badpassword@postgres:5432/divbase_db
- SYNC_DATABASE_URL=postgresql+psycopg2://divbase_user:badpassword@postgres:5432/divbase_db
- S3_ENDPOINT_URL=http://host.docker.internal:9000
- S3_PRESIGNING_URL=http://localhost:9000
Expand Down Expand Up @@ -186,7 +186,7 @@ services:
- DOCS_SITE_URL=http://localhost:8008/divbase
- USER_SUPPORT_EMAIL=datacentre@scilifelab.se
- CELERY_BROKER_URL=pyamqp://celery_user:badpassword@rabbitmq:5672//
- CELERY_RESULT_BACKEND=db+postgresql://divbase_user:badpassword@postgres:5432/divbase_db
- CELERY_RESULT_BACKEND=db+postgresql+psycopg2://divbase_user:badpassword@postgres:5432/divbase_db
- ASYNC_DATABASE_URL=postgresql+asyncpg://divbase_user:badpassword@postgres:5432/divbase_db
- SYNC_DATABASE_URL=postgresql+psycopg2://divbase_user:badpassword@postgres:5432/divbase_db # Needed for lifespan event to check migrations are at HEAD.
- JWT_SECRET_KEY=a-string-secret-at-least-256-bits-long
Expand Down
26 changes: 13 additions & 13 deletions packages/divbase-api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"fastapi[standard]==0.141.1",
"uvicorn==0.52.4",
"asyncpg==0.31.0",
"pyjwt==2.15.0",
"pwdlib[argon2]==0.3.1",
"starlette-admin==1.0.1",
"emails==1.1.2",
"fastapi[standard]==0.165.0",
"uvicorn==0.54.0",
"asyncpg==0.32.0",
"pyjwt==2.15.1",
"pwdlib[argon2]==0.4.2",
"starlette-admin==1.0.4",
"emails==1.1.3",
"jinja2==3.1.6",
"celery==5.6.3",
"alembic==1.19.2",
"psycopg2-binary==2.9.12",
"sqlalchemy[asyncio]==2.0.52", # Note that a minor bump is considered a major change for sqlalchemy
"celery==5.7.0",
"alembic==1.20.1",
"psycopg2-binary==2.9.13",
"sqlalchemy[asyncio]==2.1.9", # Note that a minor bump is considered a major change for sqlalchemy
"prometheus-client==0.26.0",
"psutil==7.2.2",
"boto3==1.43.89",
"boto3==1.44.9",
"structlog==26.1.0",
"altcha==2.1.0",
"altcha==2.5.0",
"divbase-lib", # always uses version in repo, handled by uv
]

Expand Down
2 changes: 0 additions & 2 deletions packages/divbase-api/src/divbase_api/worker/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ class SampleSetOverlapResults:
result_extended=True,
timezone=DIVBASE_SERVER_TIMEZONE, # for internal scheduling, e.g. celery beat
worker_cancel_long_running_tasks_on_connection_loss=True, # silence warning as will become default in celery 6
control_queue_durable=True,
event_queue_durable=True,
broker_transport_options={"confirm_publish": True},
# let celery auto-create db tables (alembic is configured to not manage changes to these tables)
database_table_names={
Expand Down
2 changes: 1 addition & 1 deletion packages/divbase-cli/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = [
]
requires-python = ">=3.12"
dependencies = [
"typer==0.27.2",
"typer==0.29.2",
"keyring==25.7.0",
"divbase-lib==0.1.6",
]
Expand Down
6 changes: 3 additions & 3 deletions packages/divbase-lib/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ authors = [
]
requires-python = ">=3.12"
dependencies = [
"pyyaml==6.0.3",
"pyyaml==6.0.4",
"pandas==2.3.3", # TODO - consider major version bump
"pydantic==2.13.5",
"pydantic==2.14.4",
"httpx==0.28.1",
"stamina==26.1.0",
"stamina==26.2.0",
"certifi>=2026.10.19" # transitive dep (from httpx), added because of eMudhra CA issue
]
dynamic = ["version"]
Expand Down
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env =
FRONTEND_BASE_URL=http://localhost:8001
DOCS_SITE_URL=http://localhost:8008/divbase
CELERY_BROKER_URL=pyamqp://celery_user:badpassword@localhost:5673//
CELERY_RESULT_BACKEND=db+postgresql://divbase_user:badpassword@localhost:5433/divbase_db
CELERY_RESULT_BACKEND=db+postgresql+psycopg2://divbase_user:badpassword@localhost:5433/divbase_db
ASYNC_DATABASE_URL=postgresql+asyncpg://divbase_user:badpassword@localhost:5433/divbase_db
SYNC_DATABASE_URL=postgresql+psycopg2://divbase_user:badpassword@localhost:5433/divbase_db
JWT_SECRET_KEY=a-string-secret-at-least-256-bits-long
Expand Down
Loading
Loading