Skip to content

Release 1.5.1 #29382

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 80 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
db5f70d
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot May 20, 2024
17e7c58
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot May 20, 2024
0b16f3a
DOC Add plot face recognition example to API docs (#29049)
ojoaomorais May 20, 2024
5d7140c
DOC fix APIs marked incorrectly as deprecated (#29059)
Charlie-XIAO May 21, 2024
9819585
DOC do not recommend a particular Python version (#29071)
ogrisel May 22, 2024
40cb533
BLD Fix another meson.build dependency (#29068)
lesteve May 22, 2024
bc63491
DOC Removing warnings from plot CV examples (#29072)
ojoaomorais May 22, 2024
2ae7df1
FIX GridSearchCV regression in 1.5 with parameter grid with heterogen…
lesteve May 23, 2024
b254b0f
BLD Fix yet another meson.build dependency (#29087)
lesteve May 23, 2024
8481edc
FIX avoid warning in input validation with array_api_strict (#29086)
ogrisel May 23, 2024
120473b
DOC temporary fix for search summary (#29090)
Charlie-XIAO May 24, 2024
cfeb229
MNT DOC deprecation note in docstring of PassiveAggressive Classifier…
lorentzenchr May 24, 2024
1d19af9
MAINT Require meson-python >= 0.16 and remove temporary work-arounds …
lesteve May 24, 2024
eb7274b
DOC add link to gradient_boosting_regression plot in _gp.py (#29058)
shroffp05 May 25, 2024
1cb8fd4
DOC Add link to AgglomerativeClustering example in docs (#28922)
julian-8897 May 25, 2024
1e130ce
DOC Added link to plot_adaboost_regression.py example (#28997)
priyansh16 May 25, 2024
ce389de
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot May 27, 2024
6e81793
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot May 27, 2024
96a165a
DOC Removing warnings from plot_iris_dtc (#29109)
ojoaomorais May 27, 2024
de254e5
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot May 27, 2024
62124b6
DOC Removing warnings from plot_sgd_iris example (#29121)
ojoaomorais May 28, 2024
ea121c3
FIX always return None as device when array API dispatch is disabled …
ogrisel May 28, 2024
c955e25
DOC Removing warnings from plot_logistic_multinomial examples (#29120)
ojoaomorais May 28, 2024
0c34458
DOC improve contributing docs (#29126)
Charlie-XIAO May 28, 2024
2afc602
DOC reflect deprecations in 1.5 on API page (#29125)
Charlie-XIAO May 29, 2024
be32b3c
DOC Remove unneeded html_show_search_summary since True is the defaul…
lesteve May 31, 2024
edb8089
DOC bump `pydata-sphinx-theme` to 0.15.3 (#29134)
Charlie-XIAO May 31, 2024
6fe3e8b
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Jun 3, 2024
e01d210
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Jun 3, 2024
d8b99b0
DOC Fix typo in logistic regression predict_proba docstring (#29162)
baggiponte Jun 3, 2024
e2b1053
DOC fix digits dataset link (#29161)
yareyaredesuyo Jun 3, 2024
6a40830
BLD Use work-around for partial recompilation when building with Meso…
lesteve Jun 3, 2024
feb5745
DOC Remove warning from plot adaboost twoclass example (#29188)
aflanders7 Jun 5, 2024
7fb749d
DOC Remove warning from plot svm margin example (#29187)
aflanders7 Jun 5, 2024
b176d5a
MAINT Update pyodide to 0.26.0 (#29181)
thomasjpfan Jun 5, 2024
264ca8b
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Jun 5, 2024
532b87d
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Jun 5, 2024
10f8e2b
DOC remove tutorials (#29104)
adrinjalali Jun 5, 2024
d39f065
FIX fix regression in gridsearchcv when parameter grids have estimato…
MarcoGorelli Jun 5, 2024
d04bdae
CI Create environment with conda rather than conda-lock when possible…
lesteve Jun 6, 2024
de9059f
DOC Added references to the Matthews correlation coefficient function…
davidechicco Jun 6, 2024
f01abe3
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Jun 6, 2024
8cc1035
CI update lock file and use _safe_indexing to select 0-column datafra…
glemaitre Jun 6, 2024
90a6027
CI Update upload-artifact and download-artifact to v4 (#29211)
lesteve Jun 7, 2024
60448d1
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Jun 10, 2024
1634f23
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot Jun 10, 2024
c0a1542
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Jun 10, 2024
0ec8e7c
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Jun 10, 2024
0b98962
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot Jun 10, 2024
b26d2b6
DOC add link for NearestCentroid example (#28984)
J-Enblom Jun 10, 2024
df38ec2
DOC add example with ``set_params``. (#29243)
m-maggi Jun 13, 2024
acd91d4
FIX Lazy instantiate the ThreadpoolController (#29235)
jeremiedbb Jun 13, 2024
0f3ed7b
MAINT Fix typo in error message when attempting to cluster with more …
jcainey Jun 14, 2024
1d0b2e2
DOC use semilogx in lasso paths (#29264)
mathurinm Jun 15, 2024
98a51dc
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Jun 17, 2024
bfc56d6
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Jun 17, 2024
d1c46ad
MAINT switch to macOS 12 on Azure Pipelines (#29281)
ogrisel Jun 17, 2024
60c2dea
CI Update action that got moved org (#29284)
bsipocz Jun 18, 2024
c647599
CI Fix build nightly wheels upload (#29295)
lesteve Jun 19, 2024
d60e757
CI Trigger wheels build on workflow_dispatch (#29297)
lesteve Jun 19, 2024
0749ef3
MAINT upload wheels to scientific-python-nightly-wheels on workflow_d…
lesteve Jun 19, 2024
0e2dcae
DOC Add guidelines for automated contributions (#29287)
ArturoAmorQ Jun 19, 2024
66bc8c4
TST Relax `test_minibatch_sensible_reassign` to avoid CI failures wit…
lesteve Jun 20, 2024
a9823c7
FEA Add writeable parameter to check_array (#29018)
jeremiedbb Jun 20, 2024
3a6cf22
FIX missing force_writeable in KernelCenterer.transform (#29328)
ogrisel Jun 21, 2024
a3825ea
FIX Work around likely SIMD issue in tree export on 32bit OS (#29327)
lesteve Jun 21, 2024
7b98412
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Jun 24, 2024
16dcc91
DOC TimeSeriesSplit training set size formula precision (#28322)
ZiadAmerr Jun 24, 2024
a2a3270
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Jun 26, 2024
fd3ea92
BLD Use NPY_NO_DEPRECATED_API in meson.build to mirror setup.py (#29357)
lesteve Jun 27, 2024
25e0129
MAINT Pin the ruff version on CI linters (#29359)
ogrisel Jun 28, 2024
b1a4f25
Fix performance regression in ColumnTransformer (#29330)
jeremiedbb Jun 28, 2024
1a57717
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Jul 1, 2024
caf3913
Fix a regression in GridSearchCV for parameter grids that have arrays…
MarcoGorelli Jul 1, 2024
a894402
ENH Add Array API compatibility to `cosine_similarity` (#29014)
EdAbati May 17, 2024
7326090
FIX `zero_one_loss` breaks with multilabel and Array API (#29269)
Tialo Jun 20, 2024
c4f616c
FIX: `accuracy` and `zero_loss` support for multilabel with Array API…
EdAbati Jul 2, 2024
b2f469d
DOC Set 1.5.1 release month (#29377)
jeremiedbb Jul 1, 2024
76c4376
DOC Add missing PR number in changelog entry (#29384)
jeremiedbb Jul 2, 2024
865735b
Bump version [cd build]
jeremiedbb Jul 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
command: |
source build_tools/shared.sh
# Include pytest compatibility with mypy
pip install pytest ruff $(get_dep mypy min) $(get_dep black min) cython-lint
pip install pytest $(get_dep ruff min) $(get_dep mypy min) $(get_dep black min) cython-lint
- run:
name: linting
command: ./build_tools/linting.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/artifact-redirector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Run CircleCI artifacts redirector
steps:
- name: GitHub Action step
uses: larsoner/circleci-artifacts-redirector-action@master
uses: scientific-python/circleci-artifacts-redirector-action@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
api-token: ${{ secrets.CIRCLECI_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
source build_tools/shared.sh
# Include pytest compatibility with mypy
pip install pytest ruff $(get_dep mypy min) $(get_dep black min) cython-lint
pip install pytest $(get_dep ruff min) $(get_dep mypy min) $(get_dep black min) cython-lint
# we save the versions of the linters to be used in the error message later.
python -c "from importlib.metadata import version; print(f\"ruff={version('ruff')}\")" >> /tmp/versions.txt
python -c "from importlib.metadata import version; print(f\"mypy={version('mypy')}\")" >> /tmp/versions.txt
Expand All @@ -52,7 +52,7 @@ jobs:

- name: Upload Artifact
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lint-log
path: |
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:

- name: Download artifact
id: download-artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lint-log

Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,9 @@ jobs:
run: bash build_tools/wheels/build_wheels.sh

- name: Store artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: cibw-wheels-cp${{ matrix.python }}-${{ matrix.platform_id }}
path: wheelhouse/*.whl

update-tracker:
Expand Down Expand Up @@ -215,8 +216,9 @@ jobs:
SKLEARN_SKIP_NETWORK_TESTS: 1

- name: Store artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: cibw-sdist
path: dist/*.tar.gz

# Upload the wheels and the source distribution
Expand All @@ -233,9 +235,11 @@ jobs:
uses: actions/checkout@v3

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
pattern: cibw-*
path: dist
merge-multiple: true

- name: Setup Python
uses: actions/setup-python@v5
Expand All @@ -245,6 +249,6 @@ jobs:
# Secret variables need to be mapped to environment variables explicitly
SCIKIT_LEARN_NIGHTLY_UPLOAD_TOKEN: ${{ secrets.SCIKIT_LEARN_NIGHTLY_UPLOAD_TOKEN }}
SCIKIT_LEARN_STAGING_UPLOAD_TOKEN: ${{ secrets.SCIKIT_LEARN_STAGING_UPLOAD_TOKEN }}
ARTIFACTS_PATH: dist/artifact
ARTIFACTS_PATH: dist
# Force a replacement if the remote file already exists
run: bash build_tools/github/upload_anaconda.sh
10 changes: 5 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- bash: |
source build_tools/shared.sh
# Include pytest compatibility with mypy
pip install pytest ruff $(get_dep mypy min) $(get_dep black min) cython-lint
pip install pytest $(get_dep ruff min) $(get_dep mypy min) $(get_dep black min) cython-lint
displayName: Install linters
- bash: |
./build_tools/linting.sh
Expand Down Expand Up @@ -126,9 +126,9 @@ jobs:
# Need to match Python version and Emscripten version for the correct
# Pyodide version. For example, for Pyodide version 0.25.1, see
# https://github.com/pyodide/pyodide/blob/0.25.1/Makefile.envs
PYODIDE_VERSION: '0.25.1'
EMSCRIPTEN_VERSION: '3.1.46'
PYTHON_VERSION: '3.11.3'
PYODIDE_VERSION: '0.26.0'
EMSCRIPTEN_VERSION: '3.1.58'
PYTHON_VERSION: '3.12.1'

dependsOn: [git_commit, linting]
condition: |
Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:
- template: build_tools/azure/posix.yml
parameters:
name: macOS
vmImage: macOS-11
vmImage: macOS-12
dependsOn: [linting, git_commit, Ubuntu_Jammy_Jellyfish]
# Runs when dependencies succeeded or skipped
condition: |
Expand Down
6 changes: 3 additions & 3 deletions build_tools/azure/debian_atlas_32bit_lock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
#
attrs==23.2.0
# via pytest
coverage==7.5.1
coverage==7.5.3
# via pytest-cov
cython==3.0.10
# via -r build_tools/azure/debian_atlas_32bit_requirements.txt
iniconfig==2.0.0
# via pytest
joblib==1.2.0
# via -r build_tools/azure/debian_atlas_32bit_requirements.txt
meson==1.4.0
meson==1.4.1
# via meson-python
meson-python==0.16.0
# via -r build_tools/azure/debian_atlas_32bit_requirements.txt
ninja==1.11.1.1
# via -r build_tools/azure/debian_atlas_32bit_requirements.txt
packaging==24.0
packaging==24.1
# via
# meson-python
# pyproject-metadata
Expand Down
7 changes: 1 addition & 6 deletions build_tools/azure/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,7 @@ check_packages_dev_version() {

python_environment_install_and_activate() {
if [[ "$DISTRIB" == "conda"* ]]; then
# Install/update conda with the libmamba solver because the legacy
# solver can be slow at installing a specific version of conda-lock.
conda install -n base conda conda-libmamba-solver -y
conda config --set solver libmamba
conda install -c conda-forge "$(get_dep conda-lock min)" -y
conda-lock install --name $VIRTUALENV $LOCK_FILE
create_conda_environment_from_lock_file $VIRTUALENV $LOCK_FILE
source activate $VIRTUALENV

elif [[ "$DISTRIB" == "ubuntu" || "$DISTRIB" == "debian-32" ]]; then
Expand Down
Loading