gnuradio: Add pyzmq as dependency to gr-zeromq#158070
gnuradio: Add pyzmq as dependency to gr-zeromq#158070charles-dyfis-net wants to merge 1 commit intoNixOS:masterfrom
Conversation
4b471c8 to
e985254
Compare
|
Indeed there's at least 1 python file in https://github.com/gnuradio/gnuradio/tree/maint-3.8/gr-zeromq/python/zeromq in the |
|
I've talked to upstream (via https://chat.gnuradio.org/#/room/#gnuradio:gnuradio.org) only about 3.10, where they indicated that it should be a dependency (and is in fact one for the official Ubuntu packages). That said, you're right that it's only used by a subset of blocks, and thus that one could reasonably choose to make those blocks optional. |
|
@doronbehar, I'm just now discovering something now that I presume you already knew (as the context makes your prior comment make a great deal more sense to me). pyzmq is listed as a mandatory dependency in the upstream Debian packaging: https://github.com/gnuradio/gnuradio/blob/maint-3.10/.packaging/debian/control#L59 ...but not listed at all in the upstream Fedora packaging at https://github.com/gnuradio/gnuradio/blob/maint-3.10/.packaging/fedora/gnuradio.spec (at least as of present date). This smells to me like a bug in upstream's Fedora packaging, but I'm trying to get an explicit response as to whether one or the other is canonically correct. |
|
...also an explicit, mandatory dependency of the condaforge package: https://github.com/conda-forge/gnuradio-feedstock/blob/e3104cd7ae56f6aa4c6e99ef60b49c31c3328724/recipe/meta.yaml#L496 (thanks to its maintainer, @ryanvolz, for pointing this out). |
|
@charles-dyfis-net sorry for not being responsive, it's an exam period for me nowadays. It might be nice to open an issue upstream just to ask them if they would consider this dependency a mandatory one, and perhaps point them towards the difference between Fedora and Debian, they are rather responsive there from my experience. I'd like to stick to their preference regarding this, and I'd also like their cmake files to check for the existence of this dependency for the |
|
I'm closing, as this is not a critical issue, and it is easily fixable by overriding gnuradio with an |
|
After trying to make the tests work, I decided to add pyzmq by default, this is done in #257809 . |
Motivation for this change
GNU Radio ships with support for the 0mq message bus. For C++, this dependency is properly recognized; however, trying to execute a flowgraph containing Python 0mq blocks in GNU Radio Companion causes an import exception.
Things done
sandbox = trueset 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.shto update generated release notes