Skip to content

[MRG] Configure lgtm.yml for CPP #13044

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

Merged
merged 15 commits into from
Jan 26, 2019
Merged

Conversation

thomasjpfan
Copy link
Member

@thomasjpfan thomasjpfan commented Jan 24, 2019

Fixes LGTM by using python 3 to build scikit-learn when going through C/C++ extraction.

@thomasjpfan thomasjpfan changed the title [WIP] Configure lgtm.yml for CPP [MRG] Configure lgtm.yml for CPP Jan 25, 2019
@s0
Copy link

s0 commented Jan 25, 2019

FTR, this is the config file we wrote internally and applied to get the C++ analysis working:

extraction:
  cpp:
    prepare:
      packages:
        - python3-numpy
        - python3-scipy
        - cython3
    after_prepare:
      # Build works fine with Ubuntu 18.04's cython version 0.26.1
      - sed -i "s/0.28.5/0.26.1/" sklearn/_build_utils/__init__.py
    index:
      build_command:
        - python3 setup.py build

@s0
Copy link

s0 commented Jan 25, 2019

The one you've written though seems to also work, and is a lot cleaner, so this PR LGTM if squashed :)

@glemaitre glemaitre self-requested a review January 26, 2019 10:04
Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@glemaitre glemaitre merged commit e8045a7 into scikit-learn:master Jan 26, 2019
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Jan 30, 2019
thomasjpfan added a commit to thomasjpfan/scikit-learn that referenced this pull request Feb 7, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants