Skip to content

pytest 3.8.0 crashes before running the test suite because of a deprecation warning inside ipython #651

@njsmith

Description

@njsmith
============================= test session starts ==============================
platform darwin -- Python 3.5.3, pytest-3.8.0, py-1.6.0, pluggy-0.7.1 -- /Users/jenkins/workspace/-594-SV5AYVYYLSFPHE6/trio/.venv/bin/python
cachedir: .pytest_cache
rootdir: /Users/jenkins/workspace/-594-SV5AYVYYLSFPHE6/trio, inifile:
plugins: faulthandler-1.5.0, cov-2.6.0
collecting ... collected 434 items / 1 errors


==================================== ERRORS ====================================
 ERROR collecting .venv/lib/python3.5/site-packages/trio/_core/tests/test_multierror.py
../.venv/lib/python3.5/site-packages/trio/_core/tests/test_multierror.py:584: in <module>
    import IPython
../.venv/lib/python3.5/site-packages/IPython/__init__.py:55: in <module>
    from .terminal.embed import embed
../.venv/lib/python3.5/site-packages/IPython/terminal/embed.py:14: in <module>
    from IPython.core.magic import Magics, magics_class, line_magic
../.venv/lib/python3.5/site-packages/IPython/core/magic.py:20: in <module>
    from IPython.core import oinspect
../.venv/lib/python3.5/site-packages/IPython/core/oinspect.py:29: in <module>
    from IPython.lib.pretty import pretty
../.venv/lib/python3.5/site-packages/IPython/lib/pretty.py:91: in <module>
    from IPython.utils.signatures import signature
../.venv/lib/python3.5/site-packages/IPython/utils/signatures.py:9: in <module>
    DeprecationWarning, stacklevel=2)
E   DeprecationWarning: IPython.utils.signatures backport for Python 2 is deprecated in IPython 6, which only supports Python 3

For now we pinned to pytest 3.7.4: #650

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions