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
pybind11: Unify with pythonPackages.pybind11 #74302
Conversation
d63b3a2
to
ad054a3
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.
python packages aren't able to discover it through pip
[4 built (11 failed), 89 copied (1218.4 MiB), 417.4 MiB DL]
error: build of '/nix/store/dsmkqa55zadlzvvssair3k5d9lsahlsf-env.drv' failed
https://github.com/NixOS/nixpkgs/pull/74302
32 package failed to build:
ocrmypdf pybind11 pybitmessage python27Packages.fasttext python27Packages.fipy python27Packages.loo-py python27Packages.pyamg python27Packages.pyfma python27Packages.pyopencl python27Packages.reikna python27Packages.sasmodels python37Packages.accupy python37Packages.fasttext python37Packages.fipy python37Packages.loo-py python37Packages.pikepdf python37Packages.pyamg python37Packages.pyfma python37Packages.pyopencl python37Packages.reikna python37Packages.sasmodels python38Packages.accupy python38Packages.fasttext python38Packages.fipy python38Packages.loo-py python38Packages.pikepdf python38Packages.pyamg python38Packages.pyfma python38Packages.pyopencl python38Packages.reikna python38Packages.sasmodels sasview
2 package were built:
python37Packages.pybind11 python38Packages.pybind11
example failure:
|
a5c0291
to
fd60bbf
Compare
Instead of one derivation providing a cmake-compatible library and one providing a setuptools-compatible library, we now support both ways of consuming the library for both pybind11 and python.pkgs.pybind11.
fd60bbf
to
e2a4d30
Compare
@GrahamcOfBorg build python2Packages.pybind11 python37Packages.pybind11 python38Packages.pybind11 python3Packages.accupy python38Packages.pyopencl |
@jonringer Sorry for opening this PR before it was ready. I think it's now in a state where it should do as advertised. Do you mind taking a look again? :) |
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
sasview was broken on master, needs some love. But that can be done outside of this PR
[35 built (1 failed), 566 copied (3337.4 MiB), 887.6 MiB DL]
error: build of '/nix/store/di8k6m09y5hka6waw4fg5d1qf1kqbnsj-env.drv' failed
https://github.com/NixOS/nixpkgs/pull/74302
1 package failed to build:
sasview
33 package were built:
ocrmypdf pybind11 pybitmessage python27Packages.fasttext python27Packages.fipy python27Packages.loo-py python27Packages.pyamg python27Packages.pyfma python27Packages.pyopencl python27Packages.reikna python27Packages.sasmodels python37Packages.accupy python37Packages.fasttext python37Packages.fipy python37Packages.loo-py python37Packages.pikepdf python37Packages.pyamg python37Packages.pybind11 python37Packages.pyfma python37Packages.pyopencl python37Packages.reikna python37Packages.sasmodels python38Packages.accupy python38Packages.fasttext python38Packages.fipy python38Packages.loo-py python38Packages.pikepdf python38Packages.pyamg python38Packages.pybind11 python38Packages.pyfma python38Packages.pyopencl python38Packages.reikna python38Packages.sasmodels
Thx. Gave sasview a glance. Looks like the wxPython installation in general is at fault since it's site-packages directory contains a "build" directory. |
Motivation for this change
Instead of one derivation providing a cmake-compatible library and one
providing a setuptools compatible library, we now support both ways of
consuming the library for both pybind11 and python.pkgs.pybind11.
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)Notify maintainers
cc @