[MacPorts] #64961: py-pylint @2.13.3_0: fails with ModuleNotFoundError on dill

MacPorts noreply at macports.org
Fri Apr 8 07:25:16 UTC 2022


#64961: py-pylint @2.13.3_0: fails with ModuleNotFoundError on dill
--------------------+-----------------------
 Reporter:  saj     |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.7.2
 Keywords:          |       Port:  py-pylint
--------------------+-----------------------
 {{{
 % port echo installed | grep pylint
 py310-pylint                   @2.13.3_0
 pylint_select                  @0.1_1
 }}}

 {{{
 % port select --show pylint
 The currently selected version for 'pylint' is 'pylint310'.
 }}}

 {{{
 % pylint --version
 Traceback (most recent call last):
   File "/opt/local/bin/pylint", line 33, in <module>
     sys.exit(load_entry_point('pylint==2.13.3', 'console_scripts',
 'pylint')())
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/pylint/__init__.py", line 19, in run_pylint
     from pylint.lint import Run as PylintRun
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/pylint/lint/__init__.py", line 19, in <module>
     from pylint.lint.parallel import check_parallel
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/pylint/lint/parallel.py", line 19, in <module>
     import dill
 ModuleNotFoundError: No module named 'dill'
 }}}

 All arguments produce the same behaviour.

 https://pylint.pycqa.org/en/latest/whatsnew/2.13.html

 > When run in parallel mode pylint now pickles the data passed to
 subprocesses with the dill package. The dill package has therefore been
 added as a dependency.

 I manually installed `py310-dill` and `pylint` started working again.

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


More information about the macports-tickets mailing list