Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Updating the databricks-sdk dependency #460

Merged
merged 2 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

- Node info now gets added to SQLQueryStatus (Thanks @colin-rogers-dbt) ([453](https://github.com/databricks/dbt-databricks/pull/453))
- Fixing python model compatibility with newer DBRs ([459](https://github.com/databricks/dbt-databricks/pull/459))
- Updated the Databricks SDK dependency so as to prevent reliance on an insecure version of requests ([460](https://github.com/databricks/dbt-databricks/pull/460))

## dbt-databricks 1.6.4 (September 14, 2023)

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
databricks-sql-connector>=2.9.3, <3.0.0
dbt-spark==1.6.0
databricks-sdk==0.1.7
databricks-sdk==0.9.0
keyring>=23.13.0
14 changes: 4 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
except ImportError:
# the user has a downlevel version of setuptools.
print("Error: dbt requires setuptools v40.1.0 or higher.")
print(
'Please upgrade setuptools with "pip install --upgrade setuptools" and try again'
)
print('Please upgrade setuptools with "pip install --upgrade setuptools" and try again')
sys.exit(1)


Expand All @@ -31,16 +29,12 @@

# get this package's version from dbt/adapters/<name>/__version__.py
def _get_plugin_version():
_version_path = os.path.join(
this_directory, "dbt", "adapters", "databricks", "__version__.py"
)
_version_path = os.path.join(this_directory, "dbt", "adapters", "databricks", "__version__.py")
try:
exec(open(_version_path).read())
return locals()["version"]
except IOError:
print(
"Failed to load dbt-databricks version file for packaging.", file=sys.stderr
)
print("Failed to load dbt-databricks version file for packaging.", file=sys.stderr)
sys.exit(-1)


Expand All @@ -62,7 +56,7 @@ def _get_plugin_version():
install_requires=[
"dbt-spark==1.6.0",
"databricks-sql-connector>=2.9.3, <3.0.0",
"databricks-sdk>=0.1.7",
"databricks-sdk>=0.9.0",
"keyring>=23.13.0",
],
zip_safe=False,
Expand Down