Py3.7 unit test failures

Bug #1785309 reported by Corey Bryant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-zunclient
Fix Released
Medium
hongbin

Bug Description

The following tests are failing for Py3.7: https://paste.ubuntu.com/p/S8NhNKvwGH/

hongbin (hongbin034)
Changed in python-zunclient:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-zunclient (master)

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

Changed in python-zunclient:
assignee: nobody → hongbin (hongbin034)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-zunclient (master)

Reviewed: https://review.openstack.org/588995
Committed: https://git.openstack.org/cgit/openstack/python-zunclient/commit/?id=668e8991889cbb5068bb636e5bdfe2200431e4da
Submitter: Zuul
Branch: master

commit 668e8991889cbb5068bb636e5bdfe2200431e4da
Author: Hongbin Lu <email address hidden>
Date: Sun Aug 5 22:54:53 2018 +0000

    Handle StopIteration for Py3.7

    Catch the raise of StopIteration with return.

    PEP 0479, https://www.python.org/dev/peps/pep-0479/, makes the
    following change: "when StopIteration is raised inside a generator,
    it is replaced it with RuntimeError".
    And states: "If raise StopIteration occurs directly in a generator,
    simply replace it with return."

    Closes-Bug: #1785309
    Change-Id: Ib751b680b7357782cb5359526e1e83ee8c5c80dd

Changed in python-zunclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-zunclient 3.0.0

This issue was fixed in the openstack/python-zunclient 3.0.0 release.

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.