Skip to content

Modify Doctest to support Numpy>2.0 output #686

@CozySocksAlways

Description

@CozySocksAlways

Background

To support NumPy>2.0 #656 , a hotfix was added to the doctest CI Job where a conftest.py is dynamically created to force legacy NumPy (1.25) print formatting for all doctests run in CI.

Issue

If a new contributor writes a doctest using the newer NumPy formatting, the doctest will fail in CI due to the forced legacy formatting. This may cause errors, masking real NumPy 2.0 behavior.

Fix

To be looked into

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions