Elpy auto-completion does not list many of the functions/classes in latest numpy versions. This issue seems to stem from numpy itself, but I am wondering if there is something in the implementation detail or configuration of elpy that can be adjusted to work around the internal changes in numpy.
Steps to reproduce
Install the latest version of numpy (1.23.0 as of this writing)
pip install numpy==1.23.0
Open a new file and try to auto complete numpy's array
import numpy as np
np.arr
provided completions are abs, all, any, ... (See screenshot below)
(Note: array is not listed, but it does actually still exist in numpy 1.23.0)
Downgrading numpy to version 1.21.4 works as expected:
Summary
Elpy auto-completion does not list many of the functions/classes in latest numpy versions. This issue seems to stem from numpy itself, but I am wondering if there is something in the implementation detail or configuration of elpy that can be adjusted to work around the internal changes in numpy.
Steps to reproduce
Install the latest version of numpy (1.23.0 as of this writing)
Open a new file and try to auto complete numpy's
array
provided completions are
abs
,all
,any
, ... (See screenshot below)(Note:
array
is not listed, but it does actually still exist in numpy 1.23.0)Downgrading numpy to version 1.21.4 works as expected:
My configuration
Result of
(elpy-config)
Elpy configuration in my init.el