update poetry to 1.7.0

This commit is contained in:
Dmitry Afanasyev 2023-11-06 12:16:50 +03:00
parent f35ad2d32b
commit f0184f792b
5 changed files with 18 additions and 10 deletions

View File

@ -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

View File

@ -1,6 +1,6 @@
FROM python:3.11.6
ARG POETRY_VERSION=1.6.1
ARG POETRY_VERSION=1.7.0
ARG USER
# python:

View File

@ -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 ''

6
poetry.lock generated
View File

@ -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]

View File

@ -1,11 +1,11 @@
[tool.poetry]
name = "main packages"
version = "1.0.3"
version = "1.1.0"
description = "poetry requiremts creation"
authors = ["Dmitry Afanasyev <Balshbox@gmail.com>"]
[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"