-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into add-gcc-test
- Loading branch information
Showing
97 changed files
with
1,991 additions
and
960 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# [description] | ||
# | ||
# Similar to ci-core.txt, but specific to Python 3.8. | ||
# | ||
# Unlike ci-core.txt, this includes a Python version and uses | ||
# `=` and `<=` pins to make solves faster and prevent against | ||
# issues like https://github.com/microsoft/LightGBM/pull/6370. | ||
# | ||
# [usage] | ||
# | ||
# conda create \ | ||
# --name test-env \ | ||
# --file ./.ci/conda-envs/ci-core-py38.txt | ||
# | ||
|
||
# python | ||
python=3.8.* | ||
|
||
# direct imports | ||
cffi=1.15.* | ||
dask=2023.5.* | ||
distributed=2023.5.* | ||
joblib=1.4.* | ||
matplotlib-base=3.7.* | ||
numpy=1.24.* | ||
pandas=1.5.* | ||
pyarrow-core=16.1.* | ||
python-graphviz=0.20.* | ||
scikit-learn=1.3.* | ||
scipy=1.10.* | ||
|
||
# testing-only dependencies | ||
cloudpickle=3.0.* | ||
pluggy=1.5.* | ||
psutil=5.9.8 | ||
pytest=8.2.* | ||
|
||
# other recursive dependencies, just | ||
# pinned here to help speed up solves | ||
bokeh=3.1.* | ||
fsspec=2024.5.* | ||
msgpack-python=1.0.* | ||
pluggy=1.5.* | ||
pytz=2024.1 | ||
setuptools=69.5.* | ||
snappy=1.2.* | ||
tomli=2.0.* | ||
tornado=6.4.* | ||
wheel=0.43.* | ||
zict=3.0.* | ||
zipp=3.17.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/bin/bash | ||
|
||
set -e -E -u -o pipefail | ||
|
||
# latest versions of lightgbm's dependencies, | ||
# including pre-releases and nightlies | ||
# | ||
# ref: https://github.com/pydata/xarray/blob/31111b3afe44fd6f7dac363264e94186cc5168d2/.github/workflows/upstream-dev-ci.yaml | ||
echo "installing testing dependencies" | ||
python -m pip install \ | ||
cloudpickle \ | ||
psutil \ | ||
pytest | ||
echo "done installing testing dependencies" | ||
|
||
echo "installing lightgbm's dependencies" | ||
python -m pip install \ | ||
--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \ | ||
--prefer-binary \ | ||
--pre \ | ||
--upgrade \ | ||
'numpy>=2.0.0.dev0' \ | ||
'matplotlib>=3.10.0.dev0' \ | ||
'pandas>=3.0.0.dev0' \ | ||
'scikit-learn>=1.6.dev0' \ | ||
'scipy>=1.15.0.dev0' | ||
|
||
python -m pip install \ | ||
--extra-index-url https://pypi.fury.io/arrow-nightlies/ \ | ||
--prefer-binary \ | ||
--pre \ | ||
--upgrade \ | ||
'pyarrow>=17.0.0.dev0' | ||
|
||
python -m pip install \ | ||
'cffi>=1.15.1' | ||
|
||
echo "done installing lightgbm's dependencies" | ||
|
||
echo "installing lightgbm" | ||
pip install --no-deps dist/*.whl | ||
echo "done installing lightgbm" | ||
|
||
echo "installed package versions:" | ||
pip freeze | ||
|
||
echo "" | ||
echo "running tests" | ||
pytest tests/c_api_test/ | ||
pytest tests/python_package_test/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.