Skip to content

Commit

Permalink
ci/travis/conda/upload.sh: force python3.11 to avoid issue with anado…
Browse files Browse the repository at this point in the history
…nda-client
  • Loading branch information
rouault committed Oct 31, 2023
1 parent 5e62937 commit 587fa44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/travis/conda/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ then
fi

echo "Anaconda token is available, attempting to upload"
conda install -c conda-forge anaconda-client -y
# anaconda-client is broken with python 3.12 currently. See https://github.com/OSGeo/gdal/actions/runs/6700873032/job/18207482980#step:10:1607 with a No module named 'imp' error
conda install -c conda-forge python=3.11 anaconda-client -y

find . -name "*gdal*.bz2" -exec anaconda -t "$ANACONDA_TOKEN" upload --force --no-progress --user gdal-master {} \;

0 comments on commit 587fa44

Please sign in to comment.