From d0173e844b2ca3a57014f2573315e94b8d6e4f3d Mon Sep 17 00:00:00 2001 From: Evan Blaudy Date: Fri, 26 Jan 2024 01:11:01 +0100 Subject: [PATCH 1/2] [qa] fix importError for gazu.sync.push_task_comment --- gazu/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gazu/sync.py b/gazu/sync.py index ad2523dc..817f66bd 100644 --- a/gazu/sync.py +++ b/gazu/sync.py @@ -547,7 +547,7 @@ def push_task_comment( for attachment_id in comment["attachment_files"]: if type(attachment_id) == dict: attachment_id = attachment_id["id"] - attachment_file = gazu.files.get_attachment_file( + attachment_file = files_module.get_attachment_file( attachment_id, client=client_source ) file_path = "/tmp/zou/sync/" + attachment_file["name"] From e4654d3da7aa3dddfb2953a20ea2c0443da54560 Mon Sep 17 00:00:00 2001 From: Evan Blaudy Date: Mon, 12 Feb 2024 17:22:14 +0100 Subject: [PATCH 2/2] [requirements] upgrade python-socketio, black & pre-commit --- setup.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 7c1669ac..c9fa4d53 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,7 +30,7 @@ classifiers = zip_safe = False packages = find: install_requires = - python-socketio[client]==5.11.0; python_version != '2.7' + python-socketio[client]>=5.11.0,<6; python_version != '2.7' requests>=2.25.1 Deprecated==1.2.14 @@ -48,5 +48,5 @@ test = requests_mock lint = - black==23.12.1; python_version >= '3.8' - pre-commit==3.6.0; python_version >= '3.9' + black==24.1.1; python_version >= '3.8' + pre-commit==3.6.1; python_version >= '3.9'