Skip to content

Commit e8749e2

Browse files
Merge pull request #635 from guerinclement/feature/issue-615
Feature/issue 615
2 parents b01678f + 698c299 commit e8749e2

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
max-parallel: 1
1010
matrix:
11-
python-version: ["3.9", "3.10", "3.11", "3.12"]
11+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1212
steps:
1313
- uses: actions/checkout@v3
1414
- name: Set up Python ${{ matrix.python-version }}

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ authors = [
1616
]
1717
description = "Shapash is a Python library which aims to make machine learning interpretable and understandable by everyone."
1818
readme = "README.md"
19-
requires-python = ">=3.9, <3.13"
19+
requires-python = ">=3.9, <3.14"
2020
license = {text = "Apache Software License 2.0"}
2121
keywords = ["shapash"]
2222
classifiers = [
@@ -25,6 +25,7 @@ classifiers = [
2525
"Programming Language :: Python :: 3.10",
2626
"Programming Language :: Python :: 3.11",
2727
"Programming Language :: Python :: 3.12",
28+
"Programming Language :: Python :: 3.13",
2829
"License :: OSI Approved :: Apache Software License",
2930
"Operating System :: OS Independent",
3031
]

tests/unit_tests/explainer/test_smart_explainer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,8 @@ def test_load_1(self):
642642
pkl_file = path.join(current, "data/xpl_to_load_311.pkl")
643643
elif str(sys.version)[0:4] == "3.12":
644644
pkl_file = path.join(current, "data/xpl_to_load_312.pkl")
645+
elif str(sys.version)[0:4] == "3.13":
646+
pkl_file = path.join(current, "data/xpl_to_load_313.pkl")
645647
else:
646648
raise NotImplementedError
647649

tests/unit_tests/utils/test_load_smartpredictor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ def test_load_smartpredictor_1(self):
3636
pkl_file = path.join(current, "data/predictor_to_load_311.pkl")
3737
elif str(sys.version)[0:4] == "3.12":
3838
pkl_file = path.join(current, "data/predictor_to_load_312.pkl")
39+
elif str(sys.version)[0:4] == "3.13":
40+
pkl_file = path.join(current, "data/predictor_to_load_313.pkl")
3941
else:
4042
raise NotImplementedError
4143

0 commit comments

Comments
 (0)