Skip to content

Commit

Permalink
DBT-807 Fix-1.9.0-hive Support dbt-core 1.9.0 for dbt-hive (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
niranjancdw authored Feb 11, 2025
1 parent 4c01ed1 commit f79e443
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ This code base is now being actively developed and maintained by Cloudera.

### Requirements

Current version of dbt-hive uses dbt-core 1.8.*. We are actively working on supporting the next available version of dbt-core.
Current version of dbt-hive uses dbt-core 1.9.*. We are actively working on supporting the next available version of dbt-core.

Python >= 3.8
dbt-core ~= 1.8.*
Python >= 3.9
dbt-core ~= 1.9.*
impyla >= 0.18

### Install
Expand Down
2 changes: 1 addition & 1 deletion dbt/adapters/hive/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
version = "1.8.0"
version = "1.9.0"
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dbt-tests-adapter==1.8.*
dbt-tests-adapter==1.9.*
pre-commit~=2.21;python_version=="3.7"
pre-commit~=3.2;python_version>="3.8"
pytest
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def _get_dbt_core_version():

package_name = "dbt-hive"
# make sure this always matches dbt/adapters/hive/__version__.py
package_version = "1.8.0"
package_version = "1.9.0"
description = """The Hive adapter plugin for dbt"""

dbt_core_version = _get_dbt_core_version()
Expand Down Expand Up @@ -80,7 +80,8 @@ def _get_dbt_core_version():
# pining the protobuf version to 4.x because the dbt-core backports were messed up.
# more details in https://github.com/dbt-labs/dbt-core/issues/9830.
# TODO: remove this pin once the above issue and https://github.com/dbt-labs/dbt-core/issues/9724 is resolved.
"protobuf>=4.0.0,<5",
# Looks like dbt-core 1.9.0 depends on protobuf 5, retaining the original comments as #9724 is still open.
"protobuf>=5.0.0,<6",
"kerberos>=1.3.0; platform_system == 'Darwin' or platform_system == 'Linux' ",
"winkerberos>=0.9.1; platform_system == 'Windows' ",
],
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tox]
skipsdist = True
envlist = py38,py39,py310,py311
envlist = py39,py310,py311

[testenv:{py38,py39,py310,py311}]
[testenv:{py39,py310,py311}]
description = adapter plugin integration testing
skip_install = true
passenv =
Expand Down

0 comments on commit f79e443

Please sign in to comment.