-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
& yarnabrina [ENH] prevent imports in
_check_soft_dependencies
(#340)
The `_check_soft_dependencies` utility had inefficiencies and side effects, because to check the soft dependency being present, an import would be attempted, which can lead to circular imports or casacding imports. This PR replaces the logic with an import-free check. It also deprecates the argument `suppress_import_stdout`, as there is no longer any import, hence no `stdout` output that would be created. Mirror of sktime/sktime#6355 which includes contributions by @yarnabrina, and of sktime/sktime#6719
- Loading branch information
Showing
2 changed files
with
202 additions
and
66 deletions.
There are no files selected for viewing
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
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