Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1592941 - python-netaddr FTBFS on Python 3.7
Summary: python-netaddr FTBFS on Python 3.7
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-netaddr
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: John Eckersberg
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON37
TreeView+ depends on / blocked
 
Reported: 2018-06-19 15:49 UTC by Miro Hrončok
Modified: 2018-06-19 16:55 UTC (History)
3 users (show)

Fixed In Version: python-netaddr-0.7.19-10.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-19 16:55:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2018-06-19 15:49:03 UTC
Description of problem: python-netaddr FTBFS on Python 3.7

It raises StopIteration from generator. That is now a runtime error. See 


Version-Release number of selected component (if applicable): python-netaddr-0.7.19-10.fc29


How reproducible: in koji


Steps to Reproduce:
1. fedpkg build --target=f29-python

Especially please don't just fedpkg build without target.

Actual results:
E           RuntimeError: generator raised StopIteration

=> package FTBFS

Expected results:
package builds

Additional info:
https://docs.python.org/3.7/whatsnew/3.7.html#changes-in-python-behavior
https://www.python.org/dev/peps/pep-0479/

Similar bugs/fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1583818
https://bitbucket.org/ianb/paste/pull-requests/41/python-37-support/diff
https://github.com/erikrose/more-itertools/commit/e38574428c952b143fc4e0e42cb99b242c7b7977

Comment 1 Miro Hrončok 2018-06-19 16:55:13 UTC
Thanks.


Note You need to log in before you can comment on or make changes to this bug.