diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-01-06 18:21:49 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-01-06 18:21:49 +0300 |
commit | 14d951fd093b32b39c849464a0edfe44d67dc606 (patch) | |
tree | a48972969ee7b27041f52529afbefea855744db7 /win | |
parent | 2484c6344fa9414677c4111acc106d8d58a3ee0d (diff) |
ci: Windows: Ignore Soup 2.4 in dependency check
Diffstat (limited to 'win')
-rw-r--r-- | win/misc/depcheck.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win/misc/depcheck.py b/win/misc/depcheck.py index 830870779..6f14b1bb7 100644 --- a/win/misc/depcheck.py +++ b/win/misc/depcheck.py @@ -24,12 +24,17 @@ from gi.repository import GIRepository # noqa: E402 logging.basicConfig(level='INFO', format='%(levelname)s: %(message)s') log = logging.getLogger() +IGNORED_LIBS = [ + ('Soup', '2.4') +] def get_required_by_typelibs() -> set[str]: deps: set[str] = set() repo = GIRepository.Repository() for tl in os.listdir(repo.get_search_path()[0]): namespace, version = os.path.splitext(tl)[0].split('-', 1) + if (namespace, version) in IGNORED_LIBS: + continue repo.require(namespace, version, 0) lib = repo.get_shared_library(namespace) if lib: |