Skip to content

[Backport release-25.05] pythonInterpreters.pypy310_prebuilt: set mainProgram#412927

Merged
FliegendeWurst merged 1 commit intorelease-25.05from
backport-412881-to-release-25.05
Jun 1, 2025
Merged

[Backport release-25.05] pythonInterpreters.pypy310_prebuilt: set mainProgram#412927
FliegendeWurst merged 1 commit intorelease-25.05from
backport-412881-to-release-25.05

Conversation

@nixpkgs-ci
Copy link
Contributor

@nixpkgs-ci nixpkgs-ci bot commented Jun 1, 2025

Bot-based backport to release-25.05, triggered by a label in #412881.

  • Before merging, ensure that this backport is acceptable for the release.
    • Even as a non-committer, if you find that it is not acceptable, leave a comment.

Without the change the eval fails as:

    $ nix build --no-link -f. pythonInterpreters.pypy310_prebuilt.tests.test-packageOverrides
    error:
       … in the condition of the assert statement
         at pkgs/development/interpreters/python/tests.nix:212:11:
          211|           in
          212|           assert myPython.pkgs.foobar == myPython.pkgs.numpy;
             |           ^
          213|           myPython.withPackages (ps: with ps; [ foobar ]);

       … while evaluating the attribute 'outPath'
         at lib/customisation.nix:421:7:
          420|         drv.drvPath;
          421|       outPath =
             |       ^
          422|         assert condition;

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: attribute 'mainProgram' missing
       at pkgs/by-name/me/meson/package.nix:75:52:
           74|           --replace-fail "PythonExternalProgram('python3', mesonlib.python_command)" \
           75|                          "PythonExternalProgram('${python3.meta.mainProgram}', mesonlib.python_command)"
             |                                                    ^
           76|         substituteInPlace mesonbuild/modules/python3.py \

(cherry picked from commit dc251ab)
@github-actions github-actions bot added 6.topic: python Python is a high-level, general-purpose programming language. 4.workflow: backport This targets a stable branch labels Jun 1, 2025
@nix-owners nix-owners bot requested review from mweinelt and natsukium June 1, 2025 12:44
@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jun 1, 2025
@FliegendeWurst FliegendeWurst merged commit c9ffdbb into release-25.05 Jun 1, 2025
14 of 18 checks passed
@FliegendeWurst FliegendeWurst deleted the backport-412881-to-release-25.05 branch June 1, 2025 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants