Skip to content

Commit

Permalink
fix: remove faulty error (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-mi authored Nov 21, 2024
1 parent cd5c9b9 commit 1279d50
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog db-rocket

## Version 3.0.5
- Revert enforcing the creation of .databrickscfg file

## Version 3.0.3
- Add warning when DATABRICKS_TOKEN is set rather than failing when its not set. The bulk of our use-cases rely on the token being set via databricks configure command. The token via environment variable is only used for CI and we should treat as an edge case.

Expand Down
3 changes: 0 additions & 3 deletions rocket/rocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ def launch(
"""

home = os.environ['HOME']
if not os.path.exists(f"{home}/.databrickscfg"):
raise Exception("Databricks cli not configured. Run `databricks configure --token`.")

if os.getenv("DATABRICKS_TOKEN"):
print("Note: DATABRICKS_TOKEN is set, it could override the token in ~/.databrickscfg and cause errors.")

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setuptools.setup(
name="databricks-rocket",
version="3.0.4",
version="3.0.5",
author="GetYourGuide",
author_email="[email protected]",
description="Keep your local python scripts installed and in sync with a databricks notebook. Shortens the feedback loop to develop projects using a hybrid enviroment",
Expand Down

0 comments on commit 1279d50

Please sign in to comment.