diff --git a/CMakeLists.txt b/CMakeLists.txt
index ee61c789..003875db 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -54,8 +54,8 @@ set(LIBNETCONF2_DEP_SOVERSION 4.4.2)
set(LIBNETCONF2_DEP_SOVERSION_MAJOR 4)
# sysrepo required version
-set(SYSREPO_DEP_VERSION 2.10.0)
-set(SYSREPO_DEP_SOVERSION 7.27.0)
+set(SYSREPO_DEP_VERSION 2.12.0)
+set(SYSREPO_DEP_SOVERSION 7.27.20)
set(SYSREPO_DEP_SOVERSION_MAJOR 7)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -std=c99")
diff --git a/tests/test_edit.c b/tests/test_edit.c
index 4ef2ad84..8ffe3c33 100644
--- a/tests/test_edit.c
+++ b/tests/test_edit.c
@@ -296,12 +296,6 @@ test_delete_edit3(void **state)
" operation-failed\n"
" error\n"
" Invalid operation \"merge\" for node \"prefix-length\" with parent operation \"delete\".\n"
- "\n"
- "\n"
- " application\n"
- " operation-failed\n"
- " error\n"
- " User callback failed.\n"
"\n");
FREE_TEST_VARS(st);
diff --git a/tests/test_filter.c b/tests/test_filter.c
index ccc0254b..13bb4292 100644
--- a/tests/test_filter.c
+++ b/tests/test_filter.c
@@ -1057,12 +1057,6 @@ test_subtree_no_namespace(void **state)
" operation-failed\n"
" error\n"
" Subtree filter node \"invalid-name\" without a namespace does not match any YANG nodes.\n"
- "\n"
- "\n"
- " application\n"
- " operation-failed\n"
- " error\n"
- " User callback failed.\n"
"\n";
assert_string_equal(st->str, expected);
FREE_TEST_VARS(st);