Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Remove superseded library pins #864

Merged
merged 2 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
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
Loading