Philipp Hörist pushed to branch master at gajim / gajim
Commits:
c70e2981 by Philipp Hörist at 2023-01-06T17:10:03+01:00
ci: Windows: Don’t fail on dependency check
- - - - -
1 changed file:
- win/misc/depcheck.py
Changes:
=====================================
win/misc/depcheck.py
=====================================
@@ -25,7 +25,8 @@
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(','))
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/c70e29813cbc0381a565b5102ddb28b5cf290854
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/c70e29813cbc0381a565b5102ddb28b5cf290854
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits