From 30517f66760d2e45d1f06bf938388bf107dfc60c Mon Sep 17 00:00:00 2001 From: skshetry <18718008+skshetry@users.noreply.github.com> Date: Tue, 13 Jun 2023 15:39:34 +0545 Subject: [PATCH] deps: update dvc-task/dvc-s3/pytest-cov (#9592) * remove deprecation warnings * Update pyproject.toml --- pyproject.toml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3e7202e0c..beab44387 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ dependencies = [ "dvc-http>=2.29.0", "dvc-render>=0.3.1,<1", "dvc-studio-client>=0.9.2,<1", - "dvc-task>=0.2.1,<1", + "dvc-task>=0.3.0,<1", "flatten_dict<1,>=0.4.1", "flufl.lock>=5", "funcy>=1.14", @@ -83,7 +83,7 @@ lint = [ "types-tqdm", ] oss = ["dvc-oss==2.19"] -s3 = ["dvc-s3==2.22.0"] +s3 = ["dvc-s3==2.23.0"] ssh = ["dvc-ssh>=2.22.1,<3"] ssh_gssapi = ["dvc-ssh[gssapi]>=2.22.1,<3"] terraform = ["tpi[ssh]>=2.1"] @@ -99,7 +99,7 @@ tests = [ "filelock", "flaky", "pytest<8,>=7", - "pytest-cov", + "pytest-cov>=4.1.0", "pytest-docker>=1,<2", "pytest-lazy-fixture", "pytest-mock", @@ -143,27 +143,16 @@ filterwarnings = [ "error::ResourceWarning", "error::pytest.PytestUnraisableExceptionWarning", "error::pytest_mock.PytestMockWarning", - # remove when aiobotocore supports botocore>=1.29.13 - "ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning", - # also relates to botocore, but looks like it's not going to be fixed # https://github.com/boto/botocore/issues/2744 "ignore:'urllib3.contrib.pyopenssl' module is deprecated:DeprecationWarning", - # ruamel.yaml: https://sourceforge.net/p/ruamel-yaml/tickets/452/ # google.cloud: https://github.com/googleapis/python-storage/issues/1000 # google.logging: https://github.com/googleapis/python-logging/issues/730 # Also happens with `zc.lockfile`. "ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning", - # see https://github.com/celery/kombu/issues/1339 - # and https://github.com/celery/celery/issues/7528 - # drop when celery==5.3 && kombu==5.3 releases - "ignore:SelectableGroups dict interface is deprecated:DeprecationWarning", # tpi imports pkg_resources "ignore:pkg_resources is deprecated as an API:DeprecationWarning", # see https://github.com/networkx/networkx/issues/5723. "ignore:nx.nx_pydot.* depends on the pydot package, which has.*known issues and is not actively maintained:DeprecationWarning", - # remove when new version of pytest-cov gets released - # https://github.com/pytest-dev/pytest-cov/issues/557 - "ignore:The --rsyncdir command line argument and rsyncdirs config variable are deprecated:DeprecationWarning", ] log_level = "debug" markers = [