From 8fa129d16d056fa47f691729dd8bfdf83175ccb5 Mon Sep 17 00:00:00 2001 From: Fangyin Cheng Date: Mon, 25 Mar 2024 14:56:57 +0800 Subject: [PATCH] fix: Fix duckdb test error --- setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 35da707d3..b982cb680 100644 --- a/setup.py +++ b/setup.py @@ -390,16 +390,15 @@ def core_requires(): "jinja2", "uvicorn", "shortuuid", - # change from fixed version 2.0.22 to variable version, because other - # dependencies are >=1.4, such as pydoris is <2 - "SQLAlchemy>=1.4,<3", + # 2.0.29 not support duckdb now + "SQLAlchemy>=2.0.25,<2.0.29", # for cache "msgpack", # for cache # TODO: pympler has not been updated for a long time and needs to # find a new toolkit. "pympler", - "duckdb==0.8.1", + "duckdb", "duckdb-engine", # lightweight python library for scheduling jobs "schedule", @@ -570,6 +569,7 @@ def all_datasource_requires(): setup_spec.extras["datasource_all"] = setup_spec.extras["datasource"] + [ "pyspark", "pymssql", + # pydoris is too old, we should find a new package to replace it. "pydoris>=1.0.2,<2.0.0", "clickhouse-connect", "pyhive",