@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55
66[project ]
77name = " tsam"
8- version = " 3.1.1 "
8+ version = " 3.1.2 "
99description = " Time series aggregation module (tsam) to create typical periods"
1010authors = [
1111 { name = " Leander Kotzur" , email = " leander.kotzur@googlemail.com" },
@@ -35,7 +35,7 @@ dependencies = [
3535 " scikit-learn>=1.3.0,<=1.8.0" ,
3636 " pandas>=2.2.0,<=3.0.1" ,
3737 " numpy>=1.22.4,<=2.4.2" ,
38- " pyomo>=6.4.8,<=6.9.5 " ,
38+ " pyomo>=6.4.8,<=6.10.0 " ,
3939 " networkx>=2.5,<=3.6.1" ,
4040 " tqdm>=4.21.0,<=4.67.3" ,
4141 " highspy>=1.7.2,<=1.13.1" ,
@@ -79,7 +79,17 @@ pythonpath = [
7979 " test" ,
8080] # Sets the path which should be prepended to pythonpath relative to the root folder
8181console_output_style = " count"
82- filterwarnings = [" ignore::tsam.exceptions.LegacyAPIWarning" ]
82+ filterwarnings = [
83+ " ignore::tsam.exceptions.LegacyAPIWarning" ,
84+ # Third-party library warnings outside of tsam's control
85+ " ignore::RuntimeWarning:threadpoolctl" ,
86+ " ignore:KMeans is known to have a memory leak:UserWarning:sklearn" ,
87+ " ignore::sklearn.exceptions.ConvergenceWarning" ,
88+ # Expected tsam warnings raised during edge-case tests
89+ " ignore:The cluster is too small:UserWarning:tsam" ,
90+ " ignore:Segmentation is turned off:UserWarning:tsam" ,
91+ " ignore:Max iteration number reached:UserWarning:tsam" ,
92+ ]
8393
8494[tool .ruff ]
8595target-version = " py310"
@@ -115,7 +125,6 @@ ignore = [
115125 " RUF012" , # mutable class attributes - these are constants in this codebase
116126 " RUF002" , # ambiguous unicode characters in docstrings
117127 " RUF059" , # Unpacked variable is never used
118- " UP038" , # use X | Y in isinstance (performance regression, see ruff issue)
119128]
120129
121130[tool .ruff .lint .isort ]
0 commit comments