Skip to content

Commit f0091a4

Browse files
update interpret-community to python 3.9 by default (#599)
1 parent 71f4f38 commit f0091a4

File tree

5 files changed

+7
-12
lines changed

5 files changed

+7
-12
lines changed

.github/workflows/CI-python.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
matrix:
1515
packageDirectory: ["interpret_community"]
1616
operatingSystem: [ubuntu-latest]
17-
pythonVersion: [3.7, 3.8, 3.9]
17+
pythonVersion: [3.9]
1818

1919
runs-on: ${{ matrix.operatingSystem }}
2020

@@ -71,14 +71,14 @@ jobs:
7171
run: |
7272
pytest ./tests -m "not notebooks" -s -v --cov=${{ matrix.packageDirectory }} --cov-report=xml --cov-report=html
7373
74-
- if: ${{ matrix.pythonVersion == '3.8' }}
74+
- if: ${{ matrix.pythonVersion == '3.9' }}
7575
name: Upload code coverage results
7676
uses: actions/upload-artifact@v4
7777
with:
7878
name: ${{ matrix.packageDirectory }}-code-coverage-results
7979
path: htmlcov
8080

81-
- if: ${{ matrix.pythonVersion == '3.8' }}
81+
- if: ${{ matrix.pythonVersion == '3.9' }}
8282
name: Upload to codecov
8383
id: codecovupload1
8484
uses: codecov/codecov-action@v3
@@ -93,7 +93,7 @@ jobs:
9393
path_to_write_report: ./coverage/codecov_report.txt
9494
verbose: true
9595

96-
- if: ${{ (steps.codecovupload1.outcome == 'failure') && (matrix.pythonVersion == '3.8') }}
96+
- if: ${{ (steps.codecovupload1.outcome == 'failure') && (matrix.pythonVersion == '3.9') }}
9797
name: Retry upload to codecov
9898
id: codecovupload2
9999
uses: codecov/codecov-action@v3
@@ -108,7 +108,7 @@ jobs:
108108
path_to_write_report: ./coverage/codecov_report.txt
109109
verbose: true
110110

111-
- if: ${{ matrix.pythonVersion == '3.8' }}
111+
- if: ${{ matrix.pythonVersion == '3.9' }}
112112
name: Set codecov status
113113
shell: bash
114114
run: |

.github/workflows/release-interpret-community.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: conda-incubator/setup-miniconda@v3
2626
with:
2727
auto-update-conda: true
28-
python-version: 3.8
28+
python-version: 3.9
2929

3030
- name: Install pytorch on non-MacOS
3131
shell: bash -l {0}

python/setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
'Intended Audience :: Science/Research',
2727
'License :: OSI Approved :: MIT License',
2828
'Programming Language :: Python :: 3',
29-
'Programming Language :: Python :: 3.7',
30-
'Programming Language :: Python :: 3.8',
3129
'Programming Language :: Python :: 3.9',
3230
'Topic :: Scientific/Engineering :: Artificial Intelligence',
3331
'Operating System :: Microsoft :: Windows',

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ mlflow
33
tensorflow<2.14.0
44
hdbscan
55
lightgbm
6-
xgboost
6+
xgboost<2.1.0
77
sklearn_pandas
88
lime>=0.2.0.0

requirements-test.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,5 @@ pytest-cov
33
nbformat
44
papermill
55
scrapbook
6-
itsdangerous==2.0.1
7-
markupsafe<2.1.0
86
jupyter
9-
jinja2==2.11.3
107
captum

0 commit comments

Comments
 (0)