Skip to content

python312Packages.pygame: pin to SDL2_classic#396561

Merged
K900 merged 1 commit intoNixOS:staging-nextfrom
LordGrimmauld:pygame-pin
Apr 6, 2025
Merged

python312Packages.pygame: pin to SDL2_classic#396561
K900 merged 1 commit intoNixOS:staging-nextfrom
LordGrimmauld:pygame-pin

Conversation

@LordGrimmauld
Copy link
Contributor

Some niche regressions in sdl2-compat over SDL2 have pygame tests fail. Some of these were adressed in libsdl-org/sdl2-compat#367, but pygame still does not yet work with sdl2-compat. Pinning is the simplext solution for now.

discovered in #393386
Hydra fail in https://hydra.nixos.org/job/nixpkgs/staging-next/python312Packages.pygame.x86_64-linux

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/)
  • 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.

Some niche regressions in sdl2-compat over SDL2 have pygame tests fail.
Some of these were adressed in libsdl-org/sdl2-compat#367,
but pygame still does not yet work with sdl2-compat.
Pinning is the simplext solution for now.
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Apr 6, 2025
@K900 K900 merged commit 3c1a48f into NixOS:staging-next Apr 6, 2025
20 of 24 checks passed
@github-actions github-actions bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Apr 6, 2025
@nix-owners nix-owners bot requested a review from emilytrau April 6, 2025 14:21
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: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants