Deprecate remaining `lwork=` arguments in `scipy.linalg`

Hi all,

In the 1.18 release the lwork argument to qr has been deprecated. The associated forum post [1] contains some more details and motivation.

From what could be found through a quick grep search there are 3 remaining functions in scipy.linalg that still expose this argument: rq, qz and schur. Since it is somewhat to bizarre to deprecate the use of this argument in one function but to leave it around in 3 others, the PR in [2] proposes to clean up the remaining arguments. Opinions are of course welcome, either here or in the PR.

Thanks in advance.

[1]: Deprecate `lwork=` argument to `scipy.linalg.qr`

[2]: MAINT/DEP: linalg: deprecate remaining `lwork` arguments in linalg by BasilLiekens · Pull Request #25617 · scipy/scipy · GitHub

1 Like