Skip to content

Commit 6086c9c

Browse files
authored
Merge branch 'scikit-learn:main' into submodulev3
2 parents 679c9a2 + 457b02c commit 6086c9c

File tree

96 files changed

+1803
-647
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+1803
-647
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ sklearn/metrics/_pairwise_distances_reduction/_middle_term_computer.pxd
9999
sklearn/metrics/_pairwise_distances_reduction/_middle_term_computer.pyx
100100
sklearn/metrics/_pairwise_distances_reduction/_radius_neighbors.pxd
101101
sklearn/metrics/_pairwise_distances_reduction/_radius_neighbors.pyx
102+
sklearn/metrics/_pairwise_distances_reduction/_radius_neighbors_classmode.pyx
102103
sklearn/neighbors/_ball_tree.pyx
103104
sklearn/neighbors/_binary_tree.pxi
104105
sklearn/neighbors/_kd_tree.pyx

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
| Version | Supported |
66
| --------- | ------------------ |
7-
| 1.3.0 | :white_check_mark: |
8-
| < 1.3.0 | :x: |
7+
| 1.3.1 | :white_check_mark: |
8+
| < 1.3.1 | :x: |
99

1010
## Reporting a Vulnerability
1111

asv_benchmarks/asv.conf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@
7272
// followed by the pip installed packages).
7373
//
7474
// The versions of the dependencies should be bumped in a dedicated commit
75-
// to easily identify regressions/imrovements due to code changes from
75+
// to easily identify regressions/improvements due to code changes from
7676
// those due to dependency changes.
7777
//
7878
"matrix": {
7979
"numpy": ["1.25.2"],
8080
"scipy": ["1.11.2"],
81-
"cython": ["0.29.36"],
81+
"cython": ["3.0.2"],
8282
"joblib": ["1.3.2"],
8383
"threadpoolctl": ["3.2.0"],
8484
"pandas": ["2.1.0"]

build_tools/circle/doc_environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
- joblib
1313
- threadpoolctl
1414
- matplotlib
15-
- pandas
15+
- pandas<2.1
1616
- pyamg
1717
- pytest
1818
- pytest-xdist=2.5.0

build_tools/circle/doc_linux-64_conda.lock

Lines changed: 94 additions & 92 deletions
Large diffs are not rendered by default.

build_tools/generate_authors_table.py

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,23 @@ def get_contributors():
8989
core_devs # remove ogrisel from contributor_experience_team
9090
)
9191

92-
emeritus = members - core_devs - contributor_experience_team - comm_team
92+
emeritus = (
93+
members
94+
- core_devs
95+
- contributor_experience_team
96+
- comm_team
97+
- documentation_team
98+
)
9399

94100
# hard coded
101+
emeritus_contributor_experience_team = {
102+
"cmarmo",
103+
}
95104
emeritus_comm_team = {"reshamas"}
96105

106+
# Up-to-now, we can subtract the team emeritus from the original emeritus
107+
emeritus -= emeritus_contributor_experience_team | emeritus_comm_team
108+
97109
comm_team -= {"reshamas"} # in the comm team but not on the web page
98110

99111
# get profiles from GitHub
@@ -102,6 +114,9 @@ def get_contributors():
102114
contributor_experience_team = [
103115
get_profile(login) for login in contributor_experience_team
104116
]
117+
emeritus_contributor_experience_team = [
118+
get_profile(login) for login in emeritus_contributor_experience_team
119+
]
105120
comm_team = [get_profile(login) for login in comm_team]
106121
emeritus_comm_team = [get_profile(login) for login in emeritus_comm_team]
107122
documentation_team = [get_profile(login) for login in documentation_team]
@@ -110,6 +125,9 @@ def get_contributors():
110125
core_devs = sorted(core_devs, key=key)
111126
emeritus = sorted(emeritus, key=key)
112127
contributor_experience_team = sorted(contributor_experience_team, key=key)
128+
emeritus_contributor_experience_team = sorted(
129+
emeritus_contributor_experience_team, key=key
130+
)
113131
documentation_team = sorted(documentation_team, key=key)
114132
comm_team = sorted(comm_team, key=key)
115133
emeritus_comm_team = sorted(emeritus_comm_team, key=key)
@@ -118,6 +136,7 @@ def get_contributors():
118136
core_devs,
119137
emeritus,
120138
contributor_experience_team,
139+
emeritus_contributor_experience_team,
121140
comm_team,
122141
emeritus_comm_team,
123142
documentation_team,
@@ -188,6 +207,7 @@ def generate_list(contributors):
188207
core_devs,
189208
emeritus,
190209
contributor_experience_team,
210+
emeritus_contributor_experience_team,
191211
comm_team,
192212
emeritus_comm_team,
193213
documentation_team,
@@ -206,6 +226,13 @@ def generate_list(contributors):
206226
) as rst_file:
207227
rst_file.write(generate_table(contributor_experience_team))
208228

229+
with open(
230+
REPO_FOLDER / "doc" / "contributor_experience_team_emeritus.rst",
231+
"w+",
232+
encoding="utf-8",
233+
) as rst_file:
234+
rst_file.write(generate_list(emeritus_contributor_experience_team))
235+
209236
with open(
210237
REPO_FOLDER / "doc" / "communication_team.rst", "w+", encoding="utf-8"
211238
) as rst_file:

build_tools/update_environments_and_lock_files.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,9 @@ def remove_from(alist, to_remove):
323323
# Regression have been observed with Cython>=3.0.0.
324324
# See: https://github.com/scikit-learn/scikit-learn/issues/27086
325325
"cython": "<3.0.0",
326+
# seaborn 0.12.2 raises deprecation warnings appearing in the documentation
327+
# We should remove this constraint when seaborn 0.13 is released
328+
"pandas": "<2.1",
326329
},
327330
},
328331
{

doc/authors_emeritus.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
- Wei Li
2121
- Paolo Losi
2222
- Gilles Louppe
23-
- Chiara Marmo
2423
- Vincent Michel
2524
- Jarrod Millman
2625
- Alexandre Passos

doc/computing/parallelism.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ using environment variables, namely:
114114
Note that BLAS & LAPACK implementations can also be impacted by
115115
`OMP_NUM_THREADS`. To check whether this is the case in your environment,
116116
you can inspect how the number of threads effectively used by those libraries
117-
is affected when running the the following command in a bash or zsh terminal
117+
is affected when running the following command in a bash or zsh terminal
118118
for different values of `OMP_NUM_THREADS`::
119119

120120
.. prompt:: bash $

doc/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,6 @@ def setup(app):
701701
),
702702
)
703703

704-
705704
# maps functions with a class name that is indistinguishable when case is
706705
# ignore to another filename
707706
autosummary_filename_map = {

0 commit comments

Comments
 (0)