New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deluge: shut up ngettext error on webui start #115055
Conversation
We should do a manual backport to 20.09 when this is merged. |
Result of 1 package built:
1 suggestion:
|
Hey @rmcgibbo - as for the suggestion regd a patch comment, maybe the bot can check for a file name and adjust the message to something like this:
|
sha256 = "sha256-slGMt2bgp36pjDztJUXFeZNbzdJsus0s9ARRD6IpNUw="; | ||
name = "fix_ngettext_warning.patch"; | ||
}) | ||
] ++ lib.optional pythonPackages.isPy38 (fetchpatch { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this break anything on other python versions? If not we shouldn't apply this conditionally to prevent bitrot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This patch is only needed for 3.8, but it will be part of the next deluge release, so we'll just drop the patches then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If by then the default python version migrated to 3.9 this patch will rot here. If it breaks nothing on other versions we can apply it unconditional to definitely notice when it breaks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough. Fixed.
@ofborg test deluge |
Also patch the logger on py38.
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Motivation for this change
deluge would complain loudly on start. Also patch the logger on py38.
Noise from
nixpkgs-fmt
.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)