From 879a328c025820a31711f7d68fe1fd62c1a83e28 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 18 Jul 2024 22:31:17 +0000 Subject: [PATCH] Update pyodbc requirement from ~=4.0.39 to ~=5.1.0 Updates the requirements on [pyodbc](https://github.com/mkleehammer/pyodbc) to permit the latest version. - [Release notes](https://github.com/mkleehammer/pyodbc/releases) - [Commits](https://github.com/mkleehammer/pyodbc/compare/4.0.39...5.1.0) --- updated-dependencies: - dependency-name: pyodbc dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",