Skip to content

gnuradio: fix tests with an upstream patch for numpy_2 - #365839

Merged
doronbehar merged 1 commit into
NixOS:staging-nextfrom
doronbehar:pkg/gnuradio@numpy2
Dec 18, 2024
Merged

doronbehar merged 1 commit into
NixOS:staging-nextfrom
doronbehar:pkg/gnuradio@numpy2

Conversation

@doronbehar

Copy link
Copy Markdown
Contributor

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@doronbehar

Copy link
Copy Markdown
Contributor Author

@ofborg build gnuradio

@github-actions github-actions Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Dec 17, 2024
@ofborg
ofborg Bot requested review from bjornfor, fpletz and jiegec December 17, 2024 19:15
@ofborg ofborg Bot added the 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. label Dec 17, 2024
# https://github.com/gnuradio/gnuradio/issues/7458
(fetchpatch {
name = "gnuradio-numpy_2-compatibility.patch";
url = "https://github.com/gnuradio/gnuradio/commit/4be7ac7b5095a4c0d394456934102b8666b7c68c.patch";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
url = "https://github.com/gnuradio/gnuradio/commit/4be7ac7b5095a4c0d394456934102b8666b7c68c.patch";
url = "https://github.com/gnuradio/gnuradio/commit/8fbc5eb4b7214a4cb029ccae97205a85d49bdd48.patch";

This is the merged commit, in case the PR branch is ever deleted.
The hash should be the same but I didn't check.

LGTM otherwise

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, thanks for the refinement and for explaining. Fixed it and will merge when CI is green enough.

@doronbehar
doronbehar merged commit 8be60e8 into NixOS:staging-next Dec 18, 2024
@doronbehar
doronbehar deleted the pkg/gnuradio@numpy2 branch February 10, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants