summaryrefslogtreecommitdiffstats
path: root/requirements.txt
diff options
context:
space:
mode:
authorDarragh Bailey <dbailey@hp.com>2014-07-15 14:41:59 +0100
committerDarragh Bailey <dbailey@hp.com>2014-09-01 14:15:10 +0100
commitc99cbccb8ea12456c68fa0271239384a098e5df9 (patch)
tree2a4220ccbc7eea081d0c81f6ec44fd0f955844c9 /requirements.txt
parentfef529287e1b1fb99054af2f9803d94d1f4cf875 (diff)
downloadpython-jenkins-job-builder-c99cbccb8ea12456c68fa0271239384a098e5df9.tar.gz
python-jenkins-job-builder-c99cbccb8ea12456c68fa0271239384a098e5df9.tar.xz
python-jenkins-job-builder-c99cbccb8ea12456c68fa0271239384a098e5df9.zip
Ensure dict orders are deterministic
Python 3 enables hash randomization by default, additionally tox 1.7 turns on the same randomization for earlier versions of python by default. Need to ensure that order of iteration over the yaml data and resulting XML has deterministic order for testing. Adapts https://gist.github.com/enaeseth/844388 which ensures data read by yaml will have its order retained in a predictable manner across multiple python versions. Additionally it seems more sensible to ensure that the order of generated XML snippets corresponding to the input yaml files are consistently in the same order as the entries in the source files. Closes-Bug: #1333349 Change-Id: I6bf6d298a2609cc6ddbbc6b02b7f1a04413a5c89
Diffstat (limited to 'requirements.txt')
0 files changed, 0 insertions, 0 deletions