Skip to content
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

REL scikit-learn 1.4.1.post1 #28423

Merged
merged 5 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ <h4 class="sk-landing-call-header">News</h4>
<li><strong>On-going development:</strong>
<a href="whats_new/v1.5.html#version-1-5-0">scikit-learn 1.5 (Changelog)</a>
</li>
<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>).
<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">Changelog</a>).
lesteve marked this conversation as resolved.
Show resolved Hide resolved
</li>
<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>).
</li>
Expand Down
9 changes: 7 additions & 2 deletions doc/whats_new/v1.4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,16 @@ For a short description of the main highlights of the release, please refer to

.. _changes_1_4_1:

Version 1.4.1
=============
Version 1.4.1.post1
===================

**February 2024**

.. note::
The 1.4.1.post1 release includes a packaging fix requiring `numpy<2` to account for
incompatibilities with NumPy 2.0 ABI. Note that the 1.4.1 release is not available
on PyPI and conda-forge.

Metadata Routing
----------------

Expand Down
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,12 @@ def setup_package():
},
)

# Overwrite the dependencies to not allow for NumPy >= 2.0
metadata["install_requires"] = [
f"{dep},<2.0" if dep.startswith("numpy") else dep
for dep in metadata["install_requires"]
]

commands = [arg for arg in sys.argv[1:] if not arg.startswith("-")]
if not all(
command in ("egg_info", "dist_info", "clean", "check") for command in commands
Expand Down
2 changes: 1 addition & 1 deletion sklearn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# Dev branch marker is: 'X.Y.dev' or 'X.Y.devN' where N is an integer.
# 'X.Y.dev0' is the canonical version of 'X.Y.dev'
#
__version__ = "1.4.1"
__version__ = "1.4.1.post1"


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