This is an automated email from the ASF dual-hosted git repository. martijnvisser pushed a commit to branch release-1.18 in repository https://gitbox.apache.org/repos/asf/flink.git
commit bad9983e8bed6d8aba299df7c064453acd30449b Author: Martijn Visser <[email protected]> AuthorDate: Mon Jan 19 14:11:28 2026 +0100 [hotfix][python] Update miniconda to version that supports Python 3.10 Backport of miniconda update from FLINK-33029. The old miniconda 4.7.10 (from 2019) cannot properly create Python 3.10 environments, causing documentation builds to fail with path errors (python3.1 vs python3.10). --- flink-python/dev/lint-python.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/flink-python/dev/lint-python.sh b/flink-python/dev/lint-python.sh index ac71d704139..3ad4b126e96 100755 --- a/flink-python/dev/lint-python.sh +++ b/flink-python/dev/lint-python.sh @@ -185,10 +185,12 @@ function install_wget() { # some packages including checks such as tox and flake8. function install_miniconda() { - OS_TO_CONDA_URL=("https://repo.anaconda.com/miniconda/Miniconda3-4.7.10-MacOSX-x86_64.sh" \ - "https://repo.anaconda.com/miniconda/Miniconda3-4.7.10-Linux-x86_64.sh") + local sys_machine=$(uname -m) + echo "Detected machine: ${sys_machine}" + OS_TO_CONDA_URL=("https://repo.anaconda.com/miniconda/Miniconda3-py310_23.5.2-0-MacOSX-${sys_machine}.sh" \ + "https://repo.anaconda.com/miniconda/Miniconda3-py310_23.5.2-0-Linux-${sys_machine}.sh") if [ ! -f "$CONDA_INSTALL" ]; then - print_function "STEP" "download miniconda..." + print_function "STEP" "download miniconda from ${OS_TO_CONDA_URL[$1]}..." download ${OS_TO_CONDA_URL[$1]} $CONDA_INSTALL_SH chmod +x $CONDA_INSTALL_SH if [ $? -ne 0 ]; then
