Commit Graph

5 Commits

Author SHA1 Message Date
Darragh Bailey 25f950e0e4 Update requirements to align
Change-Id: I8af89a361458f3222fe924532697b8596f659d32
2020-01-14 12:02:57 +00:00
Alexis Lee a05425f161 Use a recent pbr
Old pbr (<1.0.0) doesn't recognise end-of-line comments:

  GitPython>=1.0.1 # BSD License (3 clause)

This results in requirements being passed to setuptools by pbr
containing the comment when running the following command:

  python setup.py install

Subsequently setuptools tries to parse the full string instead of just
the package and version bounds spec.

While version >=1.0.0 would be sufficient, openstack requirements CI
job requires that we align with the approved requirements bounds of
>=1.6 instead.

Additionally to avoid conflicts need to move to a more recent release
of 'hacking', releases before 0.10 prevent use of pbr>1.0.

Change-Id: I096c7a0ae7ae326c2dfd2930c4dd05b52bf84f51
2016-08-31 11:50:29 +01:00
Darragh Bailey 62def85b6b Support for python 3
Support using python 3 interpreter.

Fix imports and metaclass definition to be python 2/3 compatible.
Update min requirements to use GitPython that is python 3 compatible
and works with openstack global-requirements.
Use '//' for integer division and used brackets around tuple iterations.

Change-Id: I51617a433987d1549e0686c1feda01f971b13fa0
2016-06-14 16:15:22 +01:00
Darragh Bailey 013c885799 Blacklist broken GitPython release 0.3.2
Change-Id: I0aa6421dd33213ff2d189cf71ff27aca8dea391d
2014-11-18 14:31:16 +00:00
Monty Taylor 942de1ae2e Prepared for upstream integration
Migrate build to pbr. Add tox.ini file. Removed debian dir.
2014-07-15 12:22:09 +01:00