Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-11002

Add base2048 into the RHAI pipeline onboarding collection

    • AIPCC Accelerators 27

      Add package 'base2048' into the RHAI pipeline onboarding collection.

      The package requires builder repository onboarding before it can be added to the RHAI pipeline. This ticket is blocked by the builder onboarding ticket.

      Summary

      Here is the executive summary formatted as a JIRA comment in JIRA wiki markup:

      Executive Summary: base2048 Package Analysis

      base2048 is a Rust-based Python extension (using PyO3 bindings and the maturin build system) rated as Moderate complexity (6/10). The package provides base-2048 encoding/decoding with a minimal API surface (two functions: encode and decode), zero Python runtime dependencies, and is licensed under MIT – fully compatible with Red Hat distribution policies. All transitive Rust dependencies (pyo3, lazy_static, hashbrown) are dual-licensed Apache-2.0/MIT with no licensing blockers.

      The primary build consideration is the Rust toolchain requirement for source compilation. The package uses the PyO3 abi3-py37 stable ABI feature, meaning a single compiled artifact works across all CPython versions >= 3.7 (confirmed working on Python 3.14.2). A source build requires only Rust stable (edition 2021, rustc 1.56+) and maturin>=0.13,<0.14 – no C/C++ compiler or external system libraries beyond standard glibc (>= 2.17) are needed. Pre-built manylinux_2_17_x86_64 wheels are available on PyPI as a validated fallback. There are no critical blockers; the only open issue (#16) requests ARM64 wheels, which does not affect the x86_64 target architecture.

      Recommended approach for AIPCC-10993: Given the 2026-02-25 delivery target, the fast path is to use the existing pre-built manylinux wheel from PyPI for initial delivery, while establishing a containerized source build pipeline (UBI8/UBI9 with rust-toolset and python3-devel) for subsequent releases. The JIRA ticket's "override" context likely refers to special Rust toolchain provisioning not included in standard Python build automation.

      Key Technical Details

      • Build command (source):
        # Using system Rust toolchain (e.g., rust-toolset on RHEL)
        pip wheel --no-binary base2048 base2048==0.1.3
        # Or: clone repo + maturin build --release
        
      • Fallback (pre-built wheel): base2048-0.1.3-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB), verified working
      • Runtime dependencies: None (Python) / glibc >= 2.17 (system)
      • License: MIT – no redistribution restrictions
      • Security risk: Low – no network/filesystem access, no runtime dependencies, minimal codebase (~170 lines Rust)
      • Repository: https://github.com/ionite34/base2048 – stable but low activity since late 2022 (acceptable for a mature encoding library)

              lbarto Lance Barto
              aipcc-jira-bot@redhat.com AIPCC JIRABOT
              Frank's Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: