forked from mtusi2026/mtusi2026lab7
31 lines
1.6 KiB
Plaintext
31 lines
1.6 KiB
Plaintext
# Direct runtime dependencies. The pinned lock with hashes is requirements.txt:
|
|
# docker run --rm -v "$PWD:/w" -w /w python:3.13.16-slim-bookworm \
|
|
# sh -c "pip install -q pip-tools==7.6.1 && pip-compile --generate-hashes --strip-extras --no-emit-index-url -o requirements.txt requirements.in"
|
|
starlette==1.7.0
|
|
uvicorn==0.54.0
|
|
# Fast C parser/event loop used by uvicorn in the container (Linux only).
|
|
httptools==0.9.0
|
|
uvloop==0.23.0 ; sys_platform != "win32"
|
|
# PostgreSQL driver (libpq bundled in the binary wheel) and its async connection pool.
|
|
psycopg==3.3.6
|
|
psycopg-binary==3.3.6
|
|
psycopg-pool==3.3.3
|
|
# Valkey client (Valkey speaks the Redis protocol).
|
|
redis==8.1.0
|
|
# Argon2id password KDF.
|
|
argon2-cffi==25.1.0
|
|
# Lab 4: S3 client (async botocore over aiohttp; requests are cancellable, unlike libpq cancel).
|
|
aiobotocore==3.9.2
|
|
# Lab 5: AMQP 0-9-1 client for RabbitMQ (publisher confirms, consumer acks, prefetch); last 9.x line.
|
|
aio-pika==9.6.2
|
|
# Lab 5: image variants in the worker only (thumbnail/crop JPEG, WebP). Same version as the tests.
|
|
pillow==12.3.0
|
|
# Uploads are still checked without Pillow: PNG by src/messenger/images.py, JPEG by libjpeg-turbo
|
|
# `djpeg -strict` (Debian package libjpeg-turbo-progs, see Dockerfile).
|
|
# Lab 6: OpenTelemetry SDK (traces, metrics, logs) and the OTLP/HTTP (protobuf) exporter to the
|
|
# Collector. Instrumentation is written by hand in telemetry.py/app.py/db.py/storage.py/relay/worker
|
|
# (no auto-instrumentation packages): span names, attributes and buckets are under our control.
|
|
opentelemetry-api==1.45.2
|
|
opentelemetry-sdk==1.45.2
|
|
opentelemetry-exporter-otlp-proto-http==1.45.2
|