Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2023-01-06 19:10:03 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-01-06 19:10:03 +0300
commitc70e29813cbc0381a565b5102ddb28b5cf290854 (patch)
tree6849219383a22cd8454460a666cea872754614db /win
parented399554bff29cb00ad50071942d292cf2db0218 (diff)
ci: Windows: Don’t fail on dependency check
Diffstat (limited to 'win')
-rw-r--r--win/misc/depcheck.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/win/misc/depcheck.py b/win/misc/depcheck.py
index 6f14b1bb7..2f965d539 100644
--- a/win/misc/depcheck.py
+++ b/win/misc/depcheck.py
@@ -25,7 +25,8 @@ logging.basicConfig(level='INFO', format='%(levelname)s: %(message)s')
log = logging.getLogger()
IGNORED_LIBS = [
- ('Soup', '2.4')
+ ('Soup', '2.4'),
+ ('Gtk', '4.0')
]
def get_required_by_typelibs() -> set[str]:
@@ -35,7 +36,12 @@ def get_required_by_typelibs() -> set[str]:
namespace, version = os.path.splitext(tl)[0].split('-', 1)
if (namespace, version) in IGNORED_LIBS:
continue
- repo.require(namespace, version, 0)
+ try:
+ repo.require(namespace, version, 0)
+ except Exception as error:
+ log.warning('Unable to load %s %s: %s',
+ namespace, version, error)
+ continue
lib = repo.get_shared_library(namespace)
if lib:
deps.update(lib.split(','))