DeprecationWarning: `_get_shared_lib_location` is deprecated
khrapovs opened this issue · comments
Describe the bug
functime/feature_extractors.py:36: DeprecationWarning: `_get_shared_lib_location` is deprecated. It will be removed in the next breaking release. The new `register_plugin_function` function has this functionality built in. Use `from polars.plugins import register_plugin_function` to import that function. Check the user guide for the currently-recommended way to register a plugin: https://docs.pola.rs/user-guide/expressions/plugins
lib = _get_shared_lib_location(__file__)
To Reproduce
File functime_test.py
from functime.feature_extractors import FeatureExtractor
In terminal:
pytest functime_test.py
Expected behavior
No DeprecationWarning
is reported.
Desktop (please complete the following information):
- MacOSX 14.5
- Python 3.12.2
functime==0.9.5