Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circumvent GWLF-E SegFaults due to NumPy #3090

Merged
merged 2 commits into from
Feb 26, 2019

Commits on Feb 22, 2019

  1. Circumvent GWLF-E SegFaults due to NumPy

    A recent release of NumPy introduced a new module _multiarray_umath.
    Unfortunately, there are some tools that depend on NumPy and pull
    in the latest version as a build dependency. This latest version is
    then replaced with the version specified in our requirements.txt,
    thus the module is not available at run-time causing the segfaults.
    
    By installing NumPy separately before requirements.txt is gathered,
    we ensure that whatever was using the most recent version of NumPy
    in its installation now uses the pre-installed one.
    
    We'll have to ensure that the version of NumPy in requirements.txt
    matches the one in Ansible.
    
    For details see:
    
    numpy/numpy#11871
    https://stackoverflow.com/q/54153886
    rajadain committed Feb 22, 2019
    Configuration menu
    Copy the full SHA
    4b2f215 View commit details
    Browse the repository at this point in the history
  2. Remove numpy and numba from pip requirements

    These are installed separately due to build issues. Having them
    here was redundant, and a cause of potential confusion if the
    version numbers in Ansible were to change away from these.
    rajadain committed Feb 22, 2019
    Configuration menu
    Copy the full SHA
    8aa7b57 View commit details
    Browse the repository at this point in the history