This website requires JavaScript.
Explore
Get Started
jjb
/
jenkins-job-builder
Code
Issues
Proposed changes
09c0224fb2
Branches
Tags
View all branches
jenkins-job-builder
/
requirements.txt
7 lines
77 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Argparse is required for JJB to parse arguments Move argparse requirement from tests to install requirements as it is required when using JJB. Change-Id: If503ebfe790c904f77ef45b59ea909a2577db5cd
2014-07-27 00:49:51 +01:00
argparse
Move ordereddict to requirements Need ordereddict in the requirements as it is used at run time by the yaml parsing code not just a test time. Change-Id: Ic41e7adb5a06ed319f6201a13b9f7391fc245853
2014-09-04 14:58:20 +01:00
ordereddict
Make JJB python 3 compatible Convert to use idioms that work for both python 3 and python 2.6+ and ensure that a suitable version of dependencies is included for python 3 compatibility. Update python-jenkins to 0.3.4 as the earliest version that supports python 3 without any known regressions. Add an extra parser check for missing 'command' due to changes in how argparse works under python 3. To access the first element of a dict in both python 2 and 3, 'next(iter(dict.items()))' is used as the standard idiom to replace 'dict.items()[0]' as 'items()' returns an iterator in python 3 which cannot be indexed. Using 'next(iter(..))' allows for both lists and iterators to be passed in without unnecessary conversion of iterators to lists which would be true of 'list(dict.items())[0]'. Original change which was reverted due to breaking use of job-groups is If4b35e2ceee8239379700e22eb79a3eaa04d6f0f. This replaces the previous conversion of 'dict.items()[0]' to 'dict.popitem()', which would result in removing a job-group when first called, thus defeating the benefit of being able to reference the group mulitple times. This usage has been replaced with 'next(iter(dict.items()))' as a non-modifying alternative that still avoids creating unnecessary copies of data while working for all supported versions of python. Change-Id: I37e3b67c043dadddb54e16ee584bde3f79e6a770
2014-06-04 10:35:13 -07:00
six>=1.5.2
Add test to determine whether XML output has changed. Change-Id: I5e0b76e195a1b412d180484ce1ddd3e9159d7779 Reviewed-on: https://review.openstack.org/12286 Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
2012-08-31 15:15:39 -07:00
PyYAML
Depend on python-jenkins 0.4.1 or later Change I1cae480a9a341ec2f6062904c962530dfce95057 introduced a dependency on the jenkins.Jenkins.get_plugins_info method, which was not added to python-jenkins until 0.4.1. Change-Id: Iedbe85d2dadfbb5a87a5f704649c7d30031a21a7
2015-02-06 14:26:56 +00:00
python-jenkins>=0.4.1
Add tox "coverage" target Change-Id: I577d62e016a550ea30671837a0a426165984e982
2014-04-14 16:45:26 -04:00
pbr>=0.8.2,<1.0
Copy Permalink