Skip to content

Commit cd7af48

Browse files
committed
make tensorflow dependency conditional on newer versions of python
Signed-off-by: Avi Shinnar <shinnar@us.ibm.com>
1 parent 8956e63 commit cd7af48

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
python-version: 3.9
156156
setup-target: '.[full,test]'
157157
- test-case: test/test_aif360.py
158-
python-version: 3.9
158+
python-version: '3.11'
159159
setup-target: '.[full,test]'
160160
- test-case: test/test_relational_sklearn.py
161161
python-version: '3.11'
@@ -239,7 +239,7 @@ jobs:
239239
python-version: 3.9
240240
setup-target: '.[full,test]'
241241
- test-case: test/test_aif360.py
242-
python-version: 3.9
242+
python-version: '3.11'
243243
setup-target: '.[full,test]'
244244
- test-case: test/test_relational_sklearn.py
245245
python-version: '3.11'
@@ -502,7 +502,7 @@ jobs:
502502
test-case:
503503
- test/test_aif360.py
504504
- test/test_aif360_ensembles.py
505-
python-version: [3.9]
505+
python-version: ['3.11']
506506
setup-target: ['.[fairness]']
507507
steps:
508508
- uses: actions/checkout@v4

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"lightgbm<4.7.0",
7171
"snapml>=1.7.0rc3,<1.17.0",
7272
"liac-arff>=2.4.0",
73-
"tensorflow>=2.4.0,<=2.17.0",
73+
"tensorflow>=2.4.0 ; python_version>='3.10'",
7474
"smac<=0.10.0",
7575
"numba",
7676
"aif360>=0.5.0",

0 commit comments

Comments
 (0)