Skip to content

Commit

Permalink
🙏
Browse files Browse the repository at this point in the history
  • Loading branch information
jvdd committed Apr 23, 2024
1 parent 69b43cb commit e45f627
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pyarrow = [
{ version = ">=15", python = ">=3.8"}
]
# Temporarily lock this version to avoid Windows install error
pycatch22 = { version = ">=0.4", platform = "~win32" }
pycatch22 = { version = ">=0.4", markers = "sys_platform != 'win32'" }
antropy = [
{ version = "^0.1.5", python = "<3.8" },
{ version = ">=0.1.6", python = ">=3.8" }
Expand Down
4 changes: 4 additions & 0 deletions tests/test_features_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,10 @@ def test_tsfel_feature_dict_wrapper(dummy_data):
## CATCH22


@pytest.mark.skipif(
sys.platform == "win32",
reason="latest version of pycatch22 (0.4.4) fails to install on Windows",
)
def test_catch22_all_features(dummy_data):
# Tests if we integrate with the catch22 features
from pycatch22 import catch22_all
Expand Down
2 changes: 1 addition & 1 deletion tsflex/features/integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def tsfresh_settings_wrapper(settings: Dict) -> List[Union[Callable, FuncWrapper


# -------------------------------------CATCH22 -------------------------------------
def catch22_wrapper(catch22_all: Callable, **kwargs) -> FuncWrapper:
def catch22_wrapper(catch22_all: Callable, **kwargs) -> FuncWrapper: # type: ignore[no-untyped-def]
"""Wrapper enabling compatibility with catch22.
[catch22](https://github.com/chlubba/catch22) is a collection of 22 time series
Expand Down

0 comments on commit e45f627

Please sign in to comment.