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 1581210 - python-more-itertools FTBFS with Python 3.7
Summary: python-more-itertools FTBFS with Python 3.7
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-more-itertools
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ranjan Maitra
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON37
TreeView+ depends on / blocked
 
Reported: 2018-05-22 11:23 UTC by Miro Hrončok
Modified: 2023-09-12 01:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-04 13:07:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
build.log from copr (91.57 KB, text/plain)
2018-05-22 11:23 UTC, Miro Hrončok
no flags Details
root.log from copr (31.81 KB, text/plain)
2018-05-22 11:24 UTC, Miro Hrončok
no flags Details

Description Miro Hrončok 2018-05-22 11:23:57 UTC
Created attachment 1439988 [details]
build.log from copr

Description of problem: python-more-itertools cannot build with Python 3.7. This is blocking pytest and hence the entire Python 3.7 rebuild.


Version-Release number of selected component: python-more-itertools


How reproducible: Build on Python 3.7


======================================================================
ERROR: test_basic (more_itertools.tests.test_more.BucketTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/more-itertools-4.1.0/more_itertools/more.py", line 725, in _get_values
    item = next(self._it)
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/builddir/build/BUILD/more-itertools-4.1.0/more_itertools/tests/test_more.py", line 588, in test_basic
    self.assertEqual(list(D[10]), [10, 11, 12])
RuntimeError: generator raised StopIteration
======================================================================
ERROR: test_in (more_itertools.tests.test_more.BucketTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/more-itertools-4.1.0/more_itertools/more.py", line 725, in _get_values
    item = next(self._it)
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/builddir/build/BUILD/more-itertools-4.1.0/more_itertools/tests/test_more.py", line 601, in test_in
    self.assertFalse(40 in D)
  File "/builddir/build/BUILD/more-itertools-4.1.0/more_itertools/more.py", line 702, in __contains__
    item = next(self[value])
RuntimeError: generator raised StopIteration
======================================================================
FAIL: bucket (more_itertools.more)
Doctest: more_itertools.more.bucket
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.7/doctest.py", line 2198, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for more_itertools.more.bucket
  File "/builddir/build/BUILD/more-itertools-4.1.0/more_itertools/more.py", line 658, in bucket
----------------------------------------------------------------------
File "/builddir/build/BUILD/more-itertools-4.1.0/more_itertools/more.py", line 669, in more_itertools.more.bucket
Failed example:
    list(s['b'])
Exception raised:
    Traceback (most recent call last):
      File "/builddir/build/BUILD/more-itertools-4.1.0/more_itertools/more.py", line 725, in _get_values
        item = next(self._it)
    StopIteration
    The above exception was the direct cause of the following exception:
    Traceback (most recent call last):
      File "/usr/lib64/python3.7/doctest.py", line 1329, in __run
        compileflags, 1), test.globs)
      File "<doctest more_itertools.more.bucket[5]>", line 1, in <module>
        list(s['b'])
    RuntimeError: generator raised StopIteration
----------------------------------------------------------------------
Ran 314 tests in 0.251s
FAILED (failures=1, errors=2)

Comment 1 Miro Hrončok 2018-05-22 11:24:17 UTC
Created attachment 1439989 [details]
root.log from copr

Comment 4 Miro Hrončok 2018-05-28 22:27:00 UTC
Ranjan?

Comment 5 Miro Hrončok 2018-06-04 13:07:13 UTC
Merged.

Comment 6 Red Hat Bugzilla 2023-09-12 01:28:09 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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