From e4a4b174068e16b0139447646f82e4bddc1941c4 Mon Sep 17 00:00:00 2001 From: Ryan May Date: Mon, 23 Sep 2019 22:40:05 -0600 Subject: [PATCH] MNT: Fix Travis build failures from weird dependencies We were accidentally uploading wheels from the development builds of xarray and pint. Still not sure why pip thinks it can install the development version of xarray 0.13 on Python 2.7, but it does. This should keep those from uploading. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bdbf7815e60..1a725534157 100644 --- a/.travis.yml +++ b/.travis.yml @@ -121,7 +121,8 @@ before_install: - travis_wait python -m pip wheel -w $WHEELDIR $EXTRA_PACKAGES -f $WHEELHOUSE $PRE $VERSIONS; - python -m pip install $EXTRA_PACKAGES --upgrade --upgrade-strategy=eager --no-index -f file://$PWD/$WHEELDIR $VERSIONS; - travis_wait 30 python -m pip wheel -w $WHEELDIR ".[$EXTRA_INSTALLS]" $EXTRA_PACKAGES -f $WHEELHOUSE $PRE $VERSIONS; - - rm -f $WHEELDIR/MetPy*.whl; + # Make sure we don't upload MetPy or other development build wheels + - rm -f $WHEELDIR/MetPy*.whl $WHEELDIR/xarray-*+*.whl $WHEELDIR/Pint-*dev*.whl; install: - python -m pip install ".[$EXTRA_INSTALLS]" --upgrade --upgrade-strategy=eager --no-index $PRE -f file://$PWD/$WHEELDIR $VERSIONS;