From 2c549dfdccc166dd0ef04cf28dcc977f7c1a4ec0 Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Fri, 14 Jul 2023 11:27:30 +0200 Subject: [PATCH] Tighten dependency on datalad-next to pin error behavior datalad-next now does wholistic parameter validation. --- datalad_ebrains/tests/test_clone.py | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/datalad_ebrains/tests/test_clone.py b/datalad_ebrains/tests/test_clone.py index 0c6b1f6..6a63c3b 100644 --- a/datalad_ebrains/tests/test_clone.py +++ b/datalad_ebrains/tests/test_clone.py @@ -89,7 +89,7 @@ def test_clone_invalid_call(tmp_path): # make sure the parameter validation is working from datalad.api import ebrains_clone # always needs a `source` - with pytest.raises(TypeError): + with pytest.raises(ValueError): ebrains_clone() # must contain a UUID with pytest.raises(ValueError): diff --git a/setup.cfg b/setup.cfg index dc4b015..b5ef180 100644 --- a/setup.cfg +++ b/setup.cfg @@ -15,7 +15,7 @@ classifiers = python_requires = >= 3.7 install_requires = datalad >= 0.17 - datalad_next >= 1.0.0b2 + datalad_next >= 1.0.0b3 ebrains-kg-core fairgraph >= 0.11 packages = find_namespace: