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

Enable usage of NumPy 1.7 API with ndarray in pybind11 modules

    Details

    • Type: Story
    • Status: Invalid
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1
    • Team:
      Data Release Production

      Description

      DM-3705 brings the ndarray NumPy API up to level 1.7. This allows us to suppress the warnings about it by forcing that API level to be used. Unfortunately, that requires sticking #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION at the top of every module that uses ndarray.

      Find some way to do this and do it.

        Attachments

          Issue Links

            Activity

            Hide
            krzys Krzysztof Findeisen added a comment -

            I haven't seen the deprecated NumPy API warnings in recent builds. Has this issue been fixed?

            Show
            krzys Krzysztof Findeisen added a comment - I haven't seen the deprecated NumPy API warnings in recent builds. Has this issue been fixed?
            Hide
            pschella Pim Schellart [X] (Inactive) added a comment - - edited

            I believe it has been, but I can't quite remember on which ticket. Jim Bosch, will know.

            Show
            pschella Pim Schellart [X] (Inactive) added a comment - - edited I believe it has been, but I can't quite remember on which ticket. Jim Bosch , will know.
            Hide
            rowen Russell Owen added a comment -

            It has not yet been done in all packages. See DM-14625, which is apparently a duplicate of this.

            Show
            rowen Russell Owen added a comment - It has not yet been done in all packages. See DM-14625 , which is apparently a duplicate of this.
            Hide
            jbosch Jim Bosch added a comment -

            It's not exactly a duplicate, but this is definitely superseded by DM-14625.  Closing as invalid.

            Show
            jbosch Jim Bosch added a comment - It's not exactly a duplicate, but this is definitely superseded by DM-14625 .  Closing as invalid.

              People

              • Assignee:
                Unassigned
                Reporter:
                pschella Pim Schellart [X] (Inactive)
                Watchers:
                Jim Bosch, Krzysztof Findeisen, Pim Schellart [X] (Inactive), Russell Owen
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel