Uploaded image for project: 'DRP 2-D Pipeline'
  1. DRP 2-D Pipeline
  2. PIPE2D-1546

Please avoid using numpy._typing

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: drp_qa
    • Labels:
      None

      Description

      The drp_qa utils/math.py has from numpy._typing import ArrayLike, which only exists on the pfsa installation of numpy (and not on the summit, tiger, or vanilla installations) – that appears to have been added after the first installation of numpy. In this case the public from numpy.typing import ArrayLike seems to exist, though I did not check whether it works.

      If we do need to install _typing, it would be nice to know why and from where it came. The other pfsa-specific package seems to be array_api.

        Attachments

          Activity

            People

            • Assignee:
              wtgee Wilfred Gee
              Reporter:
              cloomis cloomis
              Reviewers:
              cloomis
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: