On Fri, Oct 04, 2019 at 08:51:41PM -0000, Christian Weisgerber wrote:
> On 2019-10-04, Klemens Nanni <kn@openbsd.org> wrote:
> >> 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:
> I see Cython only in RUN_DEPENDS.
> Is this the usual? I.e., Cython happened to be installed at configure
> time, the port picked it up, and by the time it tried to use Cython
> it had been junked.
Yes. I think it will use it if available. So we need to put it in
BUILD_DEPENDS to avoid this sort of thing.
--Kurt
No comments:
Post a Comment