Opened 7 years ago

Closed 7 years ago

#56221 closed defect (fixed)

py-pytest: missing dependency more-itertools

Reported by: cdeil (Christoph Deil) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-pytest

Description

py-pytest is broken since the update to v3.5.

$ python -m pytest
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pytest.py", line 28, in <module>
    from _pytest.python_api import approx, raises
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/_pytest/python_api.py", line 6, in <module>
    from more_itertools.more import always_iterable
ModuleNotFoundError: No module named 'more_itertools'

The changelog at https://docs.pytest.org/en/latest/changelog.html#pytest-3-5-0-2018-03-21 confirms that in pytest v3.5 a dependency on this package was added: https://pypi.python.org/pypi/more-itertools

Can you please fix?

Change History (2)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: stromnov removed
Owner: set to stromnov
Status: newassigned

comment:2 Changed 7 years ago by Andrew Stromnov <stromnov@…>

Resolution: fixed
Status: assignedclosed

In cdd862deb15dca49d293793accd48397ed085569/macports-ports:

py-pytest: add more-itertools dependency

Closes: #56221

Note: See TracTickets for help on using tickets.