From 2ad6413e8c6c2ca31d54f051a03d1aa66b0f70a5 Mon Sep 17 00:00:00 2001 From: KulikDM Date: Thu, 8 Feb 2024 19:33:58 +0200 Subject: [PATCH] Python 3.12 support --- CHANGES.txt | 1 + pythresh/test/test_rank.py | 4 ++-- setup.py | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index cfd7333..81d40e1 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -76,3 +76,4 @@ v<0.3.5>, <11/05/2023> -- Added CONF docs and updated FAQ v<0.3.6>, <01/29/2024> -- Added mixmod thresholder v<0.3.6>, <01/29/2024> -- Updated benchmarks v<0.3.6>, <02/03/2024> -- Revised benchmark notebook +v<0.3.7>, <02/08/2024> -- Python 3.12 support diff --git a/pythresh/test/test_rank.py b/pythresh/test/test_rank.py index a08d7e6..94750cb 100644 --- a/pythresh/test/test_rank.py +++ b/pythresh/test/test_rank.py @@ -10,7 +10,7 @@ from pyod.utils.data import generate_data from pythresh.thresholds.filter import FILTER -from pythresh.thresholds.mixmod import MIXMOD +from pythresh.thresholds.IQR import IQR from pythresh.thresholds.ocsvm import OCSVM from pythresh.utils.rank import RANK @@ -33,7 +33,7 @@ def setUp(self): self.clfs = [KNN(), PCA(), IForest()] self.thres = [FILTER(), self.contamination, - [FILTER(), MIXMOD(), OCSVM()]] + [FILTER(), IQR(), OCSVM()]] self.method = ['model', 'native'] diff --git a/setup.py b/setup.py index 3f70799..882f297 100644 --- a/setup.py +++ b/setup.py @@ -61,5 +61,6 @@ def readme(): 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', ], )