Skip to content

Commit 38f3fce

Browse files
committed
v0.21.9
IssueID #5630: v0.21.9 - Adding new version based on blue-yonder/tsfresh-v0.21.0 - Added new baseline - Hardcoded TSFRESH_BASELINE_VERSION = '0.21.9' in tests Added: tests/baseline/last_run.0.21.9.py3.data.json.features.transposed.csv tests/baseline/tsfresh-0.21.9.py3.data.json.features.transposed.csv Modified: .gitignore AUTHORS.rst CHANGES.rst README.md docs/text/how_to_contribute.rst setup.cfg tests/baseline/tsfresh_features_test.py tsfresh/feature_extraction/feature_calculators.py
1 parent e015fce commit 38f3fce

File tree

13 files changed

+755
-226
lines changed

13 files changed

+755
-226
lines changed

.github/workflows/benchmark_default_branch.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

.github/workflows/test_all.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,9 @@ tsfresh/notebooks/data/
6161
# dask
6262
dask-worker-space
6363
dask-worker-space/
64+
65+
# python version files
66+
.python_version
67+
68+
# tox log files
69+
.tox

AUTHORS.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Contributions
5858
- HaveF
5959
- He Kaisheng
6060
- Henry Swaffield
61+
- Igor Pechersky
6162
- J. Kleint
6263
- James Myatt
6364
- Jean-Francois Zinque
@@ -91,6 +92,7 @@ Contributions
9192
- Roman Yurchak
9293
- Roy Wedge
9394
- Sarius2009
95+
- Scott Simmons
9496
- Sean M. Law
9597
- Sergey Shepelev
9698
- Soledad Galli

CHANGES.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ Changelog
44

55
tsfresh uses `Semantic Versioning <http://semver.org/>`_
66

7+
Version 0.21.9 - earthgecko/tsfresh based on blue-yonder/tsfresh-v0.21.0
8+
========================================================================
9+
- Updated version for Skyline compatibility
10+
11+
Version 0.21.0
12+
==============
13+
- Breaking Change
14+
- Drop support for python 3.7 and 3.8 (#1100)
15+
- Bugfixes/Typos/Documentation:
16+
- Fix incompatibility with scipy versions 1.15 and higher by relying on the
17+
``pywavelets`` package for cwt (#1097)
18+
- Improve code quality of feature extractors (#1103)
19+
- Improve developer experience with tox, bisect and docker (#1093, #994, #1102)
20+
721
Version 0.20.3-skyline - earthgecko/tsfresh based on blue-yonder/tsfresh-v0.20.3
822
================================================================================
923

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Version mappings to which blueyonder/tsfresh the earthgecko/tsfresh version is b
3030
blueyonder/tsfresh-v0.17.1 -> earthgecko/tsfresh-v0-17.9
3131
blueyonder/tsfresh-v0.20.0 -> earthgecko/tsfresh-v0-19.1
3232
blueyonder/tsfresh-v0.20.3 -> earthgecko/tsfresh-v0-20.3-skyline
33+
blueyonder/tsfresh-v0.21.0 -> earthgecko/tsfresh-v0-21.9
3334

3435
It must be noted that the results of the features calculations will change in decimal precision or decimal values
3536
between Python versions, library versions and even machines. These changes are acceptable from a Skyline perspective and are

docs/text/how_to_contribute.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,29 @@ you have to:
6767
pytest
6868
6969
70+
To test changes across multiple versions of Python, run:
71+
72+
73+
.. code::
74+
75+
tox -r -p auto
76+
77+
78+
This will execute tests for the Python versions specified in `setup.cfg <https://github.com/blue-yonder/tsfresh/blob/main/setup.cfg>`_ using the `envlist` variable. For example, if `envlist` is set to `py37, py38`, the test suite will run for Python 3.7 and 3.8 on the local development platform, assuming the binaries for those versions are available locally. The exact Python microversions (e.g. `3.7.1` vs `3.7.2`) depend on what is installed on the local development machine.
79+
80+
A recommended way to manage multiple Python versions when testing locally is with `pyenv`, which enables organized installation and switching between versions.
81+
82+
In addition to running tests locally, you can also run them in a Dockerized testing environment:
83+
84+
85+
.. code::
86+
87+
make test-all-testenv
88+
89+
90+
This command will initially take some time. However subsequent invokations will be faster, and testing this way ensures a clean, consistent test environment, regardless of your local setup.
91+
92+
7093
Documentation
7194
'''''''''''''
7295

@@ -90,3 +113,9 @@ We use black and isort for styling. They are automatically triggered on every co
90113

91114

92115
We are looking forward to hear from you! =)
116+
117+
118+
PR Descriptions
119+
'''''''''''''''
120+
121+
The PR should have a clear and descriptive title, along with a detailed description of the changes made, the problem being addressed, and any relevant tips for reviewers. An example of what this might look like is `here. <https://github.com/blue-yonder/tsfresh/pull/994#issue-1509962136>`_

setup.cfg

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ classifier =
1414
Development Status :: 4 - Beta
1515
Programming Language :: Python
1616
Programming Language :: Python :: 3
17-
Programming Language :: Python :: 3.7
18-
Programming Language :: Python :: 3.8
1917
Programming Language :: Python :: 3.9
2018
Programming Language :: Python :: 3.10
19+
Programming Language :: Python :: 3.11
20+
Programming Language :: Python :: 3.12
2121
Programming Language :: Python :: 3 :: Only
2222
Operating System :: Unix
2323
Operating System :: Microsoft :: Windows
@@ -41,13 +41,14 @@ install_requires =
4141
scipy>=1.2.0;python_version<'3.10'
4242
statsmodels>=0.13
4343
patsy>=0.4.1
44+
pywavelets
4445
scikit-learn>=0.22.0
4546
tqdm>=4.10.0
4647
stumpy>=1.7.2
4748
cloudpickle
4849

4950
# Require a specific Python version, e.g. Python 2.7 or >= 3.4
50-
python_requires = >= 3.7
51+
python_requires = >= 3.9
5152

5253
[options.packages.find]
5354
where = .
@@ -140,3 +141,23 @@ max-line-length = 120
140141
# This will be used when updating. Do not change!
141142
version = 3.2.3
142143
package = tsfresh
144+
145+
[tox:tox]
146+
# Tox global conifguration options
147+
minversion = 4.0.0
148+
# Which python versions to test for
149+
envlist = py39, py310, py311, py312
150+
# Don't throw an error if a specific version of python is not installed
151+
skip_missing_interpreters = True
152+
# Ensure that tox uses a virtual environment to build a source distribution
153+
isolated_build = True
154+
155+
# Tox configuration options for each version of python
156+
[testenv]
157+
commands =
158+
# display the python version that tests are being run on
159+
python -V
160+
# install package requirements before running tests
161+
python -m pip install .[testing]
162+
# run the tests
163+
python -m pytest tests/

0 commit comments

Comments
 (0)