[Numpy-discussion] mypy occasional error on _UnknownType in _array_like.py since 1.22 or 1.23

2022-10-10 Thread Nick Gerner
I upgraded from 1.21 to 1.23.3 recently and got a variety of mypy issues. I seem to have resolved all of them, but I occasionally still see this show up: .venv/lib/python3.10/site-packages/numpy/_typing/_array_like.py:153: error: Type argument "_UnknownType" of "dtype" must be a subtype of "generi

[Numpy-discussion] Re: mypy occasional error on _UnknownType in _array_like.py since 1.22 or 1.23

2022-10-10 Thread Charles R Harris
On Mon, Oct 10, 2022 at 12:27 PM Nick Gerner wrote: > I upgraded from 1.21 to 1.23.3 recently and got a variety of mypy issues. > I seem to have resolved all of them, but I occasionally still see this show > up: > > .venv/lib/python3.10/site-packages/numpy/_typing/_array_like.py:153: > error: Typ

[Numpy-discussion] Re: mypy occasional error on _UnknownType in _array_like.py since 1.22 or 1.23

2022-10-10 Thread Nick Gerner
On Mon, Oct 10, 2022 at 1:35 PM Charles R Harris wrote: > > > On Mon, Oct 10, 2022 at 12:27 PM Nick Gerner > wrote: > >> I upgraded from 1.21 to 1.23.3 recently and got a variety of mypy issues. >> I seem to have resolved all of them, but I occasionally still see this show >> up: >> >> .venv/lib