aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/state_impl
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-10-07 14:00:15 +0200
committerWojtek Kosior <koszko@koszko.org>2022-10-08 19:08:39 +0200
commit4f016d740e3c15e72b944aa0d6f82ca863d1ae67 (patch)
treea7f8b2dd322a9c35122ce9c4ad3922f4ad3bd9c1 /src/hydrilla/proxy/state_impl
parent168b8d76d9b84a4d6b78100bee080cc9a14f5ff6 (diff)
downloadhaketilo-hydrilla-4f016d740e3c15e72b944aa0d6f82ca863d1ae67.tar.gz
haketilo-hydrilla-4f016d740e3c15e72b944aa0d6f82ca863d1ae67.zip
[proxy] honor min/max haketilo version constraints in packages/libraries
Diffstat (limited to 'src/hydrilla/proxy/state_impl')
-rw-r--r--src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py b/src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py
index 864d463..4cc4e7a 100644
--- a/src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py
+++ b/src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py
@@ -77,7 +77,8 @@ def _get_infos_of_type(cursor: sqlite3.Cursor, info_type: t.Type[AnyInfoVar],) \
for item_version_id, definition, repo_name, repo_iteration \
in cursor.fetchall():
info = info_type.load(definition, repo_name, repo_iteration)
- result[item_version_id] = info
+ if info.compatible:
+ result[item_version_id] = info
return result