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

#4846 - Allow importing Python package with C-extension e.g. numpy in the labs CLI #4868

Merged
merged 11 commits into from
Jul 6, 2023

Commits on Jun 30, 2023

  1. #4846 - Add some ctest for using numpy with the CLI. 3 flavors

    * Explicitly insert to sys.path the site-packages and lib-dynload folders from the system python
    * Pass --python_path twice (site-packages and lib-dynload)
    * Pass --python_home
    jmarrec committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    ba18689 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e5b4f90 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    60a7294 View commit details
    Browse the repository at this point in the history
  4. Correctly pass --python_home

    jmarrec committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    db941e8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    454d337 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e581821 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c00a57b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1d1e7c3 View commit details
    Browse the repository at this point in the history
  9. Deal with Ubuntu CIs which have the numpy package in `/usr/local/lib/…

    …python3.8/dist-packages/`
    jmarrec committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    7fd28c8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    11397c6 View commit details
    Browse the repository at this point in the history
  11. Catch the case when the Python_ROOT_DIR was cached but doesn't exist …

    …more reliable (Ubuntu 22.04 had this issue)
    jmarrec committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    3a3175d View commit details
    Browse the repository at this point in the history