← Back to Pull requests

rosdep: add python3-zstandard and python3-lz4 keys #55587

Merged
jlblancoc merged 1 files (31 lines) on Nov 22, 2026 14:42 UTC
View on GitHub
jlblancoc jlblancoc commented on Nov 18, 2026 11:02 UTC
Author

Please add the following dependencies to the rosdep database.

Package name:

  • python3-zstandard (Python bindings to the Zstandard compression library, import name zstandard)

  • python3-lz4 (Python bindings to the LZ4 compression library, import name lz4)
  • Package Upstream Source:

  • zstandard: https://github.com/indygreg/python-zstandard (PyPI: https://pypi.org/project/zstandard/)

  • lz4: https://github.com/python-lz4/python-lz4 (PyPI: https://pypi.org/project/lz4/)
  • Purpose of using this:

    Both are optional runtime dependencies of the ROS 2 package mcap_anonymizer. It uses the pure-Python mcap library, which needs zstandard and lz4 (lz4.frame) to read MCAP files whose chunks are zstd- or lz4-compressed (the default compression of ros2 bag record with the MCAP storage plugin is zstd). We want to declare them in its package.xml for an upcoming bloom release. Both are general-purpose, widely packaged Python modules, so these keys should be useful to other Python ROS packages handling compressed data or MCAP files as well.

    Notes on the rules:

  • python3-zstandard is not packaged in Ubuntu focal nor jammy (first available in lunar), hence the null entries for those releases.

  • On RHEL, python3-zstandard comes from EPEL on EL 8 and 9, and from AppStream on EL 10. python3-lz4 comes from EPEL on EL 8, 9 and 10.
  • Links to Distribution Packages

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

  • - zstandard: https://packages.debian.org/bookworm/python3-zstandard , https://packages.debian.org/trixie/python3-zstandard
    - lz4: https://packages.debian.org/bookworm/python3-lz4 , https://packages.debian.org/trixie/python3-lz4
  • Ubuntu: https://packages.ubuntu.com/

  • - zstandard: https://packages.ubuntu.com/noble/python3-zstandard , https://packages.ubuntu.com/resolute/python3-zstandard (not available in focal or jammy: https://launchpad.net/ubuntu/+source/python-zstandard)
    - lz4: https://packages.ubuntu.com/focal/python3-lz4 , https://packages.ubuntu.com/jammy/python3-lz4 , https://packages.ubuntu.com/noble/python3-lz4 , https://packages.ubuntu.com/resolute/python3-lz4
  • Fedora: https://packages.fedoraproject.org/

  • - zstandard: https://packages.fedoraproject.org/pkgs/python-zstandard/python3-zstandard/
    - lz4: https://packages.fedoraproject.org/pkgs/python-lz4/python3-lz4/
  • Arch: https://www.archlinux.org/packages/

  • - zstandard: https://archlinux.org/packages/extra/x86_64/python-zstandard/
    - lz4: https://archlinux.org/packages/extra/x86_64/python-lz4/
  • Gentoo: https://packages.gentoo.org/

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

  • - not available as Homebrew formulae; pip used (as for other Python keys)
  • Alpine: https://pkgs.alpinelinux.org/packages

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

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

  • - zstandard: https://software.opensuse.org/package/python-zstandard (python3-zstandard in Leap 15.x)
    - lz4: https://software.opensuse.org/package/python-lz4 (python3-lz4 in Leap 15.x)
  • RHEL: Find a binary RPM in AlmaLinux or EPEL

  • - zstandard: EPEL 8 and EPEL 9 (https://packages.fedoraproject.org/pkgs/python-zstandard/python3-zstandard/), EL 10 AppStream (https://repo.almalinux.org/almalinux/10/AppStream/x86_64/os/Packages/python3-zstandard-0.23.0-2.el10.x86_64.rpm)
    - lz4: EPEL 8, EPEL 9 and EPEL 10 (https://packages.fedoraproject.org/pkgs/python-lz4/python3-lz4/)
  • FreeBSD:

  • - zstandard: https://www.freshports.org/archivers/py-zstandard/
    - lz4: https://www.freshports.org/archivers/py-lz4/
  • OpenEmbedded: not included. Both recipes exist in meta-python (master), but the layer index currently answers HTTP 403 to the CI runners, which makes the repository check fail; they can be added in a later PR.
  • Diff: 31 lines (+31 / -0) across 1 files Reviewer: Yadunund Review duration: 5980m
    All Vouch review confidence checks passed
    Residual risk 0.04 = Change Risk (0.24) × (1 − Review Confidence (0.81)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.24 · 31 lines diff across 1 files
    0.24
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.71 · 1 substantive comment(s)
    0.71
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    81%
    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.207
    Real PR Conversation Timeline
    6 items
    github-actions[bot] github-actions[bot] approved these changes on Nov 18, 2026 11:02 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 Nov 18, 2026 11:14 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
  • Yadunund Yadunund approved these changes on Nov 19, 2026 19:00 UTC
    Approved Reviewer

    LGTM.

    Yadunund Yadunund commented on Nov 19, 2026 19:07 UTC
    Contributor

    @clalancette could I get a second review here?

    clalancette clalancette approved these changes on Nov 22, 2026 14:42 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    jlblancoc jlblancoc
    Labels
    risk: low confidence: 81.1% 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: 23.7% (LOW) · Higher = larger blast radius
    23.7%
    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: 81.1% · Lower = rushed or shallow review
    81.1%
    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: 4.5% · Safe to merge
    4.5%
    Repository