diff --git a/requirements/development.txt b/requirements/development.txt index cab908f5e..8eea1ae4c 100644 --- a/requirements/development.txt +++ b/requirements/development.txt @@ -85,7 +85,9 @@ ptyprocess==0.7.0 pure-eval==0.2.2 # via stack-data pure-sasl==0.6.2 - # via thrift-sasl + # via + # pyhive + # thrift-sasl pyasn1==0.5.0 # via # pyasn1-modules @@ -94,7 +96,7 @@ pyasn1-modules==0.3.0 # via python-ldap pydruid==0.6.5 # via apache-superset -pyhive[hive]==0.6.5 +pyhive[hive_pure_sasl]==0.7.0 # via apache-superset pyinstrument==4.4.0 # via -r requirements/development.in @@ -111,8 +113,6 @@ rfc3986==2.0.0 # via tableschema s3transfer==0.6.1 # via boto3 -sasl==0.3.1 - # via pyhive sqloxide==0.1.33 # via -r requirements/development.in stack-data==0.6.2 diff --git a/requirements/testing.txt b/requirements/testing.txt index 85dfddb91..da7943363 100644 --- a/requirements/testing.txt +++ b/requirements/testing.txt @@ -122,7 +122,7 @@ pydata-google-auth==1.7.0 # via pandas-gbq pyfakefs==5.2.2 # via -r requirements/testing.in -pyhive[presto]==0.6.5 +pyhive[presto]==0.7.0 # via apache-superset pytest==7.3.1 # via diff --git a/setup.py b/setup.py index 5612a57bd..75e03fd4b 100644 --- a/setup.py +++ b/setup.py @@ -165,7 +165,12 @@ setup( "firebolt": ["firebolt-sqlalchemy>=0.0.1"], "gsheets": ["shillelagh[gsheetsapi]>=1.2.6, <2"], "hana": ["hdbcli==2.4.162", "sqlalchemy_hana==0.4.0"], - "hive": ["pyhive[hive]>=0.6.5", "tableschema", "thrift>=0.14.1, <1.0.0"], + "hive": [ + "pyhive[hive]>=0.6.5;python_version<'3.11'", + "pyhive[hive_pure_sasl]>=0.7.0", + "tableschema", + "thrift>=0.14.1, <1.0.0", + ], "impala": ["impyla>0.16.2, <0.17"], "kusto": ["sqlalchemy-kusto>=2.0.0, <3"], "kylin": ["kylinpy>=2.8.1, <2.9"], @@ -189,7 +194,12 @@ setup( "shillelagh[datasetteapi,gsheetsapi,socrata,weatherapi]>=1.2.6,<2" ], "snowflake": ["snowflake-sqlalchemy>=1.2.4, <2"], - "spark": ["pyhive[hive]>=0.6.5", "tableschema", "thrift>=0.14.1, <1.0.0"], + "spark": [ + "pyhive[hive]>=0.6.5;python_version<'3.11'", + "pyhive[hive_pure_sasl]>=0.7.0", + "tableschema", + "thrift>=0.14.1, <1.0.0", + ], "teradata": ["teradatasql>=16.20.0.23"], "thumbnails": ["Pillow>=9.5.0, <10.0.0"], "vertica": ["sqlalchemy-vertica-python>=0.5.9, < 0.6"],