Open
Description
Description
Currently, the project uses pip
with requirements.txt
for dependency management. To improve maintainability, dependency resolution, and support multiple environments, we should migrate to Poetry
and manage dependencies using pyproject.toml
.
This migration will:
- Enable better version pinning and dependency resolution.
- Simplify virtual environment management.
- Provide built-in support for dependency groups (e.g., dev, lint, test).
Acceptance Criteria
- Remove
requirements.txt
,requirements-lint.txt
, andrequirements-test.txt
. - Initialize
pyproject.toml
with Poetry. - Define dependencies in
[tool.poetry.dependencies]
. - Define test and lint dependencies in
[tool.poetry.group.*.dependencies]
. - Ensure dependencies are correctly installed with
poetry install
. - Update CI workflow to use
poetry install
instead ofpip install -r requirements.txt
. - Verify FastAPI app runs successfully with Poetry.
- Update
README.md
with new installation instructions.