8000 [MRG+2] use manylinux dev wheels for numpy / scipy by matthew-brett · Pull Request #8536 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

[MRG+2] use manylinux dev wheels for numpy / scipy #8536

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

Conversation

matthew-brett
Copy link
Contributor

Use daily manylinux wheels for numpy and scipy, instead of
soon-to-be-discontinued per-commit Precise wheels.

Use daily manylinux wheels for numpy and scipy, instead of
soon-to-be-discontinued per-commit Precise wheels.
@matthew-brett matthew-brett changed the title WIP: use manylinux dev wheels for numpy / scipy MRG: use manylinux dev wheels for numpy / scipy Mar 5, 2017
@jnothman
Copy link
Member
jnothman commented Mar 5, 2017

LGTM, thanks

@jnothman jnothman changed the title MRG: use manylinux dev wheels for numpy / scipy [MRG+1] use manylinux dev wheels for numpy / scipy Mar 5, 2017
@GaelVaroquaux
Copy link
Member

Why did you remove the atlas libraries? It seems to me that an optimized blas would be useful. Do we have others on the system?

@matthew-brett
Copy link
Contributor Author

I removed the blas libraries thinking that you didn't need them anymore, now you are not using the numpy wheels that depend on them. Is that not correct?

@GaelVaroquaux
Copy link
Member

I am pretty sure that we use a blas when it's available, for instance in sklearn/utils/weight_vector.pyx. We carry around our own blas headers (in sklearn/src/cblas) but I would rather rely on a proper blas implementation for building wheels.

What do you think? It seems to me that it would be better to have a good blas on the build system. Ideally openblas, though.

8000
@matthew-brett
Copy link
Contributor Author

I may have misunderstood, but as far as I know the wheel-building repo is https://github.com/MacPython/scikit-learn-wheels - and you are not building wheels for redistribution here.

If you sometimes build with an external blas, and sometimes without, I guess the best option would be to have a build matrix entry for each option?

@GaelVaroquaux
Copy link
Member
GaelVaroquaux commented Mar 5, 2017 via email

@matthew-brett
Copy link
Contributor Author

Hmm - looking at sklearn/utils/setup.py, I think you're only going to find the BLAS implementation when the library is in the same place as it was during the numpy build. In practice, I think that's only going to apply to the Ubuntu build matrix entry, now, so I've tried to adapt .travis.yml to address that.

@matthew-brett matthew-brett force-pushed the use-manylinux-pre-wheels branch from 0aab63a to ecdafc9 Compare March 5, 2017 21:13
scikit-learn can link against BLAS libraries still at the same location
as they were duing numpy build.
@matthew-brett matthew-brett force-pushed the use-manylinux-pre-wheels branch from ecdafc9 to 1468380 Compare March 6, 2017 06:31
@matthew-brett
Copy link
Contributor Author

I reverted the change - so ATLAS is always installed now, as it was before this PR.

@lesteve
Copy link
Member
lesteve commented Mar 6, 2017

LGTM

@lesteve lesteve changed the title [MRG+1] use manylinux dev wheels for numpy / scipy [MRG+2] use manylinux dev wheels for numpy / scipy Mar 6, 2017
@raghavrv raghavrv merged commit 426f441 into scikit-learn:master Mar 7, 2017
@raghavrv
Copy link
Member
raghavrv commented Mar 7, 2017

Thanks @matthew-brett 🎉

@Przemo10 Przemo10 mentioned this pull request Mar 17, 2017
herilalaina pushed a commit to herilalaina/scikit-learn that referenced this pull request Mar 26, 2017
* MAINT: use manylinux dev wheels for numpy / scipy

Use daily manylinux wheels for numpy and scipy, instead of
soon-to-be-discontinued per-commit Precise wheels.

* BF: add back ATLAS install for ubuntu build entry

scikit-learn can link against BLAS libraries still at the same location
as they were duing numpy build.
massich pushed a commit to massich/scikit-learn that referenced this pull request Apr 26, 2017
* MAINT: use manylinux dev wheels for numpy / scipy

Use daily manylinux wheels for numpy and scipy, instead of
soon-to-be-discontinued per-commit Precise wheels.

* BF: add back ATLAS install for ubuntu build entry

scikit-learn can link against BLAS libraries still at the same location
as they were duing numpy build.
Sundrique pushed a commit to Sundrique/scikit-learn that referenced this pull request Jun 14, 2017
* MAINT: use manylinux dev wheels for numpy / scipy

Use daily manylinux wheels for numpy and scipy, instead of
soon-to-be-discontinued per-commit Precise wheels.

* BF: add back ATLAS install for ubuntu build entry

scikit-learn can link against BLAS libraries still at the same location
as they were duing numpy build.
NelleV pushed a commit to NelleV/scikit-learn that referenced this pull request Aug 11, 2017
* MAINT: use manylinux dev wheels for numpy / scipy

Use daily manylinux wheels for numpy and scipy, instead of
soon-to-be-discontinued per-commit Precise wheels.

* BF: add back ATLAS install for ubuntu build entry

scikit-learn can link against BLAS libraries still at the same location
as they were duing numpy build.
paulha pushed a commit to paulha/scikit-learn that referenced this pull request Aug 19, 2017
* MAINT: use manylinux dev wheels for numpy / scipy

Use daily manylinux wheels for numpy and scipy, instead of
soon-to-be-discontinued per-
9338
commit Precise wheels.

* BF: add back ATLAS install for ubuntu build entry

scikit-learn can link against BLAS libraries still at the same location
as they were duing numpy build.
maskani-moh pushed a commit to maskani-moh/scikit-learn that referenced this pull request Nov 15, 2017
* MAINT: use manylinux dev wheels for numpy / scipy

Use daily manylinux wheels for numpy and scipy, instead of
soon-to-be-discontinued per-commit Precise wheels.

* BF: add back ATLAS install for ubuntu build entry

scikit-learn can link against BLAS libraries still at the same location
as they were duing numpy build.
jwjohnson314 pushed a commit to jwjohnson314/scikit-learn that referenced this pull request Dec 18, 2017
* MAINT: use manylinux dev wheels for numpy / scipy

Use daily manylinux wheels for numpy and scipy, instead of
soon-to-be-discontinued per-commit Precise wheels.

* BF: add back ATLAS install for ubuntu build entry

scikit-learn can link against BLAS libraries still at the same location
as they were duing numpy build.
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.

5 participants
0