Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the pip-all-updates group with 9 updates #312

Merged
merged 5 commits into from
Feb 5, 2025
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
18 changes: 9 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# this requirements.txt file is maintained and bumbped by dependabot
# this file is used to see weather new versions of the libraries are available and break shapiq
black==24.10.0
black==25.1.0
colour==0.1.5
coverage==7.6.10
matplotlib==3.10.0
networkx==3.4.2
pandas==2.2.3
pytest==8.3.4
ruff==0.8.4
scikit-image==0.25.0
scikit-learn==1.6.0
scipy==1.14.1
ruff==0.9.4
scikit-image==0.25.1
scikit-learn==1.6.1
scipy==1.15.1
tqdm==4.67.1
torch==2.5.1
torchvision==0.20.1
transformers==4.47.1
torch==2.6.0
torchvision==0.21.0
transformers==4.48.2
tensorflow==2.18.0
tf-keras==2.18.0
xgboost==2.1.3
numpy==1.26.4
requests==2.32.3
lightgbm==4.5.0
tabpfn==2.0.3; python_version <= '3.11'
tabpfn==2.0.5
2 changes: 1 addition & 1 deletion tests/requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ requests==2.32.3
lightgbm==4.5.0
tf-keras==2.18.0
tensorflow==2.18.0
tabpfn==2.0.3; python_version <= '3.11'
tabpfn==2.0.5
4 changes: 0 additions & 4 deletions tests/tests_explainer/test_tabpfn_explainer.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
"""This test module tests the TabPFNExplainer object."""

import sys

import pytest

from shapiq import Explainer, InteractionValues, TabPFNExplainer, TabularExplainer


@pytest.mark.skipif(sys.version_info > (3, 11), reason="requires python3.11 or lower")
def test_tabpfn_explainer_clf(tabpfn_classification_problem):
"""Test the TabPFNExplainer class for classification problems."""
import tabpfn
Expand All @@ -34,7 +31,6 @@ def test_tabpfn_explainer_clf(tabpfn_classification_problem):
assert isinstance(explainer, TabularExplainer)


@pytest.mark.skipif(sys.version_info > (3, 11), reason="requires python3.11 or lower")
def test_tabpfn_explainer_reg(tabpfn_regression_problem):
"""Test the TabPFNExplainer class for regression problems."""
import tabpfn
Expand Down
5 changes: 0 additions & 5 deletions tests/tests_imputer/test_tabpfn_imputer.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
"""This test module tests the tabpfn imputer object."""

import sys

import numpy as np
import pytest

from shapiq import TabPFNImputer
from shapiq.explainer.utils import get_predict_function_and_model_type


@pytest.mark.skipif(sys.version_info > (3, 11), reason="requires python3.11 or lower")
def test_tabpfn_imputer(tabpfn_classification_problem):
"""Test the TabPFNImputer class."""
import tabpfn
Expand Down Expand Up @@ -42,7 +39,6 @@ def test_tabpfn_imputer(tabpfn_classification_problem):
assert model.n_features_in_ == 1


@pytest.mark.skipif(sys.version_info > (3, 11), reason="requires python3.11 or lower")
def test_empty_prediction(tabpfn_classification_problem):
"""Tests the TabPFNImputer with a manual empty prediction."""
import tabpfn
Expand Down Expand Up @@ -72,7 +68,6 @@ def test_empty_prediction(tabpfn_classification_problem):
assert output[0] == manual_empty_prediction


@pytest.mark.skipif(sys.version_info > (3, 11), reason="requires python3.11 or lower")
def test_tabpfn_imputer_validation(tabpfn_classification_problem):
"""Test that the TabPFNImputer raises a ValueError if no predict function is provided."""
import tabpfn
Expand Down