Skip to content

Commit d7c77f1

Browse files
committed
Fix tests
1 parent 3362875 commit d7c77f1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ jobs:
3939
fail-fast: false
4040
matrix:
4141
os: [ubuntu-latest, macos-latest, windows-latest]
42-
python-version: ["3.10", "3.11", "3.12"]
42+
python-version: ["3.9", "3.10", "3.11"]
4343
steps:
4444
- uses: actions/checkout@v4
4545
- name: Set up Python ${{ matrix.python-version }}
4646
uses: actions/setup-python@v5
4747
with:
4848
python-version: ${{ matrix.python-version }}
4949
- name: On mac, install libomp to facilitate lgbm and xgboost install
50-
if: matrix.os == 'macOS-latest'
50+
if: matrix.os == 'macos-latest'
5151
run: |
5252
brew update
5353
brew install libomp
@@ -84,10 +84,10 @@ jobs:
8484
run: |
8585
pip install "ray[tune]<2.5.0"
8686
- name: If mac and python 3.10, install ray and xgboost 1
87-
if: matrix.os == 'macOS-latest' && matrix.python-version == '3.10'
87+
if: matrix.os == 'macos-latest' && matrix.python-version == '3.10'
8888
run: |
8989
pip install -e .[ray]
90-
# use macOS to test xgboost 1, but macOS also supports xgboost 2
90+
# use macos to test xgboost 1, but macos also supports xgboost 2
9191
pip install "xgboost<2"
9292
# TODO: support prophet for python 3.11+
9393
- name: Install prophet when on linux and python 3.10

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"joblib<=1.3.2",
5252
],
5353
"test": [
54-
"numpy>=1.17",
54+
"numpy>=1.17,<2.0.0",
5555
"jupyter",
5656
"lightgbm>=2.3.1",
5757
"xgboost>=0.90,<2.0.0",

0 commit comments

Comments
 (0)