duplicity: build fails for Black version conflict (required version 24
does not match 25.1.0
)
#392506
Closed
3 tasks done
Labels
0.kind: bug
Something is broken
Nixpkgs version
Describe the bug
When running
sudo nixos-rebuild switch --flake .#$HOST
with my Flake-based NixOS setup that installs duplicity via deja-dup from the current latestmaster
branch, tests with pytest run very long and I get a version error for the Black formatter:This error from
testing/test_code.py::CodeTest::test_black
stems from the configuration introduced in b924af2.This could be fixed by keeping the Black version in the duplicity test setup in sync with the installed system version. Although, as a Python developer, I don't see the value in running the Black formatter in the NixOS package build at all. This should run earlier, e.g. in a PR when the code change is originally made.
Hence, it might be preferable to add
"test_black"
to the list ofdisabledTests
.Steps to reproduce
deja-dup
with your NixOS-config (GNOME-based target host)Expected behaviour
The
test_black
test should not fail (or not run at all)Screenshots
No response
Relevant log output
Additional context
No response
System metadata
Notify maintainers
@corngood
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE
.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: