Opened 2 years ago

Closed 2 years ago

#64961 closed defect (fixed)

py-pylint @2.13.3_0: fails with ModuleNotFoundError on dill

Reported by: saj (Saj Goonatilleke) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: py-pylint

Description

% 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.

Change History (2)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Owner: set to stromnov
Status: newassigned

comment:2 Changed 2 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

In ac294c21344667954edb4438a6f823fb86ceb67c/macports-ports (master):

py-pylint: update to 2.13.5, fix dependencies

Closes: #64961

Note: See TracTickets for help on using tickets.