Skip to content

rocmPackages.rocminfo: don't propagate python3#438399

Merged
GaetanLepage merged 6 commits intoNixOS:masterfrom
LunNova:lunnova/fix-rocminfo-python-path-leak
Sep 3, 2025
Merged

rocmPackages.rocminfo: don't propagate python3#438399
GaetanLepage merged 6 commits intoNixOS:masterfrom
LunNova:lunnova/fix-rocminfo-python-path-leak

Conversation

@LunNova
Copy link
Member

@LunNova LunNova commented Aug 29, 2025

Fixes incorrect python version leaking into deps of rocminfo / clr, potentially causing confusing errors about python packages not being found.

needs further iterations before I can mark ready for review; I expect some parts of the rocm package set are inadvertently relying on clr -> rocminfo providing a python3. Sorted now!

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 6.topic: rocm ROCm is an Advanced Micro Devices software stack for graphics processing unit programming. labels Aug 29, 2025
@LunNova LunNova force-pushed the lunnova/fix-rocminfo-python-path-leak branch from 29901b4 to 592e1c8 Compare August 31, 2025 17:18
github-actions[bot]

This comment was marked as resolved.

@LunNova LunNova force-pushed the lunnova/fix-rocminfo-python-path-leak branch from 592e1c8 to 137eba8 Compare August 31, 2025 17:20
@github-actions github-actions bot dismissed their stale review August 31, 2025 17:21

All good now, thank you!

@LunNova LunNova force-pushed the lunnova/fix-rocminfo-python-path-leak branch from 137eba8 to 9248633 Compare August 31, 2025 17:23
@LunNova LunNova changed the base branch from staging to master August 31, 2025 17:23
@nixpkgs-ci nixpkgs-ci bot closed this Aug 31, 2025
@nixpkgs-ci nixpkgs-ci bot reopened this Aug 31, 2025
@nixpkgs-ci nixpkgs-ci bot added 6.topic: python Python is a high-level, general-purpose programming language. and removed 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. labels Aug 31, 2025
@LunNova

This comment was marked as outdated.

@LunNova LunNova force-pushed the lunnova/fix-rocminfo-python-path-leak branch from 9248633 to 3841337 Compare August 31, 2025 22:50
@LunNova LunNova force-pushed the lunnova/fix-rocminfo-python-path-leak branch from d6b5281 to 20afe0f Compare August 31, 2025 22:55
@LunNova

This comment was marked as outdated.

@LunNova LunNova changed the base branch from master to staging September 1, 2025 02:07
@nixpkgs-ci nixpkgs-ci bot closed this Sep 1, 2025
@nixpkgs-ci nixpkgs-ci bot reopened this Sep 1, 2025
@LunNova LunNova marked this pull request as ready for review September 1, 2025 02:07
@ofborg ofborg bot added the ofborg-internal-error Ofborg encountered an error label Sep 1, 2025
Copy link
Contributor

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

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

LGTM!

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Sep 1, 2025
@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Sep 1, 2025
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-already-reviewed/2617/2530

@LunNova LunNova changed the base branch from staging to master September 1, 2025 17:08
@nixpkgs-ci nixpkgs-ci bot closed this Sep 1, 2025
@nixpkgs-ci nixpkgs-ci bot reopened this Sep 1, 2025
@LunNova
Copy link
Member Author

LunNova commented Sep 1, 2025

Asked in https://matrix.to/#/#infra:nixos.org, @mweinelt says it should be ok to go via master.

@mweinelt

This comment was marked as resolved.

@mweinelt mweinelt removed the ofborg-internal-error Ofborg encountered an error label Sep 1, 2025
@LunNova LunNova mentioned this pull request Sep 2, 2025
18 tasks
@Conni2461
Copy link
Member

@ofborg eval

@GaetanLepage
Copy link
Contributor

Can you re-run nixpkgs-review @LunNova?

@LunNova
Copy link
Member Author

LunNova commented Sep 3, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 438399
Commit: 20afe0f410d52d267a5135f11e819ea152005fd1


x86_64-linux

✅ 63 packages built:
  • adaptivecpp
  • adaptivecppWithCuda
  • adaptivecppWithRocm
  • blender-hip
  • llama-cpp-rocm
  • magma (magma-hip)
  • magma.test (magma-hip.test)
  • ollama-rocm
  • python312Packages.torchWithRocm
  • python312Packages.torchWithRocm.cxxdev
  • python312Packages.torchWithRocm.dev
  • python312Packages.torchWithRocm.dist
  • python312Packages.torchWithRocm.lib
  • python313Packages.torchWithRocm
  • python313Packages.torchWithRocm.cxxdev
  • python313Packages.torchWithRocm.dev
  • python313Packages.torchWithRocm.dist
  • python313Packages.torchWithRocm.lib
  • rocmPackages.aotriton (rocmPackages_6.aotriton)
  • rocmPackages.clr (rocmPackages_6.clr)
  • rocmPackages.clr.icd (rocmPackages_6.clr.icd)
  • rocmPackages.composable_kernel (rocmPackages_6.composable_kernel)
  • rocmPackages.hipblas (rocmPackages_6.hipblas)
  • rocmPackages.hipblaslt (rocmPackages_6.hipblaslt)
  • rocmPackages.hipcub (rocmPackages_6.hipcub)
  • rocmPackages.hipfft (rocmPackages_6.hipfft)
  • rocmPackages.hiprand (rocmPackages_6.hiprand)
  • rocmPackages.hiprt (rocmPackages_6.hiprt)
  • rocmPackages.hipsolver (rocmPackages_6.hipsolver)
  • rocmPackages.hipsparse (rocmPackages_6.hipsparse)
  • rocmPackages.migraphx (rocmPackages_6.migraphx)
  • rocmPackages.miopen (rocmPackages.miopen-hip, rocmPackages_6.miopen, rocmPackages_6.miopen-hip)
  • rocmPackages.mivisionx (rocmPackages.mivisionx-hip, rocmPackages_6.mivisionx, rocmPackages_6.mivisionx-hip)
  • rocmPackages.mivisionx-cpu (rocmPackages_6.mivisionx-cpu)
  • rocmPackages.mpi (rocmPackages.openmpi, rocmPackages_6.mpi, rocmPackages_6.openmpi)
  • rocmPackages.mpi.dev (rocmPackages.openmpi.dev, rocmPackages_6.mpi.dev, rocmPackages_6.openmpi.dev)
  • rocmPackages.mpi.man (rocmPackages.openmpi.man, rocmPackages_6.mpi.man, rocmPackages_6.openmpi.man)
  • rocmPackages.mscclpp (rocmPackages_6.mscclpp)
  • rocmPackages.rccl (rocmPackages_6.rccl)
  • rocmPackages.rccl-tests (rocmPackages_6.rccl-tests)
  • rocmPackages.rccl-tests.test (rocmPackages_6.rccl-tests.test)
  • rocmPackages.rocalution (rocmPackages_6.rocalution)
  • rocmPackages.rocblas (rocmPackages_6.rocblas)
  • rocmPackages.rocfft (rocmPackages_6.rocfft)
  • rocmPackages.rocm-tests (rocmPackages_6.rocm-tests)
  • rocmPackages.rocmPath (rocmPackages_6.rocmPath)
  • rocmPackages.rocminfo (rocmPackages_6.rocminfo)
  • rocmPackages.rocmlir (rocmPackages.rocmlir-rock, rocmPackages_6.rocmlir, rocmPackages_6.rocmlir-rock)
  • rocmPackages.rocprim (rocmPackages_6.rocprim)
  • rocmPackages.rocprofiler (rocmPackages_6.rocprofiler)
  • rocmPackages.rocprofiler-register (rocmPackages_6.rocprofiler-register)
  • rocmPackages.rocr-debug-agent (rocmPackages_6.rocr-debug-agent)
  • rocmPackages.rocrand (rocmPackages_6.rocrand)
  • rocmPackages.rocsolver (rocmPackages_6.rocsolver)
  • rocmPackages.rocsparse (rocmPackages_6.rocsparse)
  • rocmPackages.rocthrust (rocmPackages_6.rocthrust)
  • rocmPackages.roctracer (rocmPackages_6.roctracer)
  • rocmPackages.rocwmma (rocmPackages_6.rocwmma)
  • rocmPackages.rpp (rocmPackages.rpp-hip, rocmPackages_6.rpp, rocmPackages_6.rpp-hip)
  • rocmPackages.rpp-cpu (rocmPackages_6.rpp-cpu)
  • rocmPackages.tensile (rocmPackages_6.tensile)
  • rocmPackages.tensile.dist (rocmPackages_6.tensile.dist)
  • zluda

@GaetanLepage GaetanLepage merged commit 2a2a51e into NixOS:master Sep 3, 2025
89 of 92 checks passed
@LunNova LunNova deleted the lunnova/fix-rocminfo-python-path-leak branch September 3, 2025 20:08
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. 6.topic: rocm ROCm is an Advanced Micro Devices software stack for graphics processing unit programming. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants