Skip to content

[MRG] Configure lgtm.yml for CPP - #13044

Merged
glemaitre merged 15 commits into
scikit-learn:masterfrom
thomasjpfan:lgtm-fix
Jan 26, 2019
Merged

glemaitre merged 15 commits into
scikit-learn:masterfrom
thomasjpfan:lgtm-fix

Conversation

@thomasjpfan

@thomasjpfan thomasjpfan commented Jan 24, 2019 •

Copy link
Copy Markdown
Member

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

s0 commented Jan 25, 2019 •

Copy link
Copy Markdown

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

s0 commented Jan 25, 2019 •

Copy link
Copy Markdown

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

@glemaitre glemaitre left a comment

Copy link
Copy Markdown
Member

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