← Back to Pull requests

Add rosdep rule for pipx #54123

Merged
hakuturu583 merged 1 files (14 lines) on Oct 09, 2026 21:23 UTC
View on GitHub
hakuturu583 hakuturu583 commented on Sep 23, 2026 08:27 UTC
Author

Please add the following dependency to the rosdep database.

Package name:

pipx

Package Upstream Source:

https://github.com/pypa/pipx

Purpose of using this:

pipx is an MIT-licensed tool (https://github.com/pypa/pipx/blob/main/LICENSE) that installs and runs Python command-line applications in isolated virtual environments. Recent Debian/Ubuntu releases enforce PEP 668 (externally-managed Python environment), so pip install into the system Python is no longer allowed, and pipx is the recommended way to install Python CLI tools that are not packaged by the distribution. With this key, packages can declare a dependency on pipx and have it installed from the system package manager (apt, dnf, pacman, etc.) via rosdep.

Distro packaging links:

Links to Distribution Packages

  • Debian: https://packages.debian.org/

  • - https://packages.debian.org/search?keywords=pipx&searchon=names&exact=1&suite=all&section=all (pipx; bookworm, trixie)
  • Ubuntu: https://packages.ubuntu.com/

  • - https://packages.ubuntu.com/search?keywords=pipx&searchon=names&exact=1&suite=all&section=all (pipx, universe; focal, jammy, noble, resolute)
  • Fedora: https://packages.fedoraproject.org/

  • - https://packages.fedoraproject.org/pkgs/pipx/pipx/
  • Arch: https://www.archlinux.org/packages/

  • - https://archlinux.org/packages/extra/any/python-pipx/
  • Gentoo: https://packages.gentoo.org/

  • - https://packages.gentoo.org/packages/dev-python/pipx
  • macOS: https://formulae.brew.sh/

  • - https://formulae.brew.sh/formula/pipx
  • Alpine: https://pkgs.alpinelinux.org/packages

  • - https://pkgs.alpinelinux.org/package/edge/community/x86_64/pipx
  • NixOS/nixpkgs: https://search.nixos.org/packages

  • - https://search.nixos.org/packages?channel=unstable&query=pipx
  • openSUSE: https://software.opensuse.org/package/

  • - not added. https://software.opensuse.org/package/python-pipx is only the source package; it builds version-suffixed binaries (python3XX-pipx) and is not available in the official Leap 15 repositories, which rosdep_repo_check verifies against.
  • rhel: https://rhel.pkgs.org/

  • - EPEL 9: https://packages.fedoraproject.org/pkgs/pipx/pipx/epel-9.html
    - EPEL 10: https://packages.fedoraproject.org/pkgs/pipx/pipx/epel-10.1.html
    - EPEL 8: not available, so the rule sets '8': null

    Diff: 14 lines (+14 / -0) across 1 files Reviewer: clalancette Review duration: 23816m
    All Vouch review confidence checks passed
    Residual risk 0.04 = Change Risk (0.24) × (1 − Review Confidence (0.84)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.24 · 14 lines diff across 1 files
    0.24
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.77 · 1 substantive comment(s)
    0.77
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    84%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.162
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    8 items
    github-actions[bot] github-actions[bot] approved these changes on Sep 24, 2026 00:27 UTC
    Approved Reviewer

    For changes related to rosdep:
    ✅ New rosdep keys are named appropriately
    ✅ Platforms for new rosdep rules are valid
    ✅ Installers for new rosdep rules are valid
    ✅ New keys appear suitable for rosdep

    For changes related to yamllint:

  • ✅ All new lines of YAML pass linter checks
  • clalancette clalancette approved these changes on Sep 26, 2026 20:08 UTC
    Approved Reviewer

    Approved these changes.

    github-actions[bot] github-actions[bot] approved these changes on Oct 02, 2026 05:29 UTC
    Approved Reviewer

    For changes related to rosdep:
    ✅ New rosdep keys are named appropriately
    ✅ Platforms for new rosdep rules are valid
    ✅ Installers for new rosdep rules are valid
    ✅ New keys appear suitable for rosdep

    For changes related to yamllint:

  • ✅ All new lines of YAML pass linter checks
  • hakuturu583 hakuturu583 commented on Oct 07, 2026 07:58 UTC
    Author

    Friendly ping on this one :)

    Status summary:

  • Approved by @clalancette on 2026-09-26

  • All CI checks are green (rosdep checks, yamllint, triage, automated review)

  • Branch is up to date with master, no conflicts (mergeable: clean)

  • Diff is still the original +14/-0 in rosdep/python.yaml; the only change since the approval was a merge of master to keep the branch current
  • @cottsay @mjcarroll would one of you be able to take a look when you have a moment? Happy to rebase, drop the merge commit, or adjust anything else if that would help. Thanks!

    github-actions[bot] github-actions[bot] approved these changes on Oct 07, 2026 07:59 UTC
    Approved Reviewer

    For changes related to rosdep:
    ✅ New rosdep keys are named appropriately
    ✅ Platforms for new rosdep rules are valid
    ✅ Installers for new rosdep rules are valid
    ✅ New keys appear suitable for rosdep

    For changes related to yamllint:

  • ✅ All new lines of YAML pass linter checks
  • github-actions[bot] github-actions[bot] approved these changes on Oct 07, 2026 23:13 UTC
    Approved Reviewer

    For changes related to rosdep:
    ✅ New rosdep keys are named appropriately
    ✅ Platforms for new rosdep rules are valid
    ✅ Installers for new rosdep rules are valid
    ✅ New keys appear suitable for rosdep

    For changes related to yamllint:

  • ✅ All new lines of YAML pass linter checks
  • christophebedard christophebedard approved these changes on Oct 09, 2026 21:23 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    hakuturu583 hakuturu583
    Labels
    risk: low confidence: 84.3% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 24.2% (LOW) · Higher = larger blast radius
    24.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 84.3% · Lower = rushed or shallow review
    84.3%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 3.8% · Safe to merge
    3.8%
    Repository