-
-
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
python3packages.stytra: init at 0.8.26 #72353
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.
I don't see you declaring the pyqtgraph package in the propagated build inputs....
python packages should go into propagatedBuildInputs
It's there (via commonInputs). If pyqtgraph is only in propogatedBuildInputs, I get the error above. It goes away if I add to buildInputs, too, as is currently done in the code Edit: for posterity, if I use |
78d383d
to
8d1a549
Compare
This is blocked until #72378 is merged, but reviews in the meantime are welcome! Edit: forgot to mention that the package is running according to my tests locally:
|
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 remove all instances of pulling down wheels when a source distribution is available, the only way a wheel should be allowed is if there no way to pull down source through pypi or the repo
Thanks @jonringer. This is ready for final review |
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 squash the fixup to adhere to contributing guidelines
git reset HEAD^
git add pkgs/
git commit --amend --no-edit
git push <fork> <branch> --force
@jonringer done |
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.
diff LGTM
commits LGTM
https://github.com/NixOS/nixpkgs/pull/72353
12 package were built:
python27Packages.colorspacious python27Packages.flammkuchen python37Packages.arrayqueues python37Packages.colorspacious python37Packages.flammkuchen python37Packages.lightparam python37Packages.qimage2ndarray python37Packages.stytra python38Packages.arrayqueues python38Packages.colorspacious python38Packages.lightparam python38Packages.qimage2ndarray
WIP - wanted to get feedback on help as this is my first time packing using wheel.
It seems like
propogatedBuildInputs
is not behaving the same way--if I only have a package here I get failures like:As a result, I'm including in both
buildInputs
, andpropogatedBuildInputs
, which feels wrong. It does build, but when I try open a shell the following happens:This seems very odd, as in any other derivation I test, I can import from
propogatedBuildInputs
in python shell. To debug, I switched back to using the tar.gz file, and found an unexpected error:Any thoughts or tips? Thanks!
Motivation for this change
Add module for closed-loop experiments for larval zebrafish.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)