Skip to content

Array API: locate the source of __array__(copy=...) DeprecationWarnings in CuPy runs #934

Description

@mwcraig

Problem

#912 reports 15+ tests emitting:

DeprecationWarning: __array__ implementation doesn't accept a copy keyword, so passing copy=False failed...

ccdproc itself defines no __array__ method anywhere in the package (verified by grep), so the offending implementation lives upstream — most likely astropy's NDData/CCDData, astropy.units, or the CuPy interop layer.

Task


Found during a review of the array API implementation from #885; follow-up to #909 / #912.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions