chore: relax worker dep pins for local Python 3.14
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
## Global Constraints
|
||||
|
||||
- Node.js 22 LTS; Next.js App Router (not Pages Router); TypeScript strict mode on.
|
||||
- Python 3.12; database access via `psycopg` v3 (not psycopg2); raw SQL only in the worker.
|
||||
- Python 3.12 in the worker container (`python:3.12-slim`); local test runs may use a newer 3.x — keep worker deps version-flexible so they install on both. Database access via `psycopg` v3 (not psycopg2); raw SQL only in the worker.
|
||||
- **Prisma is the single owner of the database schema.** The worker never issues DDL; it reads/writes tables Prisma migrated. Worker tests assume `prisma migrate deploy` has already been run against the target database.
|
||||
- PostgreSQL 17.
|
||||
- One `DATABASE_URL` (Postgres connection string) is shared by both services via environment.
|
||||
@@ -134,8 +134,8 @@ export default function Home() {
|
||||
|
||||
`worker/requirements.txt`:
|
||||
```
|
||||
psycopg[binary]==3.2.3
|
||||
pytest==8.3.4
|
||||
psycopg[binary]>=3.2,<4
|
||||
pytest>=8.3,<9
|
||||
```
|
||||
|
||||
`worker/lyra_worker/__init__.py`:
|
||||
|
||||
Reference in New Issue
Block a user