[MacPorts] #56221: py-pytest: missing dependency more-itertools

MacPorts noreply at macports.org
Tue Apr 3 19:00:59 UTC 2018


#56221: py-pytest: missing dependency more-itertools
--------------------+-----------------------
 Reporter:  cdeil   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  py-pytest
--------------------+-----------------------
 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?

-- 
Ticket URL: <https://trac.macports.org/ticket/56221>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list