Skip to content
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

scalene: 1.5.49 -> 1.5.51 #376439

Merged
merged 1 commit into from
Feb 2, 2025
Merged

Conversation

sarahec
Copy link
Contributor

@sarahec sarahec commented Jan 24, 2025

Changes

  1. Bump version via update script
  2. Limit platforms to x86_64-Linux as this isn't building correctly for other platforms.

Why this is justified

Adding back the other platforms will require major changes to the derivation and some help from upstream. Since it's only been building for x86_64-Linux all along, we'll mark that as the only supported platform for now.

Release update

Improved GPU/Neuron profiling; fixed encoding issue Latest

v1.5.50
plasma-umass/scalene@2493277
What's Changed
Don't change JIT behavior on Neuron by @emeryberger in plasma-umass/scalene#896
Optimized implementation to use IOKit directly by @emeryberger in plasma-umass/scalene#897
Fix UTF-8 encoding issue, resolving plasma-umass/scalene#899 by @emeryberger in plasma-umass/scalene#900
Full Changelog: plasma-umass/scalene@v1.5.49...v1.5.50

1.5.51 Adds Python 3.13 support

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux -- tried and failed
    • x86_64-darwin -- tried and failed
    • aarch64-darwin -- tried and failed
  • 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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

@sarahec sarahec added 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1 labels Jan 24, 2025
@sarahec sarahec changed the title python312Packages.scalene: 1.5.49 -> 1.5.50 scalene: 1.5.49 -> 1.5.50 Jan 26, 2025
@sarahec sarahec changed the title scalene: 1.5.49 -> 1.5.50 scalene: 1.5.49 -> 1.5.51 Jan 27, 2025
@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 376439


x86_64-linux

✅ 4 packages built:
  • scalene (python312Packages.scalene)
  • scalene.dist (python312Packages.scalene.dist)
  • python313Packages.scalene
  • python313Packages.scalene.dist

@@ -109,5 +109,6 @@ buildPythonPackage rec {
mainProgram = "scalene";
license = licenses.asl20;
maintainers = with maintainers; [ sarahec ];
platforms = [ "x86_64-linux" ];
Copy link
Contributor

Choose a reason for hiding this comment

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

The software is advertised to be compatible with MacOS and ARM-linux too.
If our package is not working for those platforms, you would need to add them to badPlatforms instead and add comments explaining why/how it fails.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. I'll work with upstream to sort out a solution.

@sarahec sarahec force-pushed the push-xmzwmnqvsvvl branch 2 times, most recently from 3f9978a to d11cf17 Compare February 1, 2025 23:48
@sarahec sarahec requested a review from GaetanLepage February 1, 2025 23:48
@sarahec
Copy link
Contributor Author

sarahec commented Feb 2, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 376439


x86_64-linux

✅ 4 packages built:
  • scalene (python312Packages.scalene)
  • scalene.dist (python312Packages.scalene.dist)
  • python313Packages.scalene
  • python313Packages.scalene.dist

@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 376439


x86_64-linux

✅ 4 packages built:
  • scalene (python312Packages.scalene)
  • scalene.dist (python312Packages.scalene.dist)
  • python313Packages.scalene
  • python313Packages.scalene.dist

@GaetanLepage GaetanLepage merged commit 21239b6 into NixOS:master Feb 2, 2025
24 of 27 checks passed
@sarahec
Copy link
Contributor Author

sarahec commented Feb 2, 2025

@GaetanLepage thank you.

@sarahec sarahec deleted the push-xmzwmnqvsvvl branch February 2, 2025 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: python 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants