requirements.txt has no version pins #7
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
paul_loth/krautspaceTV#7
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
`requirements.txt` lists `fastapi`, `uvicorn`, `jinja2`, `httpx`, `python-multipart`, `aiosqlite` with no version constraints at all. A fresh `pip install -r requirements.txt` on a new Pi (or after a venv rebuild) can pull in breaking major-version upgrades of any of these with no warning, especially FastAPI/Starlette which move fairly quickly.
Suggested fix
Pin exact versions (ideally via `pip freeze` from the currently-deployed venv, or a `requirements.lock`) so a fresh setup reproduces the same environment that's actually been tested.
Fixed in
b95ed21: pinned all 6 direct dependencies in requirements.txt to the exact versions currently deployed and tested on the Pi.