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)
Created attachment 1439989 [details] root.log from copr
Fixed upstream in https://github.com/erikrose/more-itertools/commit/e38574428c952b143fc4e0e42cb99b242c7b7977
https://src.fedoraproject.org/rpms/python-more-itertools/pull-request/2
Ranjan?
Merged.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days