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

Fix test breakage from PIPE2D-871

    XMLWordPrintable

    Details

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

      Description

      Following the merge of PIPE2D-871, drp_stella fails the integration test:

      _____________________ EstimateRadialVelocityTestCase.test ______________________
      [gw8] linux -- Python 3.7.2 /projects/HSC/PFS/stack/20190925/python/miniconda3-4.5.12/envs/lsst-scipipe/bin/python3.7
      
      self = <test_estimateRadialVelocity.EstimateRadialVelocityTestCase testMethod=test>
      
         def setUp(self):
             self.estimateRadialVelocity = EstimateRadialVelocityTask(config=EstimateRadialVelocityConfig())
             # It may be fearsome to use default_rng()
             # because numpy is planning to change the default RNG again as of 2021-09-15.
             # We call PCG64 explicitly.
           self.np_random = np.random.Generator(np.random.PCG64(seed=0x789abcdef0123456))
      E       AttributeError: module 'numpy.random' has no attribute 'Generator'
      
      

      I believe this comes from using a newer version of numpy than the stack supports.

        Attachments

          Activity

            People

            • Assignee:
              price price
              Reporter:
              price price
              Reviewers:
              hassan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: