dvc-utils 0.3.0__py3-none-any.whl → 0.3.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
dvc_utils/diff.py CHANGED
@@ -111,7 +111,7 @@ def dvc_diff(
111
111
  cmds1 = [ shlex.split(cmd) for cmd in cmds1 ]
112
112
  cmds2 = [ shlex.split(cmd) for cmd in cmds2 ]
113
113
 
114
- join_pipelines(
114
+ returncode = join_pipelines(
115
115
  base_cmd=['diff', *diff_args],
116
116
  cmds1=cmds1,
117
117
  cmds2=cmds2,
@@ -119,6 +119,7 @@ def dvc_diff(
119
119
  shell=shell,
120
120
  executable=shell_executable,
121
121
  )
122
+ exit(returncode)
122
123
  else:
123
124
  res = process.run('diff', *diff_args, path1 or '/dev/null', path2 or '/dev/null', log=log, check=False)
124
125
  exit(res.returncode)
@@ -1,22 +1,23 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dvc-utils
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: CLI for diffing DVC-tracked files at two commits (or one commit vs. current worktree), optionally passing both through another command first
5
- Author-email: Ryan Williams <ryan@runsascoded.com>
6
- License: MIT
7
5
  Project-URL: Homepage, https://github.com/runsascoded/dvc-utils
8
6
  Project-URL: Author URL, https://github.com/ryan-williams
9
- Requires-Python: >=3.9
10
- Description-Content-Type: text/markdown
7
+ Author-email: Ryan Williams <ryan@runsascoded.com>
8
+ License: MIT
11
9
  License-File: LICENSE
10
+ Requires-Python: >=3.9
12
11
  Requires-Dist: click
13
- Requires-Dist: dffs>=0.0.5
12
+ Requires-Dist: dffs>=0.0.6
14
13
  Requires-Dist: pyyaml
15
14
  Requires-Dist: utz>=0.20.0
16
15
  Provides-Extra: ci
17
- Requires-Dist: bmdf==0.5.2; extra == "ci"
18
- Requires-Dist: dvc-s3; extra == "ci"
19
- Dynamic: license-file
16
+ Requires-Dist: bmdf==0.5.2; extra == 'ci'
17
+ Requires-Dist: dvc-s3; extra == 'ci'
18
+ Provides-Extra: test
19
+ Requires-Dist: pytest>=7.0.0; extra == 'test'
20
+ Description-Content-Type: text/markdown
20
21
 
21
22
  # dvc-utils
22
23
  Diff [DVC] files, optionally piping through other commands first.
@@ -0,0 +1,11 @@
1
+ dvc_utils/__init__.py,sha256=Q9_9py_bah16WN6RIryNMelBvG9IJW1B1Sm2PEU87Yk,92
2
+ dvc_utils/cli.py,sha256=et2OeEWJeY0XUuStMVd8qmjtOgDbXl9esn3KYZCQFSI,318
3
+ dvc_utils/diff.py,sha256=k4_1rjCfvtQkTwelPkrp2m6lrh8lU4IUg7aaKw3YhU8,5112
4
+ dvc_utils/main.py,sha256=cfbwebEc9Auh9DXyah31kvd9Br_uCsUxzOXkucfiSnM,119
5
+ dvc_utils/path.py,sha256=tdigsKTCZPhCIb9wRX4e_tj1lUxa2gm6lXERlfb8qY4,2955
6
+ dvc_utils/sync.py,sha256=gDwo0Z4lMK--xRwsACIpJRWS5rF6g7Wou0LJRxNd6b4,481
7
+ dvc_utils-0.3.1.dist-info/METADATA,sha256=aWI-NtzxzF66gfP7jH3oVf7n6HDtAzvuJg8biTFk7Cw,14986
8
+ dvc_utils-0.3.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
9
+ dvc_utils-0.3.1.dist-info/entry_points.txt,sha256=VHnkBNH2bPbP1wX8-rKK_T13f3e9tnmAGBcrP0hjTr0,85
10
+ dvc_utils-0.3.1.dist-info/licenses/LICENSE,sha256=ZS8AReay7xmQzBAHwxIuTouGXz3SKgUa2_Sz8Ip0EzQ,1070
11
+ dvc_utils-0.3.1.dist-info/RECORD,,
@@ -1,5 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.8.0)
2
+ Generator: hatchling 1.27.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
-
@@ -1,12 +0,0 @@
1
- dvc_utils/__init__.py,sha256=Q9_9py_bah16WN6RIryNMelBvG9IJW1B1Sm2PEU87Yk,92
2
- dvc_utils/cli.py,sha256=et2OeEWJeY0XUuStMVd8qmjtOgDbXl9esn3KYZCQFSI,318
3
- dvc_utils/diff.py,sha256=7YDlsIsVeaU6QEWjhzd2zM9_6eB6mr50kjCKcGNBa0U,5070
4
- dvc_utils/main.py,sha256=cfbwebEc9Auh9DXyah31kvd9Br_uCsUxzOXkucfiSnM,119
5
- dvc_utils/path.py,sha256=tdigsKTCZPhCIb9wRX4e_tj1lUxa2gm6lXERlfb8qY4,2955
6
- dvc_utils/sync.py,sha256=gDwo0Z4lMK--xRwsACIpJRWS5rF6g7Wou0LJRxNd6b4,481
7
- dvc_utils-0.3.0.dist-info/licenses/LICENSE,sha256=ZS8AReay7xmQzBAHwxIuTouGXz3SKgUa2_Sz8Ip0EzQ,1070
8
- dvc_utils-0.3.0.dist-info/METADATA,sha256=iZCUEBwGGx3kilieHZwkJGqNtVRe11kJjNnprVTiJP4,14941
9
- dvc_utils-0.3.0.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
10
- dvc_utils-0.3.0.dist-info/entry_points.txt,sha256=VHnkBNH2bPbP1wX8-rKK_T13f3e9tnmAGBcrP0hjTr0,85
11
- dvc_utils-0.3.0.dist-info/top_level.txt,sha256=jT0-PJa2t_eFRE9rn-52AjdnZ8nQeEHllf2kJmaGh80,10
12
- dvc_utils-0.3.0.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- dvc_utils