Nixpkgs version
Steps to reproduce
nix build nixpkgs\#python3Packages.pygame-ce (requires flakes)
OR
nix-build '<nixpkgs>' -A python3Packages.pygame-ce
Can't currently reproduce on macOS - timidity transitive dependency is blocked by #380436. However, with #380440, I can reproduce this error.
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
https://hydra.nixos.org/build/288087244
Relevant log output
[…]
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Using UNIX configuration...
/nix/store/fd118hwh7d1ncib4mdw56ylv3g9k0iyj-bash-5.2p37/bin/sh: line 1: dpkg-architecture: command not found
Hunting dependencies...
SDL : found 2.30.11
FONT : found
IMAGE : found
MIXER : found
SCRAP : found
PORTMIDI: found
PORTTIME: found
FREETYPE: found 26.2.20
If you get compiler errors during install, double-check
the compiler flags in the "Setup" file.
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing pypaBuildPhase
Creating a wheel...
pypa build flags: --no-isolation --outdir dist/ --wheel
* Getting build dependencies for wheel...
ERROR Missing dependencies:
meson-python<=0.16.0
Additional context
This seems to be a result of pythonPackages.meson-python getting bumped to 0.17.1 while pygame-ce is still listing meson-python<=0.16.0 in its pyproject.toml. Adding another replacement to the substituteInPlace pyproject.toml command that strips the version number requirement out seems to work.
Edit: Upstream pygame-ce seems to have bumped the meson-python version number on their end, but it hasn't made it into a stable release yet.
System metadata
- system:
"x86_64-linux"
- host os:
Linux 6.8.0-49-generic, Ubuntu, 22.04.4 LTS (Jammy Jellyfish), nobuild
- multi-user?:
no
- sandbox:
no
- version:
nix-env (Nix) 2.24.10
- nixpkgs:
/home/rhys/.nix-defexpr/channels/nixpkgs
Notify maintainers
pygame-ce: @pbsds
meson-python: @doronbehar
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Nixpkgs version
Steps to reproduce
nix build nixpkgs\#python3Packages.pygame-ce(requires flakes)OR
nix-build '<nixpkgs>' -A python3Packages.pygame-ceCan't currently reproduce on macOS -
timiditytransitive dependency is blocked by #380436. However, with #380440, I can reproduce this error.Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
https://hydra.nixos.org/build/288087244
Relevant log output
Additional context
This seems to be a result of
pythonPackages.meson-pythongetting bumped to 0.17.1 while pygame-ce is still listingmeson-python<=0.16.0in itspyproject.toml. Adding another replacement to thesubstituteInPlace pyproject.tomlcommand that strips the version number requirement out seems to work.Edit: Upstream
pygame-ceseems to have bumped themeson-pythonversion number on their end, but it hasn't made it into a stable release yet.System metadata
"x86_64-linux"Linux 6.8.0-49-generic, Ubuntu, 22.04.4 LTS (Jammy Jellyfish), nobuildnononix-env (Nix) 2.24.10/home/rhys/.nix-defexpr/channels/nixpkgsNotify maintainers
pygame-ce: @pbsdsmeson-python: @doronbeharNote for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.