diff --git a/.github/workflows/poetry-test.yml b/.github/workflows/poetry-test.yml index 75a5493..a203684 100644 --- a/.github/workflows/poetry-test.yml +++ b/.github/workflows/poetry-test.yml @@ -30,7 +30,7 @@ jobs: #---------------------------------------------- - name: Install poetry env: # Keep in sync with `POETRY_VERSION` in `Dockerfile` - POETRY_VERSION: "1.6.1" + POETRY_VERSION: "1.7.0" run: | curl -sSL "https://install.python-poetry.org" | python - # Adding `poetry` to `$PATH`: @@ -56,7 +56,7 @@ jobs: - name: Install dependencies run: | poetry config virtualenvs.in-project true - poetry install + poetry install --no-interaction --no-ansi --no-root poetry run pip install -U pip #---------------------------------------------- # check dependencies diff --git a/Dockerfile b/Dockerfile index 5194042..9ea193c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM python:3.11.6 -ARG POETRY_VERSION=1.6.1 +ARG POETRY_VERSION=1.7.0 ARG USER # python: diff --git a/Makefile b/Makefile index 95f5b9b..b6eb187 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,14 @@ lint-deps: poetry run safety check --full-report poetry run pip-audit +## Сгенерировать poetry.lock файл +lock: + poetry lock + +## Установить все зависимости +install: + poetry install --no-interaction --no-ansi --no-root + ## Show help help: @echo '' diff --git a/poetry.lock b/poetry.lock index 23df1b2..143fe0e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -6105,13 +6105,13 @@ pytest = ">=3.0.0" [[package]] name = "pytest-html" -version = "4.0.2" +version = "4.1.0" description = "pytest plugin for generating HTML reports" optional = false python-versions = ">=3.8" files = [ - {file = "pytest_html-4.0.2-py3-none-any.whl", hash = "sha256:907c3e68462df129d3ee96dee58bd63f70216b06421836b22fd3fd57ef314acb"}, - {file = "pytest_html-4.0.2.tar.gz", hash = "sha256:88682b9e8e51392472546a70a2139b27d6bc1834a4afd3e41da33c9d9f91e4a4"}, + {file = "pytest_html-4.1.0-py3-none-any.whl", hash = "sha256:69c1bdcbbfb18a39b4907c5a756ff371bf33ce77d2d95e9989ac7c7416167495"}, + {file = "pytest_html-4.1.0.tar.gz", hash = "sha256:1032cce620cf632679d51b3789f57e35d8eadde66d29cbbd481fae6359893230"}, ] [package.dependencies] diff --git a/pyproject.toml b/pyproject.toml index 2e839e4..47140c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,11 @@ [tool.poetry] name = "main packages" -version = "1.0.3" +version = "1.1.0" description = "poetry requiremts creation" authors = ["Dmitry Afanasyev "] [build-system] -requires = ["poetry-core>=1.6.1"] +requires = ["poetry-core>=1.7.0"] build-backend = "poetry.core.masonry.api" [tool.poetry.dependencies] @@ -48,7 +48,7 @@ six = "^1.16" SQLAlchemy = "^2.0" SQLAlchemy-Utils = "^0.41" termcolor = "^2.3" -uvicorn = "^0.23" +uvicorn = "^0.24" validators = "^0.22" virtualenv = "^20.24" wget = "^3.2" @@ -67,7 +67,7 @@ flake8-comprehensions = "^3.14" flake8-eradicate = "^1.5" flake8-deprecated = "^2.0" flake8-pytest-style = "^1.7" -flake8-aaa = "^0.16" +flake8-aaa = "^0.17" flake8-bugbear = "^23.7" flake8-warnings = "^0.4" flake8-debugger = "^4.1"