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
&hazrulakmal [MNT] fix remaining sklearn 1.3.0
compatibility issues
#4860
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fkiraly
added
the
maintenance
Continuous integration, unit testing & package distribution
label
Jul 9, 2023
fkiraly
requested review from
achieveordie,
benHeid and
yarnabrina
as code owners
July 10, 2023 23:54
FYI @hazrulakmal, this is where I needed your PR #4832 Bit ironic given that a few days ago we were talking about how rare those aliases were... |
hazrulakmal
requested changes
Jul 11, 2023
fkiraly
pushed a commit
that referenced
this pull request
Jul 11, 2023
…es with version speciefier and alias (#4867) In response to #4820 and maintainance in #4860, The current test_softdepds does not account for package versions and aliases. It only checks if dependencies can be imported using the package name via `import_modules` that only captures cases like "pmdarima" but not "pmdarmia<1.3". This resulted in failures if the **python_dependencies** tag had a package version bound or a different import name. This PR leverages `_check_soft_dependencies` to account for the drawbacks.
fkiraly
changed the title
[MNT] fix remaining
&hazrulakmal [MNT] fix remaining Jul 11, 2023
sklearn 1.3.0
compatibility issuessklearn 1.3.0
compatibility issues
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There are some remaining compatibility issues from the
sklearn 1.3.0
release which the pre-release testing did not catch. See #4778. This PR fixes those.ElasticEnsemble
instantiatedsklearn
RandomizedSearchCV
withfloat
n_iter
, which sets off the parameter validation since 1.3.0. Fixed by coercing toint
(rounding down)MatrixProfileClassifier
fails due tosklearn
bug AttributeError "Flags object has no attribute 'c_contiguous'" when using KNeighborsClassifier predict scikit-learn/scikit-learn#26768. This is 1.3.0 specific and appears fixed for (not yet released) 1.3.1, so added ansklearn!=1.3.0
version requirement forMatrixProfileClassifier
Depends on the bugfix #4867 to ensure the specifier
sklearn!=1.3.0
is handled correctly.