Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-15390

FutureWarning in sconsUtils with python 3.7

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: sconsUtils
    • Labels:
      None

      Description

      Using sconsUtils with Python 3.7:

      /sconsUtils/16.0-1-gd93e90d/python/lsst/sconsUtils/builders.py:202: FutureWarning: Possible nested set at position 11
        files_expr += "-name %s -prune" % re.sub(r"(^|[^\\])([[*])", r"\1\\\2", file)
      

        Attachments

          Activity

          Hide
          swinbank John Swinbank added a comment -

          Hey Tim, mind taking a look?

          PR here: https://github.com/lsst/sconsUtils/pull/54
          Jenkins here: https://ci.lsst.codes/blue/organizations/jenkins/stack-os-matrix/detail/stack-os-matrix/28399 (still running at time of writing, but I'd be surprised if it fails)

          Show
          swinbank John Swinbank added a comment - Hey Tim, mind taking a look? PR here: https://github.com/lsst/sconsUtils/pull/54 Jenkins here: https://ci.lsst.codes/blue/organizations/jenkins/stack-os-matrix/detail/stack-os-matrix/28399 (still running at time of writing, but I'd be surprised if it fails)
          Hide
          tjenness Tim Jenness added a comment -

          Looks good.

          Show
          tjenness Tim Jenness added a comment - Looks good.
          Hide
          swinbank John Swinbank added a comment -

          Thanks; merged.

          Show
          swinbank John Swinbank added a comment - Thanks; merged.

            People

            • Assignee:
              swinbank John Swinbank
              Reporter:
              tjenness Tim Jenness
              Reviewers:
              Tim Jenness
              Watchers:
              John Swinbank, Tim Jenness
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel