12 Commits

Author SHA1 Message Date
Monty Taylor
503fd8dcd4
Sync requirements with openstack/requirements
This is not necessary - jenkins-job-builder does not follow the
requirements sync process. That said - these are likely all safe bets
for being solid versions of these dependencies - and some of them were
kinda stale.

Change-Id: Id1941ff4c9736100f9bdd5508ec3c0377e51fdbe
2016-12-10 09:42:57 -06:00
Monty Taylor
dd8ba49a7c
Fix docs build issue
For some reason docs builds break when using the sphinx version listed.
Just use the same one as the rest of OpenStack.

Also - while we're at it - setuptools_git hasn't been a thing in a LONG
time.

Change-Id: I70d45f5b237ceb9b67ca4ce458816f41a197d228
2016-12-10 09:42:18 -06:00
Swapnil Kulkarni (coolsvap)
b5634f88c3 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: I0481ddae841b46d517ea435f05960de6d99ccc09
2016-07-22 04:56:46 +00:00
Khai Do
6a68da8e03 Update sphinx to be compatible with readthedocs.org
JJB docs are published to readthedocs.org but fails to build because
RTD only supports a newer version of sphinx.  Updating sphinx to
version 1.3.1 so build won't fail on RTD.

depends-on: Iba92628263e20efca84aeada0e19000f4c9b1fac
Change-Id: Ia8d4033bf2def5066bda26813b41338408093481
2015-09-28 20:46:42 +00:00
Darragh Bailey
0c012a93c4 Support hacking module <= 0.10.1
Update version restrictions to allow hacking module <= 0.10.1 and fix
any style errors reported by the latest version.

Change-Id: Ia608096342b11e411e56a86e8f289f9891077895
2015-03-03 01:10:26 +00:00
Darragh Bailey
2d74b16620 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
Darragh Bailey
c99cbccb8e 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
2014-09-01 14:15:10 +01:00
Darragh Bailey
fd82f48a84 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
Khai Do
1df929c58a tests for JJB command processing
Add a few tests for JJB command processing.  This is just to get
started I'm hoping more will come.

Change-Id: Iff964af025f6a3d7ba4acd91b1e0242285a11bc3
2014-07-09 08:55:10 -07:00
Marc Abramowitz
b33ac74828 Add tox "coverage" target
Change-Id: I577d62e016a550ea30671837a0a426165984e982
2014-05-27 16:50:34 -07:00
James E. Blair
6067cc712c Add hacking to requirements
Solely for the transitive dependencies.  Ignore errors from hacking
as do the other openstack-infra python projects.

Change-Id: Ib5953c31a5380f9f57c7f79e1ce0699aef5eb629
2014-04-16 10:37:12 -07:00
Antoine Musso
d2ff8c098f Migrate to pbr
I found out pbr to be a bit nicer when it comes to edit files. AFAIK
most OpenStack project are using it, so I guess Jenkins Job Builder can
be pbr based as well.o

Basically:
* moved everything from setup.py to setup.cfg
* sorted entries while at it
* require pbr module using the same version limits used by Zuul
* enable pbr.warnerrors
* testenv.usedevelop = True or build_sphinx can not find entry points
* move requirement files to root of repository (we had them in /tools/)

Change-Id: I44ee8910ad4fe4eebb7337951efa31baff4281fe
2014-03-14 22:25:46 +01:00