Quickfix dependencies and install

This commit is contained in:
Colin Goutte on Zotac-Manjaro-Arcole 2025-03-06 17:04:47 +01:00
parent f63d265c68
commit 68e665671a
2 changed files with 9 additions and 5 deletions

View File

@ -25,11 +25,14 @@ venv:
make .venv3.$(minor)
rm -f .venv && ln -s $(venv) ./.venv
$(PIP) install --upgrade pip
$(PIP) install --upgrade setuptools
#$(PIP) install --upgrade "setuptools<71"
dep_poetry: venv
$(PIP) install poetry
clean:
rm -r .venv3.$(minor)
touch poetry.lock && rm poetry.lock
.ONESHELL:
install: dep_poetry
@ -58,12 +61,13 @@ cleandb:
.ONESHELL:
test: cleandb
$(POETRY) run pytest --cov=. --cov-report=term-missing:skip-covered .
$(POETRY) run pytest --cov="papi" --cov-report=term-missing:skip-covered .
.ONESHELL:
dtest: cleandb
$(POETRY) run pytest -s --ff --lf --pdb --cov=. --cov-report=term-missing:skip-covered .
$(POETRY) run pytest -s --ff --lf --pdb --cov="papi" --cov-report=term-missing:skip-covered .
.ONESHELL:
qtest: cleandb

View File

@ -6,10 +6,10 @@ authors = ["Colin Goutte <cgte@bk.ru>"]
[tool.poetry.dependencies]
python = "^3.9"
fastapi = "^0.68.1"
fastapi = ">=0.78.0"
uvicorn = {extras = ["standard"], version = "^0.15.0"}
SQLAlchemy = "^1.4.25"
Jinja2 = "^3.0.1"
Jinja2 = "~=3.0.0"
mailjet-rest = "^1.3.4"
[tool.poetry.dev-dependencies]