Skip to content

Commit

Permalink
deps: bump dvc-data to >=2.22.4 (iterative#10139)
Browse files Browse the repository at this point in the history
* deps: bump dvc-data to >=2.22.4

* Update test_odb.py
  • Loading branch information
efiop authored Dec 6, 2023
1 parent 5bb72b3 commit 6ff4342
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies = [
"configobj>=5.0.6",
"distro>=1.3",
"dpath<3,>=2.1.0",
"dvc-data>=2.22.1,<2.23.0",
"dvc-data>=2.22.4,<2.23.0",
"dvc-http>=2.29.0",
"dvc-render>=1.0.0,<2",
"dvc-studio-client>=0.17.1,<1",
Expand Down
4 changes: 2 additions & 2 deletions tests/func/test_odb.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def test_default_cache_type(dvc):
@pytest.mark.skipif(os.name == "nt", reason="Not supported for Windows.")
@pytest.mark.parametrize("group", [False, True])
def test_shared_cache(tmp_dir, dvc, group):
from dvc.fs import system
from dvc_data.hashfile.db.local import umask

if group:
with dvc.config.edit() as conf:
Expand All @@ -178,7 +178,7 @@ def test_shared_cache(tmp_dir, dvc, group):
tmp_dir.dvc_gen({"file": "file content", "dir": {"file2": "file 2 content"}})

file_mode = oct(0o444)
dir_mode = oct(0o2775 if group else (0o777 & ~system.umask))
dir_mode = oct(0o2775 if group else (0o777 & ~umask))
for root, dnames, fnames in os.walk(cache_dir):
for dname in dnames:
path = os.path.join(root, dname)
Expand Down

0 comments on commit 6ff4342

Please sign in to comment.