Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 05dc38f

Browse filesBrowse files
glemaitrelesteve
andauthored
REL scikit-learn 1.4.1.post1 (#28423)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
1 parent cf02653 commit 05dc38f
Copy full SHA for 05dc38f

File tree

Expand file treeCollapse file tree

4 files changed

+15
-4
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+15
-4
lines changed

‎doc/templates/index.html

Copy file name to clipboardExpand all lines: doc/templates/index.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ <h4 class="sk-landing-call-header">News</h4>
169169
<li><strong>On-going development:</strong>
170170
<a href="whats_new/v1.5.html#version-1-5-0">scikit-learn 1.5 (Changelog)</a>
171171
</li>
172-
<li><strong>February 2024.</strong> scikit-learn 1.4.1 is available for download (<a href="whats_new/v1.4.html#version-1-4-1">Changelog</a>).
172+
<li><strong>February 2024.</strong> scikit-learn 1.4.1.post1 is available for download (<a href="whats_new/v1.4.html#version-1-4-1-post1">Changelog</a>).
173173
</li>
174174
<li><strong>January 2024.</strong> scikit-learn 1.4.0 is available for download (<a href="whats_new/v1.4.html#version-1-4-0">Changelog</a>).
175175
</li>

‎doc/whats_new/v1.4.rst

Copy file name to clipboardExpand all lines: doc/whats_new/v1.4.rst
+7-2Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,16 @@ For a short description of the main highlights of the release, please refer to
1515

1616
.. _changes_1_4_1:
1717

18-
Version 1.4.1
19-
=============
18+
Version 1.4.1.post1
19+
===================
2020

2121
**February 2024**
2222

23+
.. note::
24+
The 1.4.1.post1 release includes a packaging fix requiring `numpy<2` to account for
25+
incompatibilities with NumPy 2.0 ABI. Note that the 1.4.1 release is not available
26+
on PyPI and conda-forge.
27+
2328
Metadata Routing
2429
----------------
2530

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,12 @@ def setup_package():
614614
},
615615
)
616616

617+
# Overwrite the dependencies to not allow for NumPy >= 2.0
618+
metadata["install_requires"] = [
619+
f"{dep},<2.0" if dep.startswith("numpy") else dep
620+
for dep in metadata["install_requires"]
621+
]
622+
617623
commands = [arg for arg in sys.argv[1:] if not arg.startswith("-")]
618624
if not all(
619625
command in ("egg_info", "dist_info", "clean", "check") for command in commands

‎sklearn/__init__.py

Copy file name to clipboardExpand all lines: sklearn/__init__.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# Dev branch marker is: 'X.Y.dev' or 'X.Y.devN' where N is an integer.
4343
# 'X.Y.dev0' is the canonical version of 'X.Y.dev'
4444
#
45-
__version__ = "1.4.1"
45+
__version__ = "1.4.1.post1"
4646

4747

4848
# On OSX, we can get a runtime error due to multiple OpenMP libraries loaded

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.