Skip to content

⚠️ Performance: pandas==1.5.3 building from source causes extended build times in TrustyAI notebook #2147

@coderabbitai

Description

@coderabbitai

Problem Description

The TrustyAI notebook build (jupyter-trustyai-ubi9-python-3.12) is experiencing significantly extended build times due to pandas==1.5.3 being built from source instead of using pre-built wheels.

Build Failure Details

Context

This issue was discovered during PR #2145 implementation, which introduces uv pyproject.toml files across multiple notebooks. The TrustyAI notebook's pyproject.toml specifies pandas~=1.5.3 as a dependency.

Investigation Areas

  1. Wheel Availability: Check if pandas 1.5.3 wheels are available for Python 3.12 on linux/amd64
  2. Dependency Conflicts: Investigate if dependency conflicts are forcing source builds
  3. Index Configuration: Review uv index configuration in pyproject.toml for pandas resolution
  4. Version Compatibility: Assess if pandas 1.5.3 is appropriate for Python 3.12 environment

Potential Solutions

  • Update pandas version to one with better wheel availability
  • Add explicit index configuration for pandas wheels
  • Investigate dependency pinning conflicts
  • Consider platform-specific dependency specifications

Acceptance Criteria

  • Identify root cause of pandas source build requirement
  • Implement solution to use pre-built pandas wheels
  • Verify TrustyAI notebook build completes in reasonable time (<5m)
  • Document any version or configuration changes required

Context Links

Impact

Extended build times affect CI/CD pipeline performance and developer productivity. Source builds also indicate potential dependency resolution issues that could affect runtime stability.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions