From 178244f6668513cb134f0c0211e87f1088d2098b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Jan 2023 17:25:36 +0545 Subject: [PATCH] build(deps-dev): bump dvc-task from 0.1.9 to 0.1.10 (#8807) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * build(deps-dev): bump dvc-task from 0.1.9 to 0.1.10 Bumps [dvc-task](https://github.com/iterative/dvc-task) from 0.1.9 to 0.1.10. - [Release notes](https://github.com/iterative/dvc-task/releases) - [Commits](https://github.com/iterative/dvc-task/compare/0.1.9...0.1.10) --- updated-dependencies: - dependency-name: dvc-task dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * remove xfail on json.JSONDecodeError/PermissionError JSONDecodeError should be fixed by the new release. Next we need to investigate PermissionError. Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Saugat Pachhai (सौगात) --- pyproject.toml | 2 +- tests/func/experiments/__init__.py | 14 -------------- tests/func/experiments/test_experiments.py | 3 --- 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9eb88a594..9fc5e7900 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,7 @@ dependencies = [ "typing-extensions>=3.7.4", "scmrepo==0.1.5", "dvc-render==0.0.17", - "dvc-task==0.1.9", + "dvc-task==0.1.10", "dvclive>=1.2.2", "dvc-data==0.29.0", "dvc-http", diff --git a/tests/func/experiments/__init__.py b/tests/func/experiments/__init__.py index 410cc6f2c..e69de29bb 100644 --- a/tests/func/experiments/__init__.py +++ b/tests/func/experiments/__init__.py @@ -1,14 +0,0 @@ -import json - -import pytest - -pytestmark = pytest.mark.xfail( - raises=( - # looks like dvc-task is not saving json atomically - json.JSONDecodeError, - # needs investigation, maybe a file locking issue? - PermissionError, - ), - strict=False, - reason="See https://github.com/iterative/dvc/issues/8570", -) diff --git a/tests/func/experiments/test_experiments.py b/tests/func/experiments/test_experiments.py index 7d6c4dd19..5a6ecbe53 100644 --- a/tests/func/experiments/test_experiments.py +++ b/tests/func/experiments/test_experiments.py @@ -1,5 +1,4 @@ import itertools -import json import logging import os import stat @@ -144,8 +143,6 @@ def test_apply(tmp_dir, scm, dvc, exp_stage): raises=( dulwich.errors.CommitError, dulwich.file.FileLocked, - json.JSONDecodeError, - PermissionError, ), strict=False, reason="See https://github.com/iterative/dvc/issues/8570",