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
vispy: init at 0.6.4 #79235
vispy: init at 0.6.4 #79235
Conversation
}) | ||
]; | ||
|
||
buildInputs = [ setuptools_scm ]; |
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.
nativeBuildInputs
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.
updated as requested
]; | ||
|
||
buildInputs = [ | ||
cython setuptools setuptools_scm setuptools-scm-git-archive pyqt4 |
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.
aside from pyqt4 the others likely belong in nativeBuildInputs
. setuptools
should not be here, unless it's needed at runtime in which case it should be in propagatedBuildInputs
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.
updated as requested, setuptools
and pyqt4
removed (pyqt4
was part of a failed effort to make tests work.)
5eda644
to
2d056a2
Compare
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.
mostly LGTM.
Can you add yourself as a maintainer of the packages?
Also, can you try to add unit tests (if possible). Don't need 100% of the test suite, they just help when bumping dependencies and ensure something doesn't break.
doCheck = false; # otherwise runs OSX code on linux. | ||
|
||
meta = with lib; { | ||
homepage = http://vispy.org/index.html; |
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://vispy.org/index.html; | |
homepage = "http://vispy.org/index.html"; |
propagatedBuildInputs = [ freetype ]; | ||
|
||
meta = with lib; { | ||
homepage = https://github.com/rougier/freetype-py; |
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 = https://github.com/rougier/freetype-py; | |
homepage = "https://github.com/rougier/freetype-py"; |
(triage) ping @goertzenator |
Thanks for reviewing, changes made as requested. I ended up not using this package for my project so my interest in learning how to add unit tests is low. I did run |
I'm interested in getting this merged. Is this just blocked by tests? |
I don't know what is blocking it. I think it might be helpful if you tried this PR on your system and reported if it produced a working vispy or not. |
Please avoid merging Nixpkgs branches and instead rebase. |
Apologies, I just hit buttons in the github UI to resolve a minor conflict. I didn't see any choices about how to manage it. I'll tidy this up on the command line. That said, maybe some github settings need to be tweaked if those buttons are doing the wrong thing? |
All cleaned up. I looked at the settings on one of my repos and unfortunately did not see any controls for the "Resolve Conflicts" button. |
Currently having a slight issue... shell.nix
error msg
This is usually fixed by adding a wrapQtAppsHook https://nixos.wiki/wiki/Qt, I know vispy uses pyqt5 but not sure what's happening here. |
Looking back at my |
@goertzenator Thanks! That seems to do it. strange, vispy should be compatible with PyQt5 |
Nevermind, I just tried again this morning and it seems to be working with PyQt5, i tried a dozen examples and they all seem to work. Thanks for the contribution! |
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.
I would prefer unit tests, but this should suffice
numpy freetype-py fontconfig libGL | ||
]; | ||
|
||
doCheck = false; # otherwise runs OSX code on linux. |
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.
doCheck = false; # otherwise runs OSX code on linux. | |
doCheck = false; # otherwise runs OSX code on linux. | |
pythonImportsCheck = [ "vispy" ]; |
nativeBuildInputs = [ setuptools_scm ]; | ||
|
||
propagatedBuildInputs = [ freetype ]; | ||
|
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.
pythonImportsCheck = [ "freetype" ]; |
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.
Tested ACK
@jonringer every suggested change has been applied, can we have this merged? |
vispy: init at 0.6.4 (cherry picked from commit 1be9aa3)
Motivation for this change
Add python module for
vispy
(scientific plotting) andfreetype-py
(needed byvispy
).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)