From b91d621efd7eb5a44d2c287b7a2f456db733c563 Mon Sep 17 00:00:00 2001 From: zosimovaa Date: Sun, 2 Nov 2025 13:03:38 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BA=D0=BE=D0=BD=D0=B8=D1=84=D0=B3=20pyproject.toml?= =?UTF-8?q?=20-=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB=20=D1=83?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BA=D1=83=20=D0=BF=D0=B0?= =?UTF-8?q?=D0=BA=D0=B5=D1=82=D0=B0=20config=5Fmanager?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dockerfile | 2 +- pyproject.toml | 2 +- tests/email_client/test_email_client.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dockerfile b/dockerfile index 42d5891..680e951 100644 --- a/dockerfile +++ b/dockerfile @@ -1,5 +1,5 @@ # Используем официальный образ Python -FROM python:3.11-slim +FROM python:3.12-slim # Устанавливаем git для клонирования репозитория RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* diff --git a/pyproject.toml b/pyproject.toml index ab39fb0..d6d73ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ readme = "README.md" requires-python = ">=3.12" dependencies = [ "python-dotenv>=1.0.0", - "git+https://git.lesha.spb.ru/alex/config_manager.git@master#egg=config_manager" + "config_manager @ git+https://git.lesha.spb.ru/alex/config_manager.git@master" ] [tool.setuptools.packages.find] diff --git a/tests/email_client/test_email_client.py b/tests/email_client/test_email_client.py index 3df50ea..e06f694 100644 --- a/tests/email_client/test_email_client.py +++ b/tests/email_client/test_email_client.py @@ -15,7 +15,7 @@ if __name__ == "__main__": imap_port=os.getenv('IMAP_PORT'), smtp_port=os.getenv('SMTP_PORT') ) - emails = email_client.get_emails(folder=self.config.email_dir, only_unseen=True, mark_as_read=True) + emails = email_client.get_emails(folder='spareparts', only_unseen=True, mark_as_read=True) for email in emails: print(email.subj)