You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by bk...@apache.org on 2023/08/24 15:43:32 UTC

[superset] branch master updated: build(deps): Bump PyHive (#25030)

This is an automated email from the ASF dual-hosted git repository.

bkyryliuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 8d3340045c build(deps): Bump PyHive (#25030)
8d3340045c is described below

commit 8d3340045cca68a3b3142acc8e2053d039d60d60
Author: Multazim Deshmukh <57...@users.noreply.github.com>
AuthorDate: Thu Aug 24 21:13:22 2023 +0530

    build(deps): Bump PyHive (#25030)
---
 requirements/development.txt |  8 ++++----
 requirements/testing.txt     |  2 +-
 setup.py                     | 14 ++++++++++++--
 3 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/requirements/development.txt b/requirements/development.txt
index cab908f5e7..8eea1ae4ca 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 85dfddb916..da79433632 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 5612a57bda..75e03fd4b1 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"],