stable/kilo: testtools 2.0.0 isn't compatible with kilo

Bug #1542164 reported by Tony Breeds
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Unassigned

Bug Description

testtools 2.0.0 was released 2016-02-04 and has a hard requirement on on fixtures >=1.3.0 which isn't compatible with stable/kilo's
global-requirements.

We can't land an update to requirements to cap testtools as we install testtools (2.0.0) too soon and nothing we install from git in a typical devstack run requires testtools (it's only listed in test-requirements.txt) get 2.0.0.

Manually force testtools to match the desired requirements spec until we can:
1) Land the g-r patch
2) merge the update and release that in os-testr (stable/kilo)

Revision history for this message
Tony Breeds (o-tony) wrote :
Revision history for this message
Tony Breeds (o-tony) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to devstack (stable/kilo)

Related fix proposed to branch: stable/kilo
Review: https://review.openstack.org/276580

Revision history for this message
Enrico Bacis (enrico-bacis) wrote :

I was trying to backport the pip_install lines to add the "-c $REQUIREMENTS_DIR/upper-contstraints.txt" to the pip command in inc/python, but this does not seem to work, in fact the version in global-requirements.txt and upper-constraints.txt do not match.

For example pbr in global requirements has <1.0, while in upper constraints has 1.2.0

Revision history for this message
Tony Breeds (o-tony) wrote :

@Enrico: upper-constraints.txt has no effect in Kilo. The contents of the fail are to be ignored.

Having constraints support in kilo would be awesome but it's to intrusive at this stage of kilo life-cycle

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to devstack (stable/kilo)

Reviewed: https://review.openstack.org/276580
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=c7656a12ec8ca6a35d4ef40c0cd62d9a2ec68079
Submitter: Jenkins
Branch: stable/kilo

commit c7656a12ec8ca6a35d4ef40c0cd62d9a2ec68079
Author: Tony Breeds <email address hidden>
Date: Fri Feb 5 16:19:59 2016 +1100

    Manually install testtools < 2.0.0

    testtools 2.0.0 was released 2016-02-04 and has a hard requirement on
    on fixtures >=1.3.0 which isn't compatible with stable/kilo's
    global-requirements.

    We can't land an update to requirements to cap testtools as we install
    testtools (2.0.0) too soon and nothing we install from git in a typical
    devstack run requires testtools (it's only listed in
    test-requirements.txt) get 2.0.0.

    Manually force testtools to match the desired requirements spec until we
    can:
    . Land the g-r patch
    . merge the update and release that in os-testr (stable/kilo)

    Related-Bug: 1542164
    Change-Id: I3368cf69969c08f3017cda4041f23a0b8580d5b0

tags: added: in-stable-kilo
Revision history for this message
Matt Riedemann (mriedem) wrote :

We worked around this so marking it complete.

Changed in devstack:
status: New → Fix Released
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.