Skip to content

Commit f6a41e3

Browse files
committed
Support for python 3.13.
1 parent f5df5f7 commit f6a41e3

File tree

6 files changed

+8
-3
lines changed

6 files changed

+8
-3
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 }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Shapash can use category-encoders object, sklearn ColumnTransformer or simply fe
143143

144144
## 🛠 Installation
145145

146-
Shapash is intended to work with Python versions 3.9 to 3.12. Installation can be done with pip:
146+
Shapash is intended to work with Python versions 3.9 to 3.13. Installation can be done with pip:
147147

148148
```bash
149149
pip install shapash

docs/installation-instructions/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Installation instructions
44
Installing
55
----------
66

7-
**Shapash** is intended to work with Python versions 3.9 to 3.12. Installation can be done with pip:
7+
**Shapash** is intended to work with Python versions 3.9 to 3.13. Installation can be done with pip:
88

99
.. code:: bash
1010

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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)