From 6c021132555bf4e1f8e67db54c585b582ac7d4d1 Mon Sep 17 00:00:00 2001 From: Matthew Booth Date: Wed, 18 Feb 2015 14:31:00 +0000 Subject: [PATCH] Add toposort test requirement This is a test requirement for Nova change Ic4dee3126dda2a25455235fea6a6574b64cd51a3 . toposort implements a topological sort in Python. The above change uses it to ensure correct ordering wrt referential integrity constraints when reconstructing a MySQL schema from a cache during unit tests. The library is fairly simple. I would expect it to be updated rarely. It is python 3 compatible. It uses the Apache 2.0 licence. It is not packaged for either Ubuntu or Fedora as of February 2015. Its function is not covered by any other currently required library that I'm aware of. A feasible, but undesirable, alternative to using this package would be to implement a topological sort function in OpenStack. Change-Id: I7c9c88088228514e37649a8d06d94c43509962a5 --- test-requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test-requirements.txt b/test-requirements.txt index b2e4f9c1fd..7286fabd6d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,3 +4,4 @@ hacking>=0.10,<0.11 fixtures>=0.3.14 testrepository>=0.0.18 testtools>=0.9.36 +toposort>=1.0 # Apache 2.0