Skip to content

TST: setup.py bdist_wheel error for numpy-dev #8318

Closed

Description

@pllim

https://travis-ci.org/astropy/astropy/jobs/473606827

Error started here and continued on for a while:

Collecting numpy from git+https://github.com/numpy/numpy.git#egg=numpy
  Cloning https://github.com/numpy/numpy.git to /tmp/pip-install-uu21f19y/numpy
Building wheels for collected packages: numpy
  Running setup.py bdist_wheel for numpy ... error
  Complete output from command /home/travis/miniconda/envs/test/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-uu21f19y/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-a_dluvtg --python-tag cp37:
  Running from numpy source directory.
  Cythonizing sources
  Processing numpy/random/mtrand/randint_helpers.pxi.in
  Processing numpy/random/mtrand/mtrand.pyx
  blas_opt_info:
  blas_mkl_info:
  customize UnixCCompiler
    libraries mkl_rt not found in ['/home/travis/miniconda/envs/test/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
    NOT AVAILABLE

...

cc @mhvk and @bsipocz

Activity

  1. assigned and unassigned on Dec 31, 2018
  2. saimn commented on Jan 2, 2019

    @saimn
    Contributor

    Since the errors come from numpy/fft/pocketfft.c and the use of c89, I actually think that this is related to a numpy change. numpy/numpy#12610 (C99 is the
    standard for NumPy >= 1.17
    ) lead to numpy/numpy#11888: integration of a new library for fft, compatible with c99 only.
    So I guess that we need to use c99 for the numpy-dev build, unless they plan to keep a c89 mode which is not working. But using c99 is probably the best way to go.

  3. pllim commented on Jan 4, 2019

    @pllim
    Author
  4. added
    Upstream Action Required
    on Jan 4, 2019
  5. deleted a comment from mhvk on Jan 6, 2019
  6. pllim commented on Jan 6, 2019

    @pllim
    MemberAuthor

    Thanks to @rgommers , this would be fixed once astropy/ci-helpers#368 is merged.

  7. saimn commented on Jan 6, 2019

    @saimn
    Contributor

    Thanks for taking care of this @pllim :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions