Unverified Commit 5c5cd58e authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[ci] pin graphite2 in Python 3.9 environment (#6992)

* [ci] try pinning openjpeg

* pin even more

* only pin graphite2

* try removing all customizations

* restore all CI

* add a 'conda info'

* add a 'conda list' too

* move conda block in test.sh
parent 16ca335b
......@@ -37,6 +37,9 @@ pluggy=1.0.*
psutil=5.9.3
pytest=7.4.*
# https://github.com/microsoft/LightGBM/issues/6990
graphite2=1.3.14=*_0
# other recursive dependencies, just
# pinned here to help speed up solves
bokeh=2.4.*
......
......@@ -154,4 +154,8 @@ if [[ "${TASK}" != "r-package" ]]; then
fi
conda config --set always_yes yes --set changeps1 no
conda update -q -y conda
# print output of 'conda info', to help in submitting bug reports
echo "conda info:"
conda info
fi
......@@ -68,6 +68,10 @@ conda activate
conda config --set always_yes yes --set changeps1 no
conda update -q -y conda "python=$env:PYTHON_VERSION[build=*_cp*]"
# print output of 'conda info', to help in submitting bug reports
Write-Output "conda info:"
conda info
if ($env:PYTHON_VERSION -eq "3.9") {
$env:CONDA_REQUIREMENT_FILE = "$env:BUILD_SOURCESDIRECTORY/.ci/conda-envs/ci-core-py39.txt"
} else {
......@@ -82,6 +86,10 @@ $condaParams = @(
)
conda create @condaParams ; Assert-Output $?
# print output of 'conda list', to help in submitting bug reports
Write-Output "conda list:"
conda list -n $env:CONDA_ENV
if ($env:TASK -ne "bdist") {
conda activate $env:CONDA_ENV
}
......
......@@ -173,6 +173,10 @@ conda create \
"${CONDA_PYTHON_REQUIREMENT}" \
|| exit 1
# print output of 'conda list', to help in submitting bug reports
echo "conda list:"
conda list -n ${CONDA_ENV}
# shellcheck disable=SC1091
source activate $CONDA_ENV
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment