Commit Graph

245 Commits

Author SHA1 Message Date
Thomas J. Fan 06d6f8a9f6
FIX Passes global configuration when spawning joblib jobs (#17634)
* WIP

* BUG Passes context to joblib jobs

* BUG Fix

* BUG Fix

* CLN Moves delayed into fixes

* CLN Adds linter

* REV Revert diff

* DOC Adds comment for removal

* Use a simple implementation
2020-09-21 16:59:42 +02:00
Roman Yurchak 49d26cb63f
Use ccache for faster CI builds (#16434) 2020-09-03 15:42:43 +02:00
Juan Carlos Alfaro Jiménez 3254e98a79
MNT Use version less than 3.0.0 for lightgbm (#18317) 2020-09-01 18:43:44 +02:00
Christian Kastner 5af6561441
TST Change expected result type np.int64 -> np.int (#18089)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-08-07 08:46:53 +02:00
Roman Yurchak 90dc61f239
Arm64 CI setup with TravisCI (#17996) 2020-07-31 10:11:27 +02:00
Thomas J. Fan 2992fe27f3
CI Fixes circleci doc building by adding path to conda in bash script (#18022) 2020-07-29 09:34:53 +02:00
Thomas J. Fan b5e2a00b4f
CI Remove unneeded check for python 3.5 (#17948) 2020-07-18 00:17:59 +02:00
Thomas J. Fan 94a9f9a0b0
CI Temporary fix for conda-forge:: compilers on osx (#17913)
* CI Temporary fix for conda-forge on osx

* DOC Update doc on compiler version

* CLN Apply suggestions
2020-07-14 17:58:04 +02:00
Thomas J. Fan 3b9ad92ed6
CI Build with cython prerelease (#17908) 2020-07-12 21:45:20 +02:00
Jérémie du Boisberranger cac167244d
CI Fix pre-build checks to handle compilers from build_ext options (#16193) 2020-07-10 16:10:10 +02:00
Juan Carlos Alfaro Jiménez a34d0bd86a
MNT Use central location of dependencies for travis-ci (#17761) 2020-06-29 13:22:34 -04:00
Thomas J. Fan 0f114b610d
MNT Places all minimum dependencies in one central location (#17573)
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
2020-06-27 16:55:25 +02:00
Juan Carlos Alfaro Jiménez 2eb0fbd7b4
MNT Fetch numpy and scipy nightly wheels from anaconda (#17672) 2020-06-23 19:40:57 -04:00
Thomas J. Fan 860b55b60a
CI Ignore tostring deprecation in numpy 1.19 caused by joblib and scipy (#17652) 2020-06-22 13:17:07 +02:00
Thomas J. Fan 650dea4838
MNT Update sphinx 3.0.3 (#17244)
* MNT Update to sphinx 3.0.3

* BLD [doc build]

* WIP Update sphinx
2020-06-11 14:43:28 -04:00
Thomas J. Fan afeae82ec4
CI Tunes the number of openmp threads based on the xdist worker count (#17559)
* CI Tunes the number of threads based on the xdist worker count

* CI Fix bug

* CI Fix bug

* REV

* ENH Ability to work with wheels

* ENH Ignore conftests

* ENH Use correct number of OMP_THREADS

* ENH Sets cpu codes explicity

* DOC Adds docstring
2020-06-11 10:45:01 +02:00
Thomas J. Fan 673c31a880
CI Explicitly trigger xdist in ci (#17549)
* MNT Uses pytest-xdist explicity

* BUG fix in script

* CI Turns on xdist in more places
2020-06-10 16:16:54 +02:00
Nicolas Hug 612ebc8713
DOC Add triage team section in "About us" page (#17305) 2020-05-25 11:09:17 -04:00
Lucy Liu 2d12bb5750
CI Check default doctest directives in linter (#17269)
* add grep

* directs to test CI

* attempt2

* better output format

* use find

* revert test rst file

* better message

* faster grep
2020-05-19 15:50:19 +02:00
Adrin Jalali 1b119c4693
MNT fix generate_authors_table.py (#17011) 2020-04-28 00:12:29 +10:00
Hugo van Kemenade e8a42aee5d
CI Remove pin now that Pillow issue is fixed (#17043) 2020-04-26 13:48:36 +02:00
Thomas J Fan dba4514aa2
CI Pins pillow version to fix ci failure (#16843) 2020-04-05 12:09:36 +02:00
Roman Yurchak 1cbe59ee06
CI Check for unused imports when linting (#16678)
* Check for missing imports in linting

* Exclude externals

* Remove unused imports
2020-03-12 12:56:35 +01:00
Thomas J Fan 6235484e17
MNT Restores behavior of conditioning on linting for most instances (#16672) 2020-03-11 09:33:02 +01:00
Chiara Marmo e9340e3f4b
[MRG] DOC Add example about interpretation of coefficients of linear models (#15706)
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Gael Varoquaux <gael.varoquaux@normalesup.org>
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-03-11 09:59:23 +11:00
Thomas J Fan bbcfad8c76
MNT Uses azure pipelines for scipy-dev (#16603) 2020-03-04 07:09:22 +11:00
Roman Feldbauer cd622dfb42
MNT Download and test datasets in cron job (#16348) 2020-03-02 00:41:19 -05:00
Jérémie du Boisberranger 769794249c
[MRG] new K-means implementation for improved performances (#11950) 2020-02-20 13:39:16 +01:00
Adrin Jalali 933b4cffc0
MNT/CI install scikit-image if we test doc on azure (#15065) 2020-02-11 13:42:54 +01:00
Jérémie du Boisberranger 97d49f2074
BLD Specify build time dependencies via pyproject.toml (#16244)
* add pyproject.toml

* do it in CI

* cln

* no build isolation in the doc

* bump dependencies

* no-build-isolation everywhere needed
2020-02-11 10:58:04 +01:00
Adrin Jalali 42706ebf2d
MNT CI dropping python-3.5 (#15106)
* dropping python-3.5

* fix install guide

* fix setup.py

* fix circleci

* advanced_installation

* index.html

* readme

* pyparsing.py

* remove clean_warning_registry

* 1.13.1 and 1.19.1

* don't use 16.04

* 18.04 libatlas-dev -> libatlas-base-dev

* min pillow version for 3.6 is 4.2.1

* echo commands

* fix conflict, and 32 bit

* fix conflict for circle

* fix scikit-image version dep

* mark tests as xfail on 32bit py3.6

* move to 1.13.3 min numpy version, and simplify old code

* remove the rest of _object_dtype_isnan usages

* Revert "remove the rest of _object_dtype_isnan usages"

This reverts commit c6e867ea1f.

* fix issues raised by jeremy

* minor fix

* minor fixes mentioned by Olivier
2020-02-10 12:28:42 +01:00
Mohamed Maskani e336d803f1
Specify compilers version to work-around issues on MacOS (#16282) 2020-01-30 11:40:50 +01:00
Thomas J Fan e754903803 MNT Uploads coverage in pylatest_pip_openblas_pandas CI (#16092) 2020-01-12 10:55:23 +01:00
Adrin Jalali 46001e7cfb FIX support scalar values in fit_params in SearchCV (#15863)
* support a scalar fit param

* pep8

* TST add test for desired behavior

* FIX introduce _check_fit_params to validate parameters

* DOC update whats new

* TST tests both grid-search and randomize-search

* PEP8

* DOC revert unecessary change

* TST add test for _check_fit_params

* olivier comments

* TST fixes

* DOC whats new

* DOC whats new

* TST revert type of error

* add olivier suggestions

* address olivier comments

* address thomas comments

* PEP8

* comments olivier

* TST fix test by passing X

* avoid to call twice tocsr

* add case column/row sparse in check_fit_param

* provide optional indices

* TST check content when indexing params

* PEP8

* TST update tests to check identity

* stupid fix

* use a distribution in RandomizedSearchCV

* MNT add lightgbm to one of the CI build

* move to another build

* do not install dependencies lightgbm

* MNT comments on the CI setup

* address some comments

* Test fit_params compat without dependency on lightgbm

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2019-12-31 13:02:45 +01:00
Thomas J Fan 1e166f77f8 [MRG] MNT Updates pypy to use 7.2.0 (#15954) 2019-12-30 00:18:40 +01:00
Olivier Grisel 0abd48b9c3 MAINT Unpin coverage package (#15957) 2019-12-23 10:22:55 +01:00
Brian Wignall 0e10b3a3cb DOC Fix typos, via a Levenshtein-style corrector (#15923) 2019-12-19 16:26:02 -08:00
Thomas J Fan 7c58c2037f [MRG] MNT Adds comment regarding coverage pinning (#15912)
* MNT Adds comment regarding coverage pinning

* CLN Improves english
2019-12-18 13:02:15 +01:00
Thomas J Fan 078e3ef296 [MRG] MNT Fix assert run python script (#15905) 2019-12-17 18:28:31 +11:00
Brian Wignall c4733f4895 MNT Fix some easy-to-make typos (#15720) 2019-11-26 06:31:40 -06:00
Jérémie du Boisberranger 308a54e3ae CI Use new conda syntax to select blas (#15705) 2019-11-22 22:27:40 +01:00
Guillaume Lemaitre 6b8e545293 MNT bump the version of numpydoc and sphinx gallery (#15681) 2019-11-21 11:51:07 +01:00
Chiara Marmo 641b863188 MNT fix filtering of examples file to run by sphinx (#15680) 2019-11-20 16:06:41 +01:00
Thomas J Fan a723bea9c9 [MRG] Enables CircleCI to fail when sphinx warns (#15633) 2019-11-19 14:31:52 +01:00
Jérémie du Boisberranger 9876f748b0 [MRG] BUILD: warn instead of raise when openmp unsupported (#15174) 2019-11-13 10:03:12 +01:00
Adrin Jalali ad57efa729
MNT packaging instead of a custom regex to parse versions (#15566)
* use x.y.z (no rc/beta/etc) for version in sphinx config

* use parse_version, and refactor binder branch inference

* install packaging in doc build envs

* use packaging
2019-11-11 13:46:41 +01:00
Olivier Grisel 82e2f54565 BLD: Do not pre-cythonize when calling sdist (#15567) 2019-11-08 13:04:30 +01:00
Olivier Grisel 57ad5cc9a7 MAINT missing apt-gate update on azure (#15563) 2019-11-07 15:40:41 +01:00
Thomas J Fan 837d2b5552 BLD Makes linting a dependency for most azure jobs (#15277) 2019-11-01 06:51:37 +11:00
Thomas J Fan 253d04a4df BLD Installs pytest in conda env (#15394) 2019-10-30 22:01:10 +01:00