diff --git a/requirements.txt b/requirements.txt index b32884c43..412630919 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ pyhive[hive_pure_sasl]~=0.7.0 requests>=2.28.1 -pyodbc~=4.0.39 --no-binary pyodbc +pyodbc~=5.1.0 --no-binary pyodbc sqlparams>=3.0.0 thrift>=0.13.0 pyspark>=3.0.0,<4.0.0 diff --git a/setup.py b/setup.py index fd985eba4..397ced275 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ def _get_plugin_version_dict(): package_version = "1.9.0a1" description = """The Apache Spark adapter plugin for dbt""" -odbc_extras = ["pyodbc~=4.0.39"] +odbc_extras = ["pyodbc>=4.0.39,<5.2.0"] pyhive_extras = [ "PyHive[hive_pure_sasl]~=0.7.0", "thrift>=0.11.0,<0.17.0",