Skip to content

Commit

Permalink
Bump Python for OtherML packages (fairlearn#1300)
Browse files Browse the repository at this point in the history
Bump the version of Python used by the Conda files in `test_othermlpackages`. For all except TensorFlow, this involves going to Python 3.11; Tensorflow only seems to work with Python 3.10.
  • Loading branch information
riedgar-ms authored Oct 1, 2023
1 parent 513eea4 commit fbb78af
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions test_othermlpackages/conda-lightgbm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ channels:
- defaults
- conda-forge
dependencies:
- python==3.8
- python==3.11
- pip>=19.1.1
- numpy
- pandas
- pytest
- pytest-cov
- scikit-learn
- lightgbm<4.0.0 # 4.0.0 is incompatible with latest numpy https://github.com/microsoft/LightGBM/issues/5990
- lightgbm
2 changes: 1 addition & 1 deletion test_othermlpackages/conda-pytorch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- conda-forge
- pytorch
dependencies:
- python==3.8
- python==3.11
- pip>=19.1.1
- pytest
- pytest-cov
Expand Down
3 changes: 1 addition & 2 deletions test_othermlpackages/conda-tensorflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ channels:
- defaults
- conda-forge
dependencies:
- python==3.8
- python>=3.10
- pip>=19.1.1
- pytest
- pytest-cov
- tensorflow
- pip:
- numpy==1.21 # latest numpy is incompatible with TF, see https://stackoverflow.com/questions/74852225/attributeerror-module-numpy-has-no-attribute-typedict
- scikeras[tensorflow-cpu]
2 changes: 1 addition & 1 deletion test_othermlpackages/conda-xgboost.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- defaults
- conda-forge
dependencies:
- python==3.8
- python==3.11
- pip>=19.1.1
- pytest
- pytest-cov
Expand Down

0 comments on commit fbb78af

Please sign in to comment.