Skip to content

python312Packages.scalene: fix build on Linux and Darwin#326169

Merged
superherointj merged 1 commit intoNixOS:masterfrom
sarahec:scalene-no-nvidia-ml-py3
Jul 11, 2024
Merged

python312Packages.scalene: fix build on Linux and Darwin#326169
superherointj merged 1 commit intoNixOS:masterfrom
sarahec:scalene-no-nvidia-ml-py3

Conversation

@sarahec
Copy link
Contributor

@sarahec sarahec commented Jul 10, 2024

Fixes failing runtime dependencies check on Darwin via pythonRemoveDeps. Tested on Linux x86 and both flavors of Darwin to ensure no regressions.

Fixes #326167

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)
    • sandbox = relaxed
    • sandbox = true
  • 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.

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jul 10, 2024
@ofborg ofborg bot added 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 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 Jul 10, 2024
@sarahec sarahec force-pushed the scalene-no-nvidia-ml-py3 branch from 24a65f5 to faf50ff Compare July 11, 2024 04:11
@eclairevoyant
Copy link
Contributor

Other than the above comment, tested locally and it lgtm

@superherointj
Copy link
Contributor

@sarahec Please run nixfmt (rfc).
And clean-up the post to reflect situation. I don't see any cherry-picks. (Better to not add stale information.)

@sarahec
Copy link
Contributor Author

sarahec commented Jul 11, 2024

@sarahec Please run nixfmt (rfc).

Done. I've now switched my formatter to nixfmt

And clean-up the post to reflect situation. I don't see any cherry-picks. (Better to not add stale information.)

Done.

Thank you for your help!

@superherointj
Copy link
Contributor

Result of nixpkgs-review pr 326169 run on x86_64-linux 1

4 packages built:
  • python311Packages.scalene
  • python311Packages.scalene.dist
  • scalene (python312Packages.scalene)
  • scalene.dist (python312Packages.scalene.dist)

@sarahec
Copy link
Contributor Author

sarahec commented Jul 11, 2024

Result of nixpkgs-review pr 326169 run on aarch64-darwin 1

4 packages built:
  • python311Packages.scalene
  • python311Packages.scalene.dist
  • scalene (python312Packages.scalene)
  • scalene.dist (python312Packages.scalene.dist)

@sarahec sarahec changed the title python312Packages.scalene: fix build python312Packages.scalene: fix build on Darwin Jul 11, 2024
@sarahec sarahec added the 6.topic: darwin Running or building packages on Darwin label Jul 11, 2024
@superherointj superherointj merged commit 9a517fb into NixOS:master Jul 11, 2024
@sarahec sarahec changed the title python312Packages.scalene: fix build on Darwin python312Packages.scalene: fix build on Linux and Darwin Jul 11, 2024
@sarahec sarahec deleted the scalene-no-nvidia-ml-py3 branch July 11, 2024 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 6.topic: python Python is a high-level, general-purpose programming language. 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.

Build failure: python312Libraries.scalene

3 participants