From 6559cd8ec284ae2549a8ee0593ce2dae390ac250 Mon Sep 17 00:00:00 2001 From: j00356287 Date: Sat, 26 Oct 2024 11:17:18 +0800 Subject: [PATCH] Release v2.2.0 --- README.en.md | 5 +++++ README.md | 3 ++- opengauss_sqlalchemy/__init__.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.en.md b/README.en.md index 3cb9394..5aba796 100644 --- a/README.en.md +++ b/README.en.md @@ -16,6 +16,11 @@ This project has been tested with test suites of SQLAlchemy. > https://github.com/opengauss-mirror/openGauss-connector-python-psycopg2 +### NOTE + +Using unmatched psycopg2 may cause part of the autoescape test cases in + SQLAlchemy version 2.0+ failed. + ## Installation ``` diff --git a/README.md b/README.md index d683aac..e56e7ca 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,8 @@ > https://github.com/opengauss-mirror/openGauss-connector-python-psycopg2 ### 注意: -使用psycopg2 for opengauss会导致Sqlalchemy2.0部分autoescape相关测试用例不通过。 + +使用不匹配的psycopg2会导致SQLAlchemy2.0部分autoescape相关测试用例不通过。 若需要使用autoescape相关功能,请保证环境中正确安装openGauss,并且通过修改变量LD_LIBRARY_PATH保证pg_config来自openGauss。 diff --git a/opengauss_sqlalchemy/__init__.py b/opengauss_sqlalchemy/__init__.py index fb00640..39dbfa2 100644 --- a/opengauss_sqlalchemy/__init__.py +++ b/opengauss_sqlalchemy/__init__.py @@ -9,7 +9,7 @@ from sqlalchemy.dialects import registry -__version__ = "2.1.0" +__version__ = "2.2.0" registry.register( -- Gitee