alenapoliakova / currency-rate-tg-bot

telegram bot for sending rate of currency from the CB site
4 stars 3 forks source link

Ошибка в сборке проекта #6

Closed alenapoliakova closed 1 year ago

alenapoliakova commented 1 year ago

Сейчас при установке проекта возникает ошибка при установке новой версии aiogram dev-3.x и async-cb-rate==1.0.0, в которых присутствует скачивание различных версий пакета aiohttp:

0 14.98 async-cb-rate 1.0.0 depends on aiohttp==3.8.3

0 14.98 aiogram 3.0.0b8 depends on aiohttp~=3.8.4

Лог:

#0 14.98 ERROR: Cannot install -r requirements.txt (line 1) and -r requirements.txt (line 5) because these package versions have conflicting dependencies.
#0 14.98
#0 14.98 The conflict is caused by:
#0 14.98     async-cb-rate 1.0.0 depends on aiohttp==3.8.3
#0 14.98     aiogram 3.0.0b8 depends on aiohttp~=3.8.4
#0 14.98
------
Dockerfile:6
--------------------
   4 |
   5 |     COPY requirements.txt .
   6 | >>> RUN pip install -r requirements.txt
   7 |
   8 |     COPY . .
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install -r requirements.txt" did not complete successfully: exit code: 1
ERROR: Service 'telegram_bot' failed to build : Build failed

Нужно: