[Python-apps-team] Bug#903024: cython: FTBFS with python3.7: Doctest: pure_doctest__generators_py.with_outer_raising ... FAIL

Emilio Pozuelo Monfort pochu at debian.org
Thu Jul 5 10:09:48 BST 2018


Source: cython
Version: 0.28.2-4
Severity: serious

Hi,

Your package failed to build on a rebuild with python3.7 as a supported python3 interpreter:

Doctest: pure_doctest__generators_py.with_outer_raising ... FAIL
[...]
FAIL: with_outer_raising (pure_doctest__generators_py)
Doctest: pure_doctest__generators_py.with_outer_raising
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.7/doctest.py", line 2198, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for pure_doctest__generators_py.with_outer_raising
  File "/<<PKGBUILDDIR>>/tests/run/generators_py.py", line 84, in with_outer_raising

----------------------------------------------------------------------
File "/<<PKGBUILDDIR>>/tests/run/generators_py.py", line 87, in pure_doctest__generators_py.with_outer_raising
Failed example:
    list(x())
Exception raised:
    Traceback (most recent call last):
      File "/<<PKGBUILDDIR>>/tests/run/generators_py.py", line 93, in generator
        raise StopIteration
    StopIteration

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "/usr/lib/python3.7/doctest.py", line 1329, in __run
        compileflags, 1), test.globs)
      File "<doctest pure_doctest__generators_py.with_outer_raising[1]>", line 1, in <module>
        list(x())
    RuntimeError: generator raised StopIteration


It'd be good to fix this soon as this is blocking many packages for the python3.7 transition.

Cheers,
Emilio

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (700, 'experimental'), (650, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Python-apps-team mailing list