pip>=23.1 breaks the installation of local plugins in Lektor 3.3.8
dairiki opened this issue · comments
The latest release of pip
(23.1) removes support for the --install-option
parameter to pip install
, which is used by our install_local_package
function.
Pinning pip
does not completely fix the issue, since the latest version of pip may still end up being installed in Lektor's private package cache (and, if/when that happens, that version of pip will be used by install_local_package
, since the package cache is in sys.path
at that point).
A possible fix would be to backport #1065 to the 3.3 branch. I am working up a PR that does that.
If there were a simpler non-intrusive fix (a la pinning pip) that would probably be a better option...
Fixed in Lektor==3.3.9 (via #1129).