squelch warning on centos7 due to upgrading cffi
diff --git a/reclass/storage/yaml_git/__init__.py b/reclass/storage/yaml_git/__init__.py
index ec78954..8f54515 100644
--- a/reclass/storage/yaml_git/__init__.py
+++ b/reclass/storage/yaml_git/__init__.py
@@ -6,7 +6,13 @@
 import collections
 import fnmatch
 import os
-import pygit2
+
+# Squelch warning on centos7 due to upgrading cffi
+# see https://github.com/saltstack/salt/pull/39871
+import warnings
+with warnings.catch_warnings():
+    warnings.simplefilter('ignore')
+    import pygit2
 
 import reclass.errors
 from reclass.storage import NodeStorageBase