Skip to content

Commit

Permalink
Bring back hive support for Python 3.11 (#32607)
Browse files Browse the repository at this point in the history
Update airflow/providers/apache/hive/CHANGELOG.rst

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
(cherry picked from commit 08188f8)
  • Loading branch information
potiuk authored and ephraimbuddy committed Aug 28, 2023
1 parent 22d09d3 commit 56ec8d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
1 change: 1 addition & 0 deletions airflow/providers/apache/hive/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Misc
* ``Add more accurate typing for DbApiHook.run method (#31846)``
* ``Move Hive configuration to Apache Hive provider (#32777)``


6.1.2
.....

Expand Down
11 changes: 1 addition & 10 deletions airflow/providers/apache/hive/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,9 @@ dependencies:
- apache-airflow-providers-common-sql>=1.3.1
- hmsclient>=0.1.0
- pandas>=0.17.1
- pyhive[hive]>=0.6.0
# in case of Python 3.9 sasl library needs to be installed with version higher or equal than
# 0.3.1 because only that version supports Python 3.9. For other Python version pyhive[hive] pulls
# the sasl library anyway (and there sasl library version is not relevant)
- sasl>=0.3.1; python_version>="3.9"
- pyhive[hive_pure_sasl]>=0.7.0
- thrift>=0.9.2

# Excluded because python-sasl is not yet compatible
# with 3.11. See https://github.com/cloudera/python-sasl/issues/30
excluded-python-versions:
- "3.11"

integrations:
- integration-name: Apache Hive
external-doc-url: https://hive.apache.org/
Expand Down
7 changes: 2 additions & 5 deletions generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@
"apache-airflow>=2.4.0",
"hmsclient>=0.1.0",
"pandas>=0.17.1",
"pyhive[hive]>=0.6.0",
"sasl>=0.3.1; python_version>=\"3.9\"",
"pyhive[hive_pure_sasl]>=0.7.0",
"thrift>=0.9.2"
],
"cross-providers-deps": [
Expand All @@ -132,9 +131,7 @@
"samba",
"vertica"
],
"excluded-python-versions": [
"3.11"
]
"excluded-python-versions": []
},
"apache.impala": {
"deps": [
Expand Down

0 comments on commit 56ec8d7

Please sign in to comment.