Skip to content

Commit 2d4770d

Browse files
authored
Merge pull request #278 from dclong/dev
Merge dev into main
2 parents d5630f8 + 34e95ac commit 2d4770d

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

dsutil/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
from . import git
44
from . import poetry
55

6-
__version__ = "0.61.2"
6+
__version__ = "0.61.3"

dsutil/docker/builder.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -443,12 +443,11 @@ def _compare_git_branches(path: str, b1: str, b2: str) -> bool:
443443
:param b2: Another branches.
444444
:return: True if there are no differences between the 2 branches and false otherwise.
445445
"""
446-
repo = git.Repo(path)
447446
logger.debug("Comparing branches {} and {} of the local repo {}", b1, b2, path)
448447
if b1 == b2:
449448
return True
450-
cmd = f"git -C {path} diff {b1}..{b2} -- :(exclude)test :(exclude)tests"
451-
diff = sp.run(cmd, shell=True, check=True, capture_output=True)
449+
cmd = f"git -C {path} diff {b1}..{b2} -- ':(exclude)test' ':(exclude)tests'"
450+
diff = sp.run(cmd, shell=True, check=True, capture_output=True).stdout
452451
return not diff
453452

454453
def _add_root_node(self, node) -> Node:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "dsutil"
3-
version = "0.61.2"
3+
version = "0.61.3"
44
description = "A utils Python package for data scientists."
55
authors = ["Benjamin Du <[email protected]>"]
66

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Currently, Python 3.7 and 3.8 are supported.
2424
2525
You can download a copy of the latest release and install it using pip.
2626
```
27-
pip3 install --user -U https://github.com/dclong/dsutil/releases/download/v0.61.2/dsutil-0.61.2-py3-none-any.whl
27+
pip3 install --user -U https://github.com/dclong/dsutil/releases/download/v0.61.3/dsutil-0.61.3-py3-none-any.whl
2828
```
2929
Or you can use the following command to install the latest master branch
3030
if you have pip 20.0+.

0 commit comments

Comments
 (0)