ImportWarning
Closed this issue · 7 comments
jonasrauber commented
In Python 3.6, randomgen 1.14.1 throws the following warning:
>>> import warnings
>>> warnings.simplefilter('always')
>>> import randomgen
/usr/lib/python3.6/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)
/usr/lib/python3.6/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)
...
bashtage commented
Which platform? Installed from wheels?
bashtage commented
Looks like a Cython issue that cannot be easily fixed.
jonasrauber commented
In this case Linux installed from wheels.
bashtage commented
This has been fixed and the latest wheels shouldn't show this behavior. If you still see it, please reopen. Thanks.
jonasrauber commented
Yep, solved. Thanks!
nelsnelson commented
@bashtage How was this fixed? Would you please link me to the commit? Thank you in advance.
bashtage commented
@nelsnelson It is in 6c2d96c