Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update requirements #1335

Merged
merged 2 commits into from
Dec 8, 2023
Merged

Update requirements #1335

merged 2 commits into from
Dec 8, 2023

Conversation

gatl
Copy link
Contributor

@gatl gatl commented Dec 8, 2023

Due to the use of the decorator
sklearn.utils.metaestimators.available_if() by TPOT, declare as the minimum version required of scikit-learn the version that introduced this decorator, that was 1.0.

What does this PR do?

Update the requirements for TPOT.

Where should the reviewer start?

This is just a value change.

How should this PR be tested?

Verify that TPOT no longer works with scikit-learn version 0.22.0 or any other version prior to 1.0, but it works with version 1.0 and above.

Any background context you want to provide?

I think none is needed.

What are the relevant issues?

There are none, other than TPOT failing to work when all its stated requirements are satisfied.

Screenshots (if appropriate)

None is provided.

Questions:

  • Do the docs need to be updated?

I think there is one reference that would benefit of attention in the installation section, despite referring to dask.

  • Does this PR add new (Python) dependencies?

No, it does not.

Due to the use of the decorator 
sklearn.utils.metaestimators.available_if() by TPOT, declare as the minimum version required of scikit-learn the version that introduced this decorator, that was 1.0.
@perib
Copy link
Contributor

perib commented Dec 8, 2023

The setup.py file should also be updated to match. If you can make that change, I can merge this.
Thanks for the contribution!

@perib perib merged commit 3986144 into EpistasisLab:master Dec 8, 2023
@gatl
Copy link
Contributor Author

gatl commented Dec 8, 2023

Oh, sorry. Right.
But now I see you did it already. Thanks.

@gatl gatl deleted the patch-2 branch December 12, 2023 16:51
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants