Skip to content

Testing CI#412

Merged
adrinjalali merged 2 commits intoskops-dev:mainfrom
BenjaminBossan:check-ci-errors
Feb 29, 2024
Merged

Testing CI#412
adrinjalali merged 2 commits intoskops-dev:mainfrom
BenjaminBossan:check-ci-errors

Conversation

@BenjaminBossan
Copy link
Copy Markdown
Collaborator

Don't merge

@BenjaminBossan
Copy link
Copy Markdown
Collaborator Author

For latest sklearn, tests fail with:

from sklearn.utils import parse_version
E ImportError: cannot import name 'parse_version' from 'sklearn.utils' (/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/sklearn/utils/init.py)

@adrinjalali
Copy link
Copy Markdown
Member

@BenjaminBossan you working on a fix?

@BenjaminBossan
Copy link
Copy Markdown
Collaborator Author

So changing the import a bit seems to fix the issue. CI is still red thanks to codecov.

The PR that broke the import is scikit-learn/scikit-learn#28486.

In an associated thread, someone wrote some wise words: scikit-learn/scikit-learn#26686 (review)

Copy link
Copy Markdown
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've hard coded the token for codecov in plain text, why is it empty lolol. Thanks for the fix @BenjaminBossan

@adrinjalali adrinjalali marked this pull request as ready for review February 29, 2024 07:22
@adrinjalali adrinjalali merged commit 2992413 into skops-dev:main Feb 29, 2024
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

Successfully merging this pull request may close these issues.

2 participants