Skip to content

Commit 56ec8d7

Browse files
potiukuranusjr
authored andcommitted
Bring back hive support for Python 3.11 (#32607)
Update airflow/providers/apache/hive/CHANGELOG.rst Co-authored-by: Tzu-ping Chung <[email protected]> (cherry picked from commit 08188f8)
1 parent 22d09d3 commit 56ec8d7

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

airflow/providers/apache/hive/CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Misc
4141
* ``Add more accurate typing for DbApiHook.run method (#31846)``
4242
* ``Move Hive configuration to Apache Hive provider (#32777)``
4343

44+
4445
6.1.2
4546
.....
4647

airflow/providers/apache/hive/provider.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,9 @@ dependencies:
5959
- apache-airflow-providers-common-sql>=1.3.1
6060
- hmsclient>=0.1.0
6161
- pandas>=0.17.1
62-
- pyhive[hive]>=0.6.0
63-
# in case of Python 3.9 sasl library needs to be installed with version higher or equal than
64-
# 0.3.1 because only that version supports Python 3.9. For other Python version pyhive[hive] pulls
65-
# the sasl library anyway (and there sasl library version is not relevant)
66-
- sasl>=0.3.1; python_version>="3.9"
62+
- pyhive[hive_pure_sasl]>=0.7.0
6763
- thrift>=0.9.2
6864

69-
# Excluded because python-sasl is not yet compatible
70-
# with 3.11. See https://github.com/cloudera/python-sasl/issues/30
71-
excluded-python-versions:
72-
- "3.11"
73-
7465
integrations:
7566
- integration-name: Apache Hive
7667
external-doc-url: https://hive.apache.org/

generated/provider_dependencies.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@
119119
"apache-airflow>=2.4.0",
120120
"hmsclient>=0.1.0",
121121
"pandas>=0.17.1",
122-
"pyhive[hive]>=0.6.0",
123-
"sasl>=0.3.1; python_version>=\"3.9\"",
122+
"pyhive[hive_pure_sasl]>=0.7.0",
124123
"thrift>=0.9.2"
125124
],
126125
"cross-providers-deps": [
@@ -132,9 +131,7 @@
132131
"samba",
133132
"vertica"
134133
],
135-
"excluded-python-versions": [
136-
"3.11"
137-
]
134+
"excluded-python-versions": []
138135
},
139136
"apache.impala": {
140137
"deps": [

0 commit comments

Comments
 (0)