Skip to content

Remove warning catching in convolve.py (replace numpy.ctypeslib.load_library) #12157

@pllim

Description

@pllim

This was added in #11962 because of distutils deprecation warning in Python 3.10:

with warnings.catch_warnings():
# distutils.sysconfig module is deprecated in Python 3.10
warnings.simplefilter('ignore', DeprecationWarning)
_convolve = load_library("_convolve", LIBRARY_PATH)

See numpy/numpy#18588 for cunning plan. cc @saimn @mhvk

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions