-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
reanimate-svg: disable tests & unmark broken #178511
Conversation
@schuelermine Thanks for sending this. A couple requests:
|
It'd be preferable to keep tests enabled and provide the required executable which is contained in the |
@sternenseemann How do you do that? It seems like these packages only define Haskell dependencies |
Regenerate it from what? |
The current hackage state, as well as a bunch of files in
Here's the first example I found: nixpkgs/pkgs/development/haskell-modules/configuration-nix.nix Lines 121 to 124 in e1e08fe
You could add a similar override to This kind of thing can sometimes be a little tricky to get right, so feel free to ask questions if you get stuck or have problems. |
How do you unmark it as broken without manually editing the autogenerated file? Oh, via configuration-hackage2nix/broken.yaml |
That's correct! Remove the package from |
I just discovered that some tests still fail. I’m trying to build it manually right now. |
I think disabling the tests is OK. The reason I say this is because one of the tests is about Arabic lettering and requires a font by the Center for Research in Urdu Language Processing. And I don’t know how you’d go about including that. |
OK, that might’ve been wrong, maybe that font is common. I tried the test suite in an Ubuntu VM and it worked fine. |
I have no clue why these tests fail. Here is a log. |
Maybe it’s the version of |
@schuelermine Thanks for looking into us. For the maintainers of the Haskell stuff in Nixpkgs, our biggest concern is that we accidentally mark a package unbroken, when really it is broken. In general, we are somewhat concerned about marking a package as I don't know enough about In either case, I'd really suggest creating an issue upstream. The upstream maintainer may be able to easily say something like, "oh this isn't a problem in practice, feel free to disable the tests". We could at least link to that discussion in a comment when marking |
@cdepillabout I tested some more and I’m 99% certain that the issue is with I also checked the source SVG files passed through This is either due to a bug or feature introduced in newer versions, or due to the Nixpkgs version of |
Nice digging! Sounds like even more reason to open up an issue upstream (or maybe one on both the |
I made an issue: reanimate/reanimate-svg#42 |
Still, there are ~50 other tests that are supposed to fail but unexpectedly succeed in Nixpkgs but not on manual build. |
Description of changes
I discovered that
reanimate-svg
is not actually broken, just the tests are; I believe this is since they depend on an external tool.I unmarked it as broken and disabled tests on it.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes