Skip to content

Commit

Permalink
BLD: Prevent Scikit-learn 1.6.0
Browse files Browse the repository at this point in the history
This version introduced the method __sklearn_tags__(),
but it currently seems broken.  Many tests run into calls for:

env\Lib\site-packages\sklearn\utils\_tags.py:396: in get_tags
    tags = estimator.__sklearn_tags__()

E AttributeError: 'super' object has no attribute '__sklearn_tags__'
  • Loading branch information
Jacob-Stevens-Haas committed Dec 20, 2024
1 parent 42e12e7 commit f60cba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ classifiers = [
readme = "README.rst"
dependencies = [
"jax>=0.4,<0.5",
"scikit-learn>=1.1, !=1.5.0",
"scikit-learn>=1.1, !=1.5.0, !=1.6.0",
"derivative>=0.6.2",
"typing_extensions",
]
Expand Down

0 comments on commit f60cba9

Please sign in to comment.