From 58eccffab7c734cb99ac390d88ed16075127bdf9 Mon Sep 17 00:00:00 2001 From: Maximilian Christ Date: Fri, 7 Sep 2018 08:56:02 +0200 Subject: [PATCH] adapt changelog for 0.11.1 (#430) * adapt changelog for 0.11.1 * do not use pytest=3.8.* --- CHANGES.rst | 9 ++++++++- test-requirements.txt | 3 ++- tests/units/transformers/test_feature_augmenter.py | 10 +++++++--- tests/units/transformers/test_feature_selector.py | 2 -- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index c736b4d20..785229e33 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,10 +4,17 @@ Changelog tsfresh uses `Semantic Versioning `_ +Version 0.11.1 +============== +- general performance improvements +- removed hard pinning of dependencies +- fixed + - the stock price forecasting notebook + - the multi classification notebook + Version 0.11.0 ============== - - new feature calculators: - fft_aggregated - cid_ce diff --git a/test-requirements.txt b/test-requirements.txt index a3847937d..83c4e0f63 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,4 +1,5 @@ -pytest>=3.0.2 +# test suite fails on pytest 3.8.0 and above with internal error +pytest>=3.0.2, !=3.8.* pytest-cov>=2.3.1 pytest-xdist>=1.15.0 six>=1.10.0 diff --git a/tests/units/transformers/test_feature_augmenter.py b/tests/units/transformers/test_feature_augmenter.py index 4251f9618..34a15d7b1 100644 --- a/tests/units/transformers/test_feature_augmenter.py +++ b/tests/units/transformers/test_feature_augmenter.py @@ -16,12 +16,14 @@ def setUp(self): fc_parameters = {"length": None} self.kind_to_fc_parameters = {"a": fc_parameters.copy(), - "b": fc_parameters.copy()} + "b": fc_parameters.copy()} def test_fit_and_transform(self): augmenter = FeatureAugmenter(column_value="val", column_id="id", column_sort="sort", column_kind="kind", - kind_to_fc_parameters=self.kind_to_fc_parameters) + kind_to_fc_parameters=self.kind_to_fc_parameters, + n_jobs=0, + disable_progressbar = True) # Fit should do nothing returned_df = augmenter.fit() @@ -55,7 +57,9 @@ def test_fit_and_transform(self): def test_add_features_to_only_a_part(self): augmenter = FeatureAugmenter(column_value="val", column_id="id", column_sort="sort", column_kind="kind", - kind_to_fc_parameters=self.kind_to_fc_parameters) + kind_to_fc_parameters=self.kind_to_fc_parameters, + n_jobs=0, + disable_progressbar = True) augmenter.set_timeseries_container(self.test_df) diff --git a/tests/units/transformers/test_feature_selector.py b/tests/units/transformers/test_feature_selector.py index b806c8ed1..df42d50b6 100644 --- a/tests/units/transformers/test_feature_selector.py +++ b/tests/units/transformers/test_feature_selector.py @@ -52,7 +52,6 @@ def test_extract_relevant_features(self): returned_selector = selector.fit(X, y) self.assertIs(returned_selector, selector) - self.assertEqual(sorted(selector.relevant_features), ["rel1", "rel2", "rel3", "rel4", "rel5"]) new_X = X.copy() @@ -60,7 +59,6 @@ def test_extract_relevant_features(self): selected_X = selector.transform(new_X) self.assertEqual(sorted(selector.relevant_features), sorted(list(selected_X.columns))) - self.assertEqual(len(selector.features), len(X.columns)) def test_nothing_relevant(self):