From 2d1e343e690bccf0ea0f908cd1afbeb28022a878 Mon Sep 17 00:00:00 2001 From: Marcin Raba Date: Wed, 10 Apr 2024 12:29:49 +0200 Subject: [PATCH] SNOW-1058245-sqlalchemy-20-support: sqlalchemy max version set to <= 2.1.0 --- DESCRIPTION.md | 2 +- pyproject.toml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION.md b/DESCRIPTION.md index a47bfec9..5e21291b 100644 --- a/DESCRIPTION.md +++ b/DESCRIPTION.md @@ -16,7 +16,7 @@ Source code is also available at: - v1.5.3(Not relased) - Limit SQLAlchemy to < 2.0.0 before releasing version compatible with 2.0 - + - v1.5.2(April 11, 2024) - Bump min SQLAlchemy to 1.4.19 for outer lateral join diff --git a/pyproject.toml b/pyproject.toml index e19579f6..8210346f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ classifiers = [ "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules", ] -dependencies = ["snowflake-connector-python<4.0.0", "SQLAlchemy>=1.4.19,<2.0.0"] +dependencies = ["snowflake-connector-python<4.0.0", "SQLAlchemy>=1.4.19,<2.1.0"] [tool.hatch.version] path = "src/snowflake/sqlalchemy/version.py" @@ -73,9 +73,14 @@ exclude = ["/.github"] packages = ["src/snowflake"] [tool.hatch.envs.default] +extra-dependencies = ["SQLAlchemy>=1.4.19,<2.0.0"] features = ["development", "pandas"] python = "3.8" +[tool.hatch.envs.sa20] +extra-dependencies = ["SQLAlchemy>=2.0.0,<=2.1.0"] +python = "3.8" + [tool.hatch.envs.default.env-vars] COVERAGE_FILE = "coverage.xml" SQLACHEMY_WARN_20 = "1"