From 6eda9a96c96ac0bd91a762b5c0f0bf232136d001 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 25 Nov 2024 15:16:28 +0800 Subject: [PATCH] bugfix --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 10a8b84..c0c551f 100755 --- a/README.md +++ b/README.md @@ -19,6 +19,24 @@ ahserver capabilities: + 'xlsxds' files subffix by '.xlsxds' is process as a data source from xlsx file + 'sqlds' files subffixed by '.sqlds' is process as a data source from database via a sql command +## python3.12 bug fix +We use aioredis, it use distutils, but above 3.12, distutils not exists, so we need to hack it a bit. + +### new model +``` +pip install packaging +``` +need modify files: +* aioredis/exceptions.py +* aioredis/connection.py +```replace aioredis/connection.py line 11 with +from packaging.version import Version as StrictVersion +``` +replace aiotedis/exceptions.py 14 line with: +``` +class TimeoutError(asyncio.TimeoutError, RedisError): +``` + ## Requirements see requirements.txt