On Fri, Oct 04, 2019 at 01:33:28PM +0200, Christian Weisgerber wrote:
> math/py-pandas,python3 failed to build in my latest amd64 bulk build.
> Here's the tail end of the build (the full log is attached):
Build completes just fine on amd64 without Cython installed.

> Traceback (most recent call last):
>   File "./setup.py", line 48, in <module>
>     ver = Cython.__version__
> AttributeError: module 'Cython' has no attribute '__version__'
> *** Error 1 in math/py-pandas (/usr/ports/lang/python/python.port.mk:226 
> 'do-build': @: ;cd /usr/obj/ports/py-pandas-0.24.2-python3/pandas-0...)
I do not see how it reached this point.  If Cython is installed,
__version__ must be available:

        $ doas pkg_add -a py3-cython
        quirks-3.182 signed on 2019-10-02T22:04:23Z
        py3-cython-0.29.13: ok
        $ python3 -c 'import Cython; print(Cython.__version__)'
        0.29.13

And since this is an AttributeError rather than a ModuleNotFoundError,
it means Cython was installed during build.

Did something corrupt it?

Reply via email to