Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
8bc45786
Unverified
Commit
8bc45786
authored
Mar 18, 2024
by
James Lamb
Committed by
GitHub
Mar 18, 2024
Browse files
[ci] put ceiling on graphviz in Python 3.7 jobs (#6370)
parent
cb4972ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
.ci/test.sh
.ci/test.sh
+2
-3
No files found.
.ci/test.sh
View file @
8bc45786
...
@@ -126,9 +126,9 @@ fi
...
@@ -126,9 +126,9 @@ fi
# older versions of Dask are incompatible with pandas>=2.0, but not all conda packages' metadata accurately reflects that
# older versions of Dask are incompatible with pandas>=2.0, but not all conda packages' metadata accurately reflects that
#
#
# ref: https://github.com/microsoft/LightGBM/issues/6030
# ref: https://github.com/microsoft/LightGBM/issues/6030
CONSTRAINED_DEPENDENCIES
=
"'dask>=2023.5.0' 'distributed>=2023.5.0' 'pandas>=2.0'"
CONSTRAINED_DEPENDENCIES
=
"'dask>=2023.5.0' 'distributed>=2023.5.0' 'pandas>=2.0'
python-graphviz
"
if
[[
$PYTHON_VERSION
==
"3.7"
]]
;
then
if
[[
$PYTHON_VERSION
==
"3.7"
]]
;
then
CONSTRAINED_DEPENDENCIES
=
"'dask' 'distributed' 'pandas<2.0'"
CONSTRAINED_DEPENDENCIES
=
"'dask' 'distributed'
'python-graphviz<0.20.2'
'pandas<2.0'"
fi
fi
# including python=version[build=*cpython] to ensure that conda doesn't fall back to pypy
# including python=version[build=*cpython] to ensure that conda doesn't fall back to pypy
...
@@ -143,7 +143,6 @@ mamba create -q -y -n $CONDA_ENV \
...
@@ -143,7 +143,6 @@ mamba create -q -y -n $CONDA_ENV \
pyarrow
\
pyarrow
\
pytest
\
pytest
\
${
CONDA_PYTHON_REQUIREMENT
}
\
${
CONDA_PYTHON_REQUIREMENT
}
\
python-graphviz
\
scikit-learn
\
scikit-learn
\
scipy
||
exit
1
scipy
||
exit
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment