Gate fails on gate-trove-pep8

Bug #1458985 reported by Peter Stachowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
High
Peter Stachowski

Bug Description

The gate-trove-pep8 job fails on Jenkins with the following error:

  2015-05-25 13:54:09.932 | pkg_resources.VersionConflict: (pbr 1.0.1 (/home/jenkins/workspace/gate-trove-pep8/.tox/pep8/lib/python2.7/site-packages), Requirement.parse('pbr<1.0,>=0.5.21'))

This is caused by the fact that pbr has now released 1.0.1 and although most of the dependencies in Trove have switched to:

  pbr>=0.11,<2.0

we are still using the hacking module from last year (hacking>=0.8.0,<0.9), which has pbr pegged to <1.0

The hacking module needs to be updated and the new rules ignored.

This also appears to be an issue with python-troveclient

Revision history for this message
Peter Stachowski (peterstac) wrote :

Here are the hacking rules that should be ignored:

ignore = E111,E122,E123,E128,E251,E265,E713,F821,H105,H237,H238,H301,H305,H306,H307,H402,H404,H405,H407,H501,H904

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

Fix proposed to branch: master
Review: https://review.openstack.org/185714

Changed in trove:
assignee: nobody → Peter Stachowski (peterstac)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/185714
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=4e3e0e83c6fdd210819b2e446b379ae5bc1c838e
Submitter: Jenkins
Branch: master

commit 4e3e0e83c6fdd210819b2e446b379ae5bc1c838e
Author: Peter Stachowski <email address hidden>
Date: Tue May 26 19:33:57 2015 +0000

    Fix gate failure on gate-trove-pep8

    The gate-trove-pep8 job fails on Jenkins with the following error:

    pkg_resources.VersionConflict:
    (pbr 1.0.1 (/home/jenkins/workspace/gate-trove-pep8/
    .tox/pep8/lib/python2.7/site-packages),
    Requirement.parse('pbr<1.0,>=0.5.21'))

    This is caused by the fact that pbr has now released 1.0.1 and
    although most of the dependencies in Trove have switched to:

    pbr>=0.11,<2.0

    we are still using the hacking module from last year
    (hacking>=0.8.0,<0.9), which has pbr pegged to <1.0

    The hacking module needs to be updated and the new rules ignored.

    The following rules are now ignored:

    E111,E122,E123,E128,E251,E265,E713,F821,H105,H237,H238,H301,H305,H306,
    H307,H402,H404,H405,H407,H501,H904

    Change-Id: Ief129369bbffbaec7694e3f0d36668dde1772f05
    Closes-Bug: #1458985

Changed in trove:
status: In Progress → Fix Committed
Changed in trove:
milestone: none → liberty-1
importance: Undecided → High
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: liberty-1 → 4.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.