diff --git a/README.en.md b/README.en.md index 3cb9394c6094b79a99d4018dc54c8012197efe34..5aba7963479e7dbebf49cfb01e1c06e8b0096bcc 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 d683aac05a185e8590e89ebf5ac31da5d3d55974..e56e7cad885c6c571c18e83eb364a32176e0eb3d 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 fb0064036e455f90f7297fafe2c60b8c0b48eba9..39dbfa2a18d6d16b8577e1bb76c68baf59eae097 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(