Skip to content

python312: make portability backport unconditional#327882

Merged
mweinelt merged 1 commit intoNixOS:stagingfrom
alyssais:python312-backport
Jul 17, 2024
Merged

python312: make portability backport unconditional#327882
mweinelt merged 1 commit intoNixOS:stagingfrom
alyssais:python312-backport

Conversation

@alyssais
Copy link
Member

Description of changes

This avoids the maintenance headache associated with conditionally applied patches, and fixes building for s390.

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.

This avoids the maintenance headache associated with conditionally
applied patches, and fixes building for s390.
@alyssais alyssais requested review from flokli, mweinelt and yu-re-ka July 17, 2024 10:35
@alyssais alyssais requested a review from natsukium as a code owner July 17, 2024 10:35
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jul 17, 2024
@ofborg ofborg bot added 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Jul 17, 2024
@mweinelt mweinelt merged commit 01178b2 into NixOS:staging Jul 17, 2024
@mweinelt
Copy link
Member

Thank you!

@flokli
Copy link
Member

flokli commented Jul 17, 2024

Sorry, I forgot to queue a patch to staging making this unconditionally. Thanks for cleaning this up ❤️

@alyssais alyssais deleted the python312-backport branch July 17, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments