Skip to content

spin 0.9 update causes AttributeError in numpy CI #193

Closed

Description

@ngoldbaum

It looks like this broke one of the numpy CI jobs: https://github.com/numpy/numpy/actions/runs/9087080853/job/24974107681?pr=26436

Error: 'types.SimpleNamespace' object has no attribute 'dir_info'; aborting.

And indeed there's a new access of a dir_info attribute added in #155.

Clues about how to fix this in the numpy CI would be appreciated if this isn't a spin bug.

Activity

  1. stefanv commented on May 14, 2024

    @stefanv
    Member

    I can replicate with a conda install.

  2. added a commit that references this issue on May 14, 2024
    73284d6
  3. added a commit that references this issue on May 16, 2024
    50f3cc6
  4. asmeurer commented on May 22, 2024

    @asmeurer

    This error breaks numpy builds in a particularly confusing way. It doesn't help that Googling the error message doesn't lead to this issue for some reason (I guess Google doesn't actually index the web anymore).

    Is it possible for spin to output a traceback in cases like this? Perhaps whatever code is hiding the tracebacks could try to detect if the error is a spin internal error and unhide it in that case.

    To be clear if anyone does manage to find this issue, downgrading to spin=0.8 fixes the issue.

  5. stefanv commented on May 22, 2024

    @stefanv
    Member

    Thanks, Aaron, I think that'd be a good feature to add.

    NumPy CI is pinned to the hash which works, but we should get 0.9.1 out the door.

  6. stefanv commented on May 22, 2024

    @stefanv
    Member

    See PR #198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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