Skip to content

Resolve blocking Python 3.15 dependency compatibility #2

Description

@stefan-jansen

Failure

The required Python 3.15 prerelease matrix is blocked by two core third-party dependencies.

Polars

Affected libraries: data, engineer.

Polars 1.43.1 and 1.43.2 fail common expression and datetime operations on CPython 3.15.0rc1
before ML4T code can process the result. The exact Linux, macOS, and Windows qualification jobs
fail.

Upstream evidence:

SciPy

Affected library: diagnostic.

SciPy 1.18.0 publishes no CPython 3.15 wheels on PyPI. No compatible prerelease wheels were
available from the configured scientific Python prerelease index at the 2026-08-11 evidence cutoff.
Linux, macOS, and Windows therefore attempt a source build and fail before the test suite starts
because the runner environment does not provide the required OpenBLAS build dependencies.

Resolved repository-owned failures

  • NumPy 2.5.2 now provides CPython 3.15 wheels, including Windows. Affected locks were updated in
    data, backtest, live, and models.
  • models now qualifies its hardware-independent core without making prerelease PyTorch a core
    requirement.
  • Optional scientific and ML integrations were separated from core qualification only where the
    public core package does not require them.
  • Required Polars behavior remains in the data and engineer suites.
  • Required SciPy behavior remains in the diagnostic suite.
  • specs passes Python 3.15 installation and tests on Linux, macOS, and Windows.

Release impact

The shared support policy makes Python 3.15 prerelease compatibility blocking before October 1,
2026. An affected library must not be released as qualified while its required job fails. Stable
Python 3.12 through 3.14 jobs completed so far pass.

Acceptance criteria

  • An upstream Polars release containing the fix passes the complete data and engineer Python
    3.15 suites on Linux, macOS, and Windows.
  • A SciPy release or prerelease publishes compatible wheels and the complete diagnostic Python
    3.15 suite passes on all three operating systems.
  • Every other library's current integration commit passes its required Python 3.15 jobs.
  • The merged default branches repeat the complete qualification successfully.
  • Generated ecosystem status records every required lane as passing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibility: affectedHas Python, platform, dependency, or cross-library compatibility impactecosystemTracked by a shared ML4T ecosystem requirementpriority: criticalImmediate correctness, security, or release impactstatus: blockedCannot progress until the documented dependency resolvestype: bugConfirmed or reported incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions