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

Update scikit-learn version requirement to support v1.6.0 #1407

Open
marta-guimaraes opened this issue Jan 7, 2025 · 0 comments
Open

Update scikit-learn version requirement to support v1.6.0 #1407

marta-guimaraes opened this issue Jan 7, 2025 · 0 comments

Comments

@marta-guimaraes
Copy link

Hello!

I’ve encountered a compatibility issue with the current install_requires setting in the setup.py file:

install_requires=[
    ...
    "scikit-learn>=1.0.1,<1.6.0",
]

The upper limit (<1.6.0) prevents the use of the latest stable version of scikit-learn (1.6.0). This creates conflicts in projects where scikit-learn is already updated to the latest version.


Note:
Previously, the function sklearn.metrics.mean_squared_error allowed the RMSE calculation with the argument squared=True. However, in scikit-learn 1.6.0, the squared argument has been removed. Instead, a dedicated function, sklearn.metrics.root_mean_squared_error, has been introduced.

Admittedly, such a breaking change in a minor version release (1.6.0) was unexpected, as this would typically be reserved for a major version update. Regardless, it impacts the compatibility between evidently and scikit-learn in its latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant