Skip to content

Commit

Permalink
Release 0.5.2 (#216)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: mmenalla <[email protected]>
Co-authored-by: Justin Bandoro <[email protected]>
  • Loading branch information
4 people authored Mar 30, 2023
1 parent b32c7e8 commit 9512b5c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cosmos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Astronomer Cosmos is a library for rendering 3rd party workflows in Airflow.
"""

__version__ = "0.5.1"
__version__ = "0.5.2"
6 changes: 3 additions & 3 deletions cosmos/providers/dbt/core/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,9 @@ def run_command(
os.makedirs(os.path.dirname(lock_file), exist_ok=True)
lock_path = Path(target_dir) / ".lock"
with FileLock(str(lock_path), timeout=15):
shutil.copytree(
self.project_dir, target_dir, ignore=exclude, dirs_exist_ok=True
)
if os.path.exists(target_dir):
shutil.rmtree(target_dir)
shutil.copytree(self.project_dir, target_dir, ignore=exclude)
else:
logging.info(
f"No differences detected between {self.project_dir} and {target_dir}"
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ classifiers = [
]
dependencies = [
"apache-airflow>=2.4",
"filelock",
"Jinja2>=3.0.0",
"typing-extensions; python_version < '3.8'",
]
Expand Down

0 comments on commit 9512b5c

Please sign in to comment.