Skip to content

Commit

Permalink
BLD: silence npy_no_deprecated warnings with numpy>=1.16.0 (pandas-de…
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel authored and Pingviinituutti committed Feb 28, 2019
1 parent 923483f commit 3b275ad
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 3b275ad

Please sign in to comment.