Commit Graph

68 Commits

Author SHA1 Message Date
Christian Lorentzen e9c74a3f0a
MNT mypy-joblib.* follow_imports = skip (#27596) 2023-10-24 15:53:12 +02:00
Omar Salman f86f41d80b
PERF Implement `PairwiseDistancesReduction` backend for `RadiusNeighbors.predict_proba` (#26828)
Co-authored-by: Omar Salman <omar.salman@arbisoft>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2023-09-25 10:56:45 -04:00
Omar Salman 1bd831afb8
ENH Add `float32` implementations for `BallTree` and `KDTree` (#25914)
Co-authored-by: Omar Salman <omar.salman@arbisoft>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2023-08-01 12:19:40 -04:00
Loïc Estève d66a384828
CI Add summary about failures and errors in most builds (#26847) 2023-07-24 09:32:54 -04:00
Adrin Jalali 4655d8b7a6
MNT update to mypy=1.3 (#26632) 2023-06-20 18:01:38 +02:00
Adrin Jalali 23a0dcbac9
MNT replace flake8 with ruff (#26630) 2023-06-20 14:34:23 +00:00
Jérémie du Boisberranger 9cb1111028
MAINT Cython linting (#25861) 2023-04-19 14:32:53 +00:00
Meekail Zain b6b6f63ebe
PERF Implement `PairwiseDistancesReduction` backend for `KNeighbors.predict_proba` (#24076)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-03-14 12:04:34 +01:00
Thomas J. Fan f7239bf1a1
BLD Reduce binary size of wheels (#25063) 2022-11-30 10:13:30 +01:00
Thomas J. Fan 845b19f909
CI Correctly define configuration for flake8 (#25017) 2022-11-24 10:52:16 +01:00
Vincent M 239e163191
MAINT Introduce `MiddleTermComputer`, an abstraction generalizing `GEMMTermComputer` (#24807)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-11-03 19:42:42 +01:00
Thomas J. Fan 266d2a2b8d
BLD Migrate away from distutils and only use setuptools (#24563)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-11-03 18:30:14 +01:00
Julien Jerphanion 5b45d1fa7f
MAINT `PairwiseDistancesReduction`: Rename some symbols and files (#24623)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-10-13 13:16:49 -04:00
Jérémie du Boisberranger 79fb69dbe1
MAINT Fix some broken asv benchmarks (#24407) 2022-09-09 15:00:21 +02:00
Julien Jerphanion b7d0171621
FEA Add support for float32 on `PairwiseDistancesReduction` using Tempita (#23865)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-08-10 16:04:04 +02:00
Tom Dupré la Tour 06f125d013
MNT replace unconventional characters (#23966) 2022-07-21 12:19:12 +02:00
Thomas J. Fan e35e52a422
MNT Fixes check-manifest for dist_metrics (#23496) 2022-05-31 11:39:44 +02:00
Olivier Grisel d3429ca328
TST introducing the random_seed fixture (#22749)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-14 10:41:06 +01:00
Thomas J. Fan 6f39cab2ba
DOC Use wheelhouse_uploader directly to publish to pypi (#22234) 2022-01-27 14:52:40 +01:00
Thomas J. Fan 7982942a15
Revert "MAINT workaround for bug in setuptools/pkg_resources (#21676)" (#21723)
This reverts commit a0b5e1b875.
2021-12-09 17:18:48 +01:00
Olivier Grisel f22ebd2548
MAINT set testpaths = sklearn for pytest in setup.cfg (#21894) 2021-12-07 14:33:54 +01:00
Christian Lorentzen d09e1d7239
MRG Common Private Loss Module with tempita (#20567) 2021-11-26 16:45:41 +01:00
Olivier Grisel a0b5e1b875
MAINT workaround for bug in setuptools/pkg_resources (#21676)
* MAINT workaround for bug in setuptools/pkg_resources

* Additional workakaround for CHECK_WARNINGS commandline
2021-11-15 15:24:38 +01:00
Thomas J. Fan 48e83df450
MAINT Removes short summary for most builds (#21554) 2021-11-06 10:06:06 +01:00
Dimitri Papadopoulos Orfanos 6edbffd8fc
MAINT Codespell configuration (#21051)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-10-04 09:33:47 -04:00
Mathis Batoul 4b8cd88039
MAINT Improve source generation using `Tempita` (#20481)
Co-authored-by: Joan Massich <sik@visor.udg.edu>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-09 21:43:56 +02:00
Harutaka Kawamura d05bd7fb1b
Use --color=yes for pytest (#20704)
Signed-off-by: harupy <hkawamura0130@gmail.com>
2021-08-08 17:01:13 +02:00
Thomas J. Fan 81dde3a6e5
STY Ensures that "flake8 ." works (#20298) 2021-06-18 15:46:40 +02:00
Thomas J. Fan 9a13bdfaf1
MNT Adds black config and fixes formatting before black (#19031)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-06-12 17:14:09 +02:00
Juan Carlos Alfaro Jiménez eaa45c86f7
DOC Update maintainers' guide to use new wheel builder system (#18878)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2020-11-26 13:41:20 -05:00
Olivier Grisel a2728ac8d4
flake8: move E402 ignore rule to setup.cfg for examples folder (#18724) 2020-11-01 22:31:57 +01:00
Prabakaran Kumaresshan 3c623648ca
MAINT add manifest check in circle ci config (#18128) 2020-09-07 13:24:26 +02:00
Roman Yurchak ac8760d089
MNT Use mypy --allow-redefinition + config (#18313) 2020-08-31 19:03:38 -04:00
Jérémie du Boisberranger 9964c50f83
MNT Add asv benchmark suite (#17026) 2020-07-29 09:28:25 -04:00
Roman Yurchak 1c1f273d10
ENH XFAIL in common tests with estimator tags (#16502) 2020-02-20 22:28:54 +01:00
Olivier Grisel d6bb321fc0
MNT Update nightly build URL and release staging config (#16435) 2020-02-12 16:05:13 -05:00
Thomas J Fan 2e7e06b78f [MRG] Doctest with print change only adjusts default options for doctest (#13991) 2019-06-01 10:53:45 +02:00
Thomas J Fan 85440978f5 CLN Ignore maint_tools in pytest (#13431) 2019-03-12 01:30:17 +11:00
Nicolas Hug b792382f44 MNT Ignore PendingDeprecationWarnings of matrix subclass with pytest (#13076) 2019-02-02 11:15:39 +01:00
Roman Yurchak 8068b97e1d MNT Only checks warnings on latest depedendencies versions in CI (#12048) 2018-09-17 03:12:33 -07:00
Olivier Grisel 242410f7cd
MAINT make pytest collection ignore folders with Python scripts (#12011)
Some IDEs such as VS Code use the pytest command to collect all the tests of
the workspace in the background. This can cause unexpected execution of
arbitrary Python scripts in the workspace (examples, benchmarks...).

The doc folder is also ignored because it has python scripts for sphinx
along with copies of the examples.

To safely run pytest in the doc folder, we need to used the find command
to find all "*.rst" files as done in the project Makefile.
2018-09-05 17:33:06 +02:00
Andreas Mueller 8e2c2aa35d
raise DeprecationWarnings and FutureWarnings as errors (#11570)
Towards #11252.
In the end we'd like to make these errors so we can keep this cleaner in the future.
2018-07-17 15:31:45 -05:00
Olivier Grisel 06c543f0da MAINT cleanup setup.cfg 2018-07-15 17:42:41 +02:00
Roman Yurchak 27a804d9a8 MAINT Use -rs pytest option to show a summary of skipped tests (#11013) 2018-04-23 09:10:59 +10:00
Joris Van den Bossche 312f64053d TST: display reason of skipped tests by default (#10946) 2018-04-11 11:00:10 +02:00
Loïc Estève cc50b90034 MAINT: do not collect any tests in externals. 2018-01-18 10:49:33 +01:00
Loïc Estève ddaafa6206
MAINT: do not run tests in sklearn/externals (#10486) 2018-01-17 15:24:57 +01:00
Loïc Estève e7e05d844f [MRG+1] Remove nose from CIs and documentation (#9840) 2017-11-16 20:20:35 +01:00
dilutedsauce 62eda82f1f [MRG] move flake8 options from flake8_diff.sh to setup.cfg (#10080)
Also add examples/.flake8 for examples specific flake8 configuration
2017-11-14 13:26:39 +01:00
Loïc Estève 0ec6664ff1 [MRG] Make tests runnable with pytest without error (#8246)
* Make tests runnable with pytest without error.

Errors were due to pytest quirks with (deprecated) yield support.

* Add pytest build on Travis

and tweak pytest settings in setup.cfg

* Tweak comment
2017-02-20 13:08:09 +01:00