Skip to content

Commit

Permalink
Python 3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
KulikDM committed Feb 8, 2024
1 parent 0485371 commit 2ad6413
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions pythresh/test/test_rank.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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']

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
],
)

0 comments on commit 2ad6413

Please sign in to comment.