Skip to content

Release 1.7.1 #31762

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 103 commits into from
Jul 17, 2025
Merged

Release 1.7.1 #31762

merged 103 commits into from
Jul 17, 2025

Conversation

jeremiedbb
Copy link
Member

@jeremiedbb jeremiedbb commented Jul 15, 2025

  • Set the version number in the release branch
  • Generate the changelog in the release branch
  • Check that the wheels for the release can be built successfully
  • Merge the PR with [cd build] commit message to upload wheels to the staging repo
  • Upload the wheels and source tarball to https://test.pypi.org
  • Create tag on the main repo
  • Confirm bot detected at https://github.com/conda-forge/scikit-learn-feedstock
    and wait for merge
  • Upload the wheels and source tarball to PyPI
  • Update news and what's new date in main branch
  • Backport news and what's new date in release branch
  • Publish to https://github.com/scikit-learn/scikit-learn/releases
  • Announce on mailing list and on social media platforms (LinkedIn, Bluesky, etc.)
  • Update SECURITY.md in main branch
Picks and Drops

drop e70ae56 MNT Bump version to 1.8.dev0 on main (#31336)
pick 9b40cbc MNT Update array-api-compat to 1.12 (#31388)
pick 4560abc DOC: Correct a typo: this examples -> this example (#31458)
pick 6343cd7 DOC Use from_cv_results in plot_roc_crossval.py (#31455)
pick bb56546 🔒 🤖 CI Update lock files for main CI build(s) 🔒 🤖 (#31466)
pick 9062822 MNT Use tmp_path fixture for test_check_memory (#31453)
drop 5c21794 Add array API support to median_absolute_error (#31406)
pick d11be4e 🔒 🤖 CI Update lock files for array-api CI build(s) 🔒 🤖 (#31465)
pick 58131e5 🔒 🤖 CI Update lock files for scipy-dev CI build(s) 🔒 🤖 (#31463)
pick 7d0cbaf 🔒 🤖 CI Update lock files for free-threaded CI build(s) 🔒 🤖 (#31464)
pick c4a0043 DOC Add link to plot_monotonic_constraints.py in ensemble examples (#31471)
pick 73a8a65 DOC Add link for prediction latency plot example in SGD Regression#30621 (#31477)
drop 88410d6 DOC Backport 1.7 changelog into the main branch (#31491)
drop 34e46b0 MNT Update SECURITY.md for 1.7.0 (#31493)
pick c7397e7 🔒 🤖 CI Update lock files for scipy-dev CI build(s) 🔒 🤖 (#31505)
pick a2b2f0e 🔒 🤖 CI Update lock files for free-threaded CI build(s) 🔒 🤖 (#31506)
pick 02e59fe 🔒 🤖 CI Update lock files for array-api CI build(s) 🔒 🤖 (#31507)
pick 4f1038c 🔒 🤖 CI Update lock files for main CI build(s) 🔒 🤖 (#31508)
pick 8bec6d0 DOC Add additional donation options to About page (#31379)
pick ab3d34e MNT Add free-threaded wheel for Linux arm (#31513)
drop 1fae098 FIX: Change limits of power_t param to [0, inf) (#31474)
pick 3962c28 DOC Added example comparing L1-based models to ARD user guide (#31425)
drop 5509d2f MNT Fix docstring of _BaseComposition (#31484)
pick 1588ec9 DOC: Add link to plot_ensemble_oob example (#31457)
pick 780b393 FIX: fix wrongly used plt.show() in examples (#31524)
pick aa8b113 DOC add reference to higher level functions in estimator_checks_generator (#31480)
drop d03054b FIX Remove median_absolute_error from METRICS_WITHOUT_SAMPLE_WEIGHT (#30787)
pick 9f86681 DOC Scale data before using k-neighbours regression (#31201)
pick d171a3c Preemptively fix incompatibilities with an upcoming array-api-strict release (#31517)
pick 6ac2cb3 CI Fix wheels build after cibuildwheel 3.0 release (#31532)
pick 082eb5d DOC Clarify metadata routing docs from _metadata_requests.py module (#31419)
drop 6092846 ENH Improve error message in check_requires_y_none (#31481)
drop 8eabbed MAINT: remove unused local vars in mixture.gaussian_mixture.py (#31432)
pick 008d47a DOC Update About Us page (#31519)
pick 4872503 TST use global_random_seed in sklearn/feature_extraction/tests/test_image.py (#31310)
drop d4d4af8 MNT Move entropy to private function (#31294)
drop 031d2f8 FIX Draw indices using sample_weight in Bagging (#31414)
drop 1e8e01f MNT remove /take bot (#31568)
pick ffe9be7 DOC link kernel_approximation example to Nystrom and RBFSampler in User Guide (#31562)
pick fa0ce3d DOC Fix RocCurveDisplay docstring and parameter order (#31578)
pick ef70518 🔒 🤖 CI Update lock files for scipy-dev CI build(s) 🔒 🤖 (#31549)
pick c1c336a 🔒 🤖 CI Update lock files for array-api CI build(s) 🔒 🤖 (#31551)
pick 0a1abf4 🔒 🤖 CI Update lock files for free-threaded CI build(s) 🔒 🤖 (#31550)
pick bb79d6e 🔒 🤖 CI Update lock files for main CI build(s) 🔒 🤖 (#31552)
pick 64537e0 DOC: add link to the plot_mahalanobis_distances example (#31485)
pick 2e9b848 Doc add link plot robust vs empirical covariance examples (#31511)
pick 9bf3c41 DOC add link to plot_cv_predict example in cross_val_predict doc (#31504)
pick 4afccb9 MNT replace fetch_california_housing with make_regression in getting_started.rst and compose.rst (#31579)
pick 2ca6d4d DOC:Add inline example link to RFECV class docstring (#30621) (#31476)
pick e6699bf DOC change 'relation' to 'relationship' in classification_threshold (#31570)
pick 0fb2355 DOC implement responsive multi-column layout for emeritus contributors to reduce whitespace (#31565)
pick 91ffbff DOC fix formatting of intercept_scaling parameter in LogisticRegression-related docs (#31577)
pick ec1be32 BLD: use more modern way to specify license metadata (#31560)
pick 1d5e692 DOC: Improve Ridge regression example — fix typo, clarify title, add legend (#31539)
pick 107e009 FIX set CategoricalNB().__sklearn_tags__.input_tags.categorical to True (#31556)
drop dab0842 ENH: Make roc_curve array API compatible (#30878)
pick 51fae9f DOC Fix example Recursive feature elimination with cross-validation (#31516)
pick f27a26d DOC Add examples of make_scorer usage to fbeta_score docstring (#28755)
drop cccf7b4 Array API support for pairwise kernels (#29822)
pick d1479da DOC Improve older whats_new doc entries (#31589)
pick b39ab89 FIX fix comparison between array-like parameters when detecting non-default params for HTML representation (#31528)
drop cc526ee FEA Add array API support for GaussianMixture (#30777)
drop 0fc081a Fix _fill_or_add_to_diagonal when reshape returns copy (#31445)
pick 8792943 DOC Revise the math formatting for eta_0 (#31598)
drop bde701d MNT Use _add_to_diagonal in GaussianMixture (#31607)
pick 5430920 MNT Simplify inefficient regex (#31603)
pick 651a4ae GOV more pragmatic decision making process for small PRs (#31430)
pick bd60ea7 DOC Fix misleading statement about model refitting in permutation importance docs (#31596)
drop 9028b51 MNT Fix typos in pairwise tests (#31651)
pick c92330f CI Avoid Windows timeout by switching to OpenBLAS (#31641)
drop 4daff41 FIX GaussianMixture sample method to correctly handle mps (#31639)
drop f3470f8 ENH Add support for np.nan values in SplineTransformer (#28043)
pick b51965a FIX use pyarrow types in pyarrow.filter() for older pyarrow versions (#31605)
pick ba954b7 Fix make_swiss_roll docstring to resolve a copyright ambiguity (#31646)
drop 6ccb204 feat: support Intel GPUs in Array API testing (#31650)
pick 20d33d5 DOC Clarify how mixed array input types handled in array api (#31452)
drop 20b8d0b Add array API tests for pairwise_distances (#31658)
drop 0202fd3 MNT fix typo in changelog of #31414 (#31661)
drop 687e84a ENH avoid np.square(X) in enet_coordinate_descent to save memory (#31665)
pick 969ed53 DOC Fixed typo (#31667)
pick 983d982 MNT Remove deprecated iprint and disp usage in scipy 1.15 LBFGS (#31642)
drop db21513 DOC fix typo and improve whatsnew of #31665 (#31669)
pick 1aeef80 DOC fix minor typo in TimeSeriesSplit docstrings (#31640)
pick 2520ceb DOC Fix typo math formating (#31622)
pick a303122 DOC: Remove FIXME tags from glossary (#31677)
pick 02ba220 🔒 🤖 CI Update lock files for free-threaded CI build(s) 🔒 🤖 (#31629)
pick 15fac6d 🔒 🤖 CI Update lock files for array-api CI build(s) 🔒 🤖 (#31631)
pick dedcf1f BLD fix missing license file (#31594)
pick 6eeb167 MAINT: make scipy-doctest usage forward-compatible (#31609)
drop 36ef203 ENH Add array API for PolynomialFeatures (#31580)
drop aa2131f EFF Make GaussianProcessRegressor.predict faster when return_std and return_cov are false (#31431)
drop 00763ab MNT Reduce iteration over steps in _sk_visual_block_ (#29022)
pick ca28dbf 🔒 🤖 CI Update lock files for scipy-dev CI build(s) 🔒 🤖 (#31630)
pick 62c6f74 MAINT upgrade CI to cibuildwheel 3.0 (#31688)
pick 977d19d 🔒 🤖 CI Update lock files for main CI build(s) 🔒 🤖 (#31632)
pick 30816ac DOC Add Links to plot_lof_novelty_detection example (#31405)
pick d0575ec DOC Improve docstrings for scikit-learn configuration functions (#31486)
pick 41de3ca DOC Recommend setting array_api_dispatch globally in array API docs (#31687)
pick b790f5b MAINT CI cleanups and checks (#31690)
pick 54751c5 FIX wrong >= in error message in _locally_linear_embedding (#29716)
drop e9402fa ENH improve error message for string indexing on axis=0 (#31494)
pick ef1e77f Revert ":lock: :robot: CI Update lock files for main CI build(s) :lock: :robot: (#31632)" (#31691)
pick 7446009 DOC Make references to scipy modules/functions links in pairwise.py (#31694)
pick 9489ee6 DOC: Replace the tag XXX with Note in Glossary (#31710)
pick 023f9cc 🔒 🤖 CI Update lock files for scipy-dev CI build(s) 🔒 🤖 (#31713)
pick a09c4f1 🔒 🤖 CI Update lock files for array-api CI build(s) 🔒 🤖 (#31715)
pick 542ab5c DOC Fix typo in ensemble.rst (#31711)
pick 274a800 🔒 🤖 CI Update lock files for free-threaded CI build(s) 🔒 🤖 (#31714)
pick e4073ee FIX Revert tarfile_extractall clean-up (#31685)
pick 5e7e7bd 🔒 🤖 CI Update lock files for main CI build(s) 🔒 🤖 (#31716)
drop 961afc7 MNT Avoid numpy array resize refcheck in svmlight format (#31435)
pick ef82b77 BLD Use Cython's shared memoryview utility to reduce wheel size (#31151)
pick 09960fe DOC add link for Discussions in the footer (#31704)
drop cfd5f78 MNT Remove built_with_meson logic (#31718)
drop 2a7c960 TST use global_random_seed in sklearn/compose/tests/test_column_transformer.py (#31720)
pick 57df491 FIX short deprecation cycle for private module (#31500)
pick e971134 CI Move some pip_dependencies to conda_dependencies (#31623)
drop 0872e9a TST use global_random_seed in sklearn/covariance/tests/test_graphical… (#31692)
pick bd5d5f6 DOC Fix broken formatting of cohen_kappa_score docstring (#31732)
pick 8a6d613 DOC: Correct several math typos in the User Guide (#31736)
drop 953af7d TST use global_random_seed in sklearn/covariance/tests/test_covariance.py (#31734)
pick 46f5423 CI Remove constraints for scipy version in pylatest_conda_mkl_no_openmp job (#31729)
drop 4206d14 MNT little refactor and doc improvement for metadata routing consumes() methods (#31703)
pick f93e7d4 MNT Update pre-commit ruff legacy alias (#31740)
pick fc95dd2 DOC: Update a link to a research paper (#31739)
drop aed81ed MNT Add more sample weight checks in regression metric common tests (#31726)
pick f187311 Fix PandasAdapter causes crash or misattributed features (#31079)
pick 9b7a86f Fix spurious warning from type_of_target when called on estimator.classes
(#31584)
pick e4b0849 FIX Avoid fitting a pipeline without steps (#31723)
pick 6848353 Mention possibility of regression targets in warning about unique classes >50% of n_samples (#31689)
pick c47fbe3 🔒 🤖 CI Update lock files for main CI build(s) 🔒 🤖 (#31758)
pick 5dc24c0 🔒 🤖 CI Update lock files for array-api CI build(s) 🔒 🤖 (#31757)
pick 2495f8e 🔒 🤖 CI Update lock files for free-threaded CI build(s) 🔒 🤖 (#31756)
pick bab34a0 🔒 🤖 CI Update lock files for scipy-dev CI build(s) 🔒 🤖 (#31755)
pick fe6960b FIX: Regression in DecisionBoundaryDisplay.from_estimator with colors and plot_method='contour' (#31553)

Copy link

github-actions bot commented Jul 15, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 672a2dd. Link to the linter CI: here

@jeremiedbb jeremiedbb changed the base branch from main to 1.7.X July 15, 2025 15:54
@jeremiedbb jeremiedbb force-pushed the release-1.7.1 branch 3 times, most recently from d5f7c9a to 095666b Compare July 16, 2025 18:21
lesteve and others added 23 commits July 16, 2025 21:56
Co-authored-by: Lock file bot <noreply@github.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
…cikit-learn#31471)

Co-authored-by: Stefanie Senger <91849487+StefanieSenger@users.noreply.github.com>
…ator (scikit-learn#31480)

Co-authored-by: Virgil Chan <virchan.math@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
Co-authored-by: Virgil Chan <virchan.math@gmail.com>
Co-authored-by: Tim Head <betatim@gmail.com>
scikit-learn-bot and others added 27 commits July 16, 2025 22:00
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Lock file bot <noreply@github.com>
Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
…arn#31079)

Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
…sses_ (scikit-learn#31584)

Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
Co-authored-by: Lucy Liu <jliu176@gmail.com>
…sses >50% of n_samples (scikit-learn#31689)

Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
… and plot_method='contour' (scikit-learn#31553)

Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
@jeremiedbb jeremiedbb merged commit 672a2dd into scikit-learn:1.7.X Jul 17, 2025
60 of 61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.