a4c351cb47
Package and its dependencies are being imported in random order which allows to import package and then get an error while importing its dependency. This patch uses OrderedDict ordered by topological sort instead of regular dict to fix that. Cyclic requirements are imported in random order. Tests to check order of import are also added. Change-Id: Ia6cb087679b3ae4613ac3d1d19279a9826e537ef Closes-bug: #1585420 Co-Authored-By: ksnihyr <ksnihyr@mirantis.com>
6 lines
181 B
YAML
6 lines
181 B
YAML
---
|
|
fixes:
|
|
- Fixed order of packages import - main package can not be imported before
|
|
all its dependencies are imported. Cyclic requirements are imported in
|
|
random order.
|