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

Update deprecation procedure to avoid generating warnings from LSST code

    XMLWordPrintable

    Details

      Description

      Per RFC-659, update the deprecation procedure documented in the Developer Guide to (something like; some wordsmithing may be required):

      An interface may not be deprecated if doing so would cause other DM-provided code to emit a deprecation warning (of course, this does not apply to end-user code). This means that the ticket which adds the deprecation must also remove all remaining calls to the deprecated interface (updating them to the intended replacement, where appropriate). In some cases, it may be impossible to fully remove the calls to the deprecated code (for example, because it is used to implement some user-facing functionality which is also being deprecated); in this eventuality, the lsst.utils.deprecated.suppress_deprecations decorator may be used to temporarily suppress the warning.

        Attachments

          Issue Links

            Activity

            swinbank John Swinbank created issue -
            swinbank John Swinbank made changes -
            Field Original Value New Value
            Epic Link DM-22631 [ 427740 ]
            swinbank John Swinbank made changes -
            Link This issue is triggered by RFC-659 [ RFC-659 ]
            swinbank John Swinbank made changes -
            Epic Link DM-22631 [ 427740 ] DM-24351 [ 433046 ]
            swinbank John Swinbank made changes -
            Epic Link DM-24351 [ 433046 ] DM-25148 [ 435266 ]
            swinbank John Swinbank made changes -
            Epic Link DM-25148 [ 435266 ] DM-26801 [ 439753 ]
            sullivan Ian Sullivan made changes -
            Epic Link DM-26801 [ 439753 ] DM-27913 [ 442606 ]
            sullivan Ian Sullivan made changes -
            Epic Link DM-27913 [ 442606 ] DM-29207 [ 459199 ]
            sullivan Ian Sullivan made changes -
            Epic Link DM-29207 [ 459199 ] DM-30429 [ 504812 ]
            sullivan Ian Sullivan made changes -
            Epic Link DM-30429 [ 504812 ] DM-30522 [ 510204 ]
            sullivan Ian Sullivan made changes -
            Epic Link DM-30522 [ 510204 ] DM-32380 [ 826492 ]
            sullivan Ian Sullivan made changes -
            Epic Link DM-32380 [ 826492 ] DM-32382 [ 826494 ]
            sullivan Ian Sullivan made changes -
            Epic Link DM-32382 [ 826494 ] DM-32383 [ 826495 ]

              People

              Assignee:
              swinbank John Swinbank
              Reporter:
              swinbank John Swinbank
              Watchers:
              John Swinbank, Kian-Tat Lim, Krzysztof Findeisen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Jenkins

                  No builds found.