Skip to content

Commit

Permalink
Remove superseded library pins (#864)
Browse files Browse the repository at this point in the history
  • Loading branch information
benc-db authored Dec 6, 2024
1 parent 2a4d80a commit 8b6c556
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## dbt-databricks 1.8.8 (TBD)

### Under the Hood

- Remove pins that are no longer needed ([864](https://github.com/databricks/dbt-databricks/pull/864))

## dbt-databricks 1.8.7 (October 10, 2024)

### Features
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ dbt-core>=1.8.0, <2.0
dbt-adapters>=1.3.0, <2.0
databricks-sdk==0.17.0
keyring>=23.13.0
pandas<2.2.0
protobuf<5.0.0
14 changes: 9 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
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 @@ -29,12 +31,16 @@

# get this package's version from dbt/adapters/<name>/__version__.py
def _get_plugin_version() -> str:
_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 @@ -60,8 +66,6 @@ def _get_plugin_version() -> str:
"databricks-sql-connector>=3.1.0, <3.2.0",
"databricks-sdk==0.17.0",
"keyring>=23.13.0",
"pandas<2.2.0",
"protobuf<5.0.0",
],
zip_safe=False,
classifiers=[
Expand Down

0 comments on commit 8b6c556

Please sign in to comment.