version 2.3.1 on stable/juno has uncapped futures which breaks dep resolution with capped taskflow

Bug #1486576 reported by Matt Riedemann
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python-swiftclient
Fix Released
Undecided
Matt Riedemann

Bug Description

Per the mailing list here:

http://lists.openstack.org/pipermail/openstack-dev/2015-August/072375.html

devstack on stable/juno can fail since cinder pulls in taskflow 0.6.2 which caps futures per https://review.openstack.org/#/c/212652/ but python-swiftclient has uncapped futures:

https://github.com/openstack/python-swiftclient/blob/2.3.1/requirements.txt#L1

So you end up getting this when running cinder-manage db sync:

2015-08-17 01:55:59.794 | + /usr/local/bin/cinder-manage db sync
2015-08-17 01:55:59.911 | Traceback (most recent call last):
2015-08-17 01:55:59.911 | File "/usr/local/bin/cinder-manage", line
4, in <module>
2015-08-17 01:55:59.911 |
__import__('pkg_resources').require('cinder==2014.2.3')
2015-08-17 01:55:59.911 | File
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 3084, in <module>
2015-08-17 01:55:59.911 | @_call_aside
2015-08-17 01:55:59.911 | File
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 3070, in _call_aside
2015-08-17 01:55:59.911 | f(*args, **kwargs)
2015-08-17 01:55:59.911 | File
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 3097, in _initialize_master_working_set
2015-08-17 01:55:59.912 | working_set = WorkingSet._build_master()
2015-08-17 01:55:59.912 | File
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 653, in _build_master
2015-08-17 01:55:59.912 | return cls._build_from_requirements(__requires__)
2015-08-17 01:55:59.912 | File
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 666, in _build_from_requirements
2015-08-17 01:55:59.912 | dists = ws.resolve(reqs, Environment())
2015-08-17 01:55:59.912 | File
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 839, in resolve
2015-08-17 01:55:59.912 | raise DistributionNotFound(req, requirers)
2015-08-17 01:55:59.912 | pkg_resources.DistributionNotFound: The
'futures<=2.2.0,>=2.1.6' distribution was not found and is required by
taskflow

So we need a stable/juno branch of python-swiftclient, sync that up with g-r on stable/juno and release that as 2.3.2 and then raise the cap on swiftclient in g-r stable/juno to be <2.4.0.

Revision history for this message
Matt Riedemann (mriedem) wrote :

stable/juno for swiftclient is now created.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-swiftclient (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/215786

Matt Riedemann (mriedem)
Changed in python-swiftclient:
status: New → In Progress
assignee: nobody → Matt Riedemann (mriedem)
Revision history for this message
Tony Breeds (o-tony) wrote :

See also:
https://review.openstack.org/#/c/215834/ Set cap on python-swiftclient to 2.4.0

and
https://review.openstack.org/#/c/215837/ Update *requirements.txt from global-requirements

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-swiftclient (stable/juno)

Change abandoned by Matt Riedemann (<email address hidden>) on branch: stable/juno
Review: https://review.openstack.org/215786
Reason: Yeah, git log locally is showing this is the master branch. Oops. Starting over.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-swiftclient (stable/juno)

Reviewed: https://review.openstack.org/215786
Committed: https://git.openstack.org/cgit/openstack/python-swiftclient/commit/?id=c213ffda17d09a68fdbb619ba6db4b8a101e85a9
Submitter: Jenkins
Branch: stable/juno

commit c213ffda17d09a68fdbb619ba6db4b8a101e85a9
Author: Matt Riedemann <email address hidden>
Date: Fri Aug 21 18:09:21 2015 -0700

    Update from global requirements

    This syncs up the requirements with global-requirements on stable/juno.

    We need this to cap the dependency on futures to avoid a conflict
    with capped futures in the version of taskflow in stable/juno, otherwise
    setting up devstack with cinder enabled fails.

    Also update .gitreview for stable/juno since this is the first patch
    on the new branch.

    Also sets up the tox func target, which is basically a cherry pick of
    commit 8aff0bda9c35ab96146f4f419803e62710ab5618. Note that while we
    make it possible to run the functional tests, we exclude them in
    Jenkins runs since they are also excluded from stable/kilo due to
    instability in the gate.

    Depends-On: I5a2d3f7860aeae6bf442e9372286eedbc290d6a8

    Change-Id: I507aade31da19be71900b81880cd5568b351663e
    Partial-Bug: #1486576

tags: added: in-stable-juno
Revision history for this message
Alan Pevec (apevec) wrote :
Changed in python-swiftclient:
status: In Progress → 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.