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

&hazrulakmal [MNT] fix remaining sklearn 1.3.0 compatibility issues #4860

Merged
merged 11 commits into from Jul 11, 2023

Conversation

fkiraly
Copy link
Collaborator

@fkiraly fkiraly commented Jul 9, 2023

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.

Depends on the bugfix #4867 to ensure the specifier sklearn!=1.3.0 is handled correctly.

@fkiraly fkiraly added the maintenance Continuous integration, unit testing & package distribution label Jul 9, 2023
@fkiraly
Copy link
Collaborator Author

fkiraly commented Jul 10, 2023

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...

sktime/base/_base.py Outdated Show resolved Hide resolved
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.
…ndecy alias in `BaseEstimator` (#4868)

A quick PR to be merged with #4860
@fkiraly fkiraly changed the title [MNT] fix remaining sklearn 1.3.0 compatibility issues &hazrulakmal [MNT] fix remaining sklearn 1.3.0 compatibility issues Jul 11, 2023
@fkiraly fkiraly merged commit 8e9ad16 into main Jul 11, 2023
24 checks passed
@fkiraly fkiraly deleted the sklearn130 branch July 11, 2023 22:52
fkiraly added a commit that referenced this pull request Jul 19, 2023
Fixes #4585

Depends on #4860 for fixing
remaining issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Continuous integration, unit testing & package distribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants