python-muranoclient/releasenotes/notes/requirements-order-19ecc40ca6d34739.yaml
Valerii Kovalchuk a4c351cb47 Import package and dependencies in correct order
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>
2016-06-21 14:04:13 +03:00

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.