Skip to content

Commit

Permalink
BLD: silence npy_no_deprecated warnings with numpy>=1.16.0 (#24864)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel authored and jreback committed Jan 26, 2019
1 parent 37a224d commit 602eda4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,11 @@ def run(self):
directives['linetrace'] = True
macros = [('CYTHON_TRACE', '1'), ('CYTHON_TRACE_NOGIL', '1')]

# in numpy>=1.16.0, silence build warnings about deprecated API usage
# we can't do anything about these warnings because they stem from
# cython+numpy version mismatches.
macros.append(('NPY_NO_DEPRECATED_API', '0'))


# ----------------------------------------------------------------------
# Specification of Dependencies
Expand Down

0 comments on commit 602eda4

Please sign in to comment.