fix build

This commit is contained in:
Dmitry Afanasyev 2024-03-09 02:58:31 +03:00
parent a6fa21ca68
commit 9cf269b9fd
2 changed files with 11 additions and 11 deletions

View File

@ -17,7 +17,7 @@ ENV PYTHONFAULTHANDLER=1 \
POETRY_NO_INTERACTION=1 \ POETRY_NO_INTERACTION=1 \
POETRY_VIRTUALENVS_CREATE=false \ POETRY_VIRTUALENVS_CREATE=false \
POETRY_CACHE_DIR='/var/cache/pypoetry' \ POETRY_CACHE_DIR='/var/cache/pypoetry' \
PATH='"$PATH":/root/.poetry/bin' PATH="$PATH:/root/.poetry/bin"
RUN apt update \ RUN apt update \
&& apt-get update \ && apt-get update \
@ -31,7 +31,7 @@ RUN apt update \
nano \ nano \
&& export TERM=xterm \ && export TERM=xterm \
&& pip install --upgrade pip \ && pip install --upgrade pip \
&& pip install 'poetry=="$POETRY_VERSION"' \ && pip install "poetry==$POETRY_VERSION" \
&& poetry self add poetry-plugin-export \ && poetry self add poetry-plugin-export \
# Cleaning cache: # Cleaning cache:
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \ && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \

View File

@ -1,27 +1,27 @@
[tool.poetry] [tool.poetry]
name = "main packages" name = "main packages"
version = "1.0.2" version = "1.1.2"
description = "poetry requiremts creation" description = "poetry requiremts creation"
authors = ["Dmitry Afanasyev <Balshbox@gmail.com>"] authors = ["Dmitry Afanasyev <Balshbox@gmail.com>"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
Python="^3.11" Python="^3.12"
aiohttp = "^3.8" aiohttp = "^3.9"
loguru = "^0.7" loguru = "^0.7"
requests = "^2.31" requests = "^2.31"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
ipython = "^8.14" ipython = "^8.14"
black = "^23.7" black = "^24.2"
mypy = "^1.5" mypy = "^1.9"
flake8 = "^6.1" flake8 = "^7.0"
pytest = "^7.4" pytest = "^8.0"
coverage = "^7.3" coverage = "^7.3"
safety = "^2.3" safety = "^2"
[build-system] [build-system]
requires = ["poetry-core>=1.0.0"] requires = ["poetry-core>=1.8.2"]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"