Skip to content

Test failures in garbage collection on Python 3.14 #551

@sarahec

Description

@sarahec

Describe the bug
While building for Python 3.14 (on nixpkgs), test_expand_dims fails four times:

       > FAILED tests/ndarray/test_resize.py::test_expand_dims[shape0-1-chunks0-blocks0-1] - AssertionError: assert 1 == 2
       >  +  where 1 = <built-in function getrefcount>(<blosc2.ndarray.NDArray object at 0x112e88830>)
       >  +    where <built-in function getrefcount> = <module 'sys' (built-in)>.getrefcount
       > FAILED tests/ndarray/test_resize.py::test_expand_dims[shape1-1-chunks1-blocks1-0123] - AssertionError: assert 1 == 2
       >  +  where 1 = <built-in function getrefcount>(<blosc2.ndarray.NDArray object at 0x112e88e60>)
       >  +    where <built-in function getrefcount> = <module 'sys' (built-in)>.getrefcount
       > FAILED tests/ndarray/test_resize.py::test_expand_dims[shape2-0-chunks2-blocks2-1234] - AssertionError: assert 1 == 2
       >  +  where 1 = <built-in function getrefcount>(<blosc2.ndarray.NDArray object at 0x112e89520>)
       >  +    where <built-in function getrefcount> = <module 'sys' (built-in)>.getrefcount
       > FAILED tests/ndarray/test_resize.py::test_expand_dims[shape3-axis3-chunks3-blocks3-3.333] - AssertionError: assert 1 == 2
       >  +  where 1 = <built-in function getrefcount>(<blosc2.ndarray.NDArray object at 0x112e89be0>)
       >  +    where <built-in function getrefcount> = <module 'sys' (built-in)>.getrefcount

Desktop (please complete the following information):

  • OS: nixos/nix-on-darwin
  • Version unstable-26.05

Additional context
NixOS/nixpkgs#477340

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions