-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
pythonPackages.mpld3: init at 0.3 #70457
Conversation
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.
Your commit message for a python package is mixed up here.
It should be
package_attribute: init at version
so this would be
pythonPackages.mpld3: init at 0.3
@worldofpeace my bad. Fixed now. |
It's actually possible to get the tests running by encouraging
However a number of these tests genuinely fail and I'm not totally sure about the compatibility of this release with our current |
I mostly got to this package as a dependency of #70458 . On my system the package works but is quirky. Hard to say if due to NixOS or the package itself as there are several open issues on the official issue tracker. Version 0.3 was released in 2016 so, a bit old. The repository is still being somewhat maintained so hopefully a new release will happen at some point in the near future. Tests are also failing in the official repository so these might be upstream issues. |
If we're referring to the same thing, the "tests failing in the main repository" look like they just haven't set up travis properly. But yeah, it seems they haven't really kept up with dependencies and with nixpkgs insistence on "one version of everything" and very recent versions, this causes trouble. If you're a competent python programmer, you can always fork the project & fix it of course... |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/pytest-bdd-on-shell-nix/4616/4 |
|
||
meta = with stdenv.lib; { | ||
description = "D3 Viewer for Matplotlib"; | ||
homepage = "http://mpld3.github.io"; |
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.
homepage = "http://mpld3.github.io"; | |
homepage = "http://mpld3.github.io"; | |
license = licenses.bsd3; |
doCheck = false; | ||
|
||
meta = with stdenv.lib; { | ||
description = "D3 Viewer for Matplotlib"; |
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.
Please don't align these vertically, it's not a part of the nix style in the nixpkgs manual nor is it maintained.
Prospective formatters are being created without this as well.
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 was a reference from some other location. Now fixed to not be vertically aligned.
@GrahamcOfBorg build pythonPackages.mpld3 |
Thank you for your contributions.
|
I marked this as stale due to inactivity. → More info |
Closing due to inactivity from author. |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Tests are currently disabled as they require access to an X display.