mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
[Backport release-26.05] python3Packages.plover: reference to python3Packages.plover_5 instead of python3Packages.plover_4 (#526779)
This commit is contained in:
commit
4f8f2f16ac
2 changed files with 11 additions and 7 deletions
|
|
@ -3,7 +3,7 @@
|
|||
config,
|
||||
python3Packages,
|
||||
# For aliases
|
||||
plover,
|
||||
plover_4,
|
||||
}:
|
||||
python3Packages.toPythonApplication python3Packages.plover
|
||||
# Aliases to now-dropped plover.stable and plover.dev
|
||||
|
|
@ -11,7 +11,8 @@ python3Packages.toPythonApplication python3Packages.plover
|
|||
# TODO(@ShamrockLee): remove after Nixpkgs 25.11 EOL
|
||||
// lib.optionalAttrs (config.allowAliases && !(lib.oldestSupportedReleaseIsAtLeast 2605)) {
|
||||
dev =
|
||||
lib.throwIf (lib.oldestSupportedReleaseIsAtLeast 2511) "plover.dev was renamed. Use plover instead."
|
||||
plover; # Added 2026-04-26
|
||||
lib.throwIf (lib.oldestSupportedReleaseIsAtLeast 2511)
|
||||
"plover.dev was renamed. Use plover, plover_5, or plover_4 instead."
|
||||
plover_4; # Added 2026-05-07
|
||||
stable = throw "plover.stable was renamed. Use plover instead."; # Added 2022-06-05; updated 2026-04-26
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12793,13 +12793,16 @@ self: super: with self; {
|
|||
|
||||
plotpy = callPackage ../development/python-modules/plotpy { };
|
||||
|
||||
# Use Plover 5 as Plover 4 depends on setuptool's pkg_resources to discover plugins,
|
||||
# which the setuptools upstream deprecated at version 81.0.0 and removed at version 82.0.0
|
||||
# Plover 5 has addressed this issue by switching to importlib.meta.distributions()
|
||||
#
|
||||
# NOTE:
|
||||
# Plover 5 moves from PyQt5 to PySide6,
|
||||
# which is a backward-incompatible change to praphical plugins.
|
||||
# Use Plover 4 for now (2026-04-26),
|
||||
# as the upstream still warns about this in every Plover 5 release,
|
||||
# which is a backward-incompatible change to graphical plugins.
|
||||
# List of unsupported plugins:
|
||||
# https://github.com/opensteno/plover_plugins_registry/blob/master/unsupported.json
|
||||
plover = plover_4;
|
||||
plover = plover_5;
|
||||
|
||||
plover-dict-commands = callPackage ../development/python-modules/plover-dict-commands { };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue