Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.3
rev: v0.14.6
hooks:
- id: ruff
args: [ --fix ]
Expand All @@ -17,7 +17,7 @@ repos:
types: [python]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.12.11
3.13.7
2 changes: 1 addition & 1 deletion denstream/den_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def _validate_fit_input(time: int, feature_array: FloatArrayType, label: Optiona
if not isinstance(feature_array, np.ndarray):
raise ValueError(f"Provided x is not an numpy.ndarray, type(x)={type(feature_array)}")
elif len(feature_array.shape) != 2:
raise ValueError(f"feature_array need to have the shape (1, num_features), " f"given shape={feature_array.shape}")
raise ValueError(f"feature_array need to have the shape (1, num_features), given shape={feature_array.shape}")

if not isinstance(time, int):
raise ValueError(f"Provided time is not an int. type(time)={type(time)}")
Expand Down
20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@ name = "denstream"
version = "0.1.4"
description = "Implementation of the DenStream algorithm"
readme = "README.md"
requires-python = ">=3.9, <3.14"
requires-python = ">=3.10, <3.15"
authors = [
{name = "MrParosk"}
]

dependencies = [
"numba>=0.56",
"numpy>=2.0",
"scikit-learn>=1.0",
"typing-extensions>=4.14.0",
"numba>=0.60",
"numpy>=2.1",
"scikit-learn>=1.4",
"typing-extensions>=4.15.0",
]


[dependency-groups]
dev = [
"mypy>=1.16.0",
"pre-commit>=4.2.0",
"pytest>=8.4.0",
"pytest-cov>=6.2.0",
"ruff>=0.12.0",
"mypy>=1.18.2",
"pre-commit>=4.5.0",
"pytest>=9.0.1",
"pytest-cov>=7.0.0",
"ruff>=0.14.6",
]

[tool.mypy]
Expand Down
Loading