Skip to content

Commit

Permalink
Merge pull request #71 from databrickslabs/hotfix-execute-reinstall
Browse files Browse the repository at this point in the history
[HOTFIX] interactive package update
  • Loading branch information
renardeinside authored Aug 26, 2021
2 parents e18a73e + f093dea commit cbff79e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[Please read through the Keep a Changelog (~5min)](https://keepachangelog.com/en/1.0.0/).

## [Unreleased] - y-m-d
## [0.1.6] - 2021-08-26
### Fixed
- Fix issue which stripped non-pyspark libraries from a requirements file during deploys.
- Fix issue which didn't update local package during remote execution.

----

Expand Down
2 changes: 1 addition & 1 deletion dbx/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.5"
__version__ = "0.1.6"
2 changes: 1 addition & 1 deletion dbx/commands/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def execute(
localized_package_path = f"{localized_base_path}/{str(package_file.as_posix())}"

dbx_echo("Installing package")
installation_command = f"%pip install -U {localized_package_path}"
installation_command = f"%pip install --force-reinstall {localized_package_path}"
execute_command(v1_client, cluster_id, context_id, installation_command, verbose=False)
dbx_echo("Package installation finished")
else:
Expand Down

0 comments on commit cbff79e

Please sign in to comment.