Ignore fastrlock warning caused by Cython
@@ -9,6 +9,9 @@ from cupy import _version
try:
+ with warnings.catch_warnings():
+ distutils_warning = 'can\'t resolve package from __spec__'
+ warnings.filterwarnings("ignore", message=distutils_warning)
from cupy import core # NOQA
except ImportError:
# core is a c-extension module.
