diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-10-07 14:00:15 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-10-08 19:08:39 +0200 |
commit | 4f016d740e3c15e72b944aa0d6f82ca863d1ae67 (patch) | |
tree | a7f8b2dd322a9c35122ce9c4ad3922f4ad3bd9c1 /src/hydrilla/proxy/state_impl | |
parent | 168b8d76d9b84a4d6b78100bee080cc9a14f5ff6 (diff) | |
download | haketilo-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.py | 3 |
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 |