[libvirt] [PATCH] travis: Temporarily disable 'brew upgrade'

Andrea Bolognani posted 1 patch 6 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180315124029.2927-1-abologna@redhat.com
Test syntax-check passed
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [PATCH] travis: Temporarily disable 'brew upgrade'
Posted by Andrea Bolognani 6 years ago
There are a lot of changes happening in the homebrew ecosystem
around Python, and as a consequence 'brew upgrade' hasn't been
able to complete successfully for several days.

Temporarily disable upgrading the system before building: this
will need to be reverted once the upgrade issues have been
sorted out.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 79f30f3090..c891ef419c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -100,7 +100,7 @@ env:
     - VIR_TEST_DEBUG=1
 
 before_install:
-  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update && brew upgrade && brew install rpcgen yajl xz && brew link --force python@2; fi
+  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update && brew install rpcgen yajl xz && brew link --force python@2; fi
 
 before_script:
   - ./autogen.sh --prefix=$(pwd)/install-root
-- 
2.14.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] travis: Temporarily disable 'brew upgrade'
Posted by Daniel P. Berrangé 6 years ago
On Thu, Mar 15, 2018 at 01:40:29PM +0100, Andrea Bolognani wrote:
> There are a lot of changes happening in the homebrew ecosystem
> around Python, and as a consequence 'brew upgrade' hasn't been
> able to complete successfully for several days.
> 
> Temporarily disable upgrading the system before building: this
> will need to be reverted once the upgrade issues have been
> sorted out.

It is complaining about python links. I was just testing a patch
to see if calling 'brew unlink python' before 'brew upgrade'
would fix it....  If it doesn't then i'll ack this patch.

> 
> Signed-off-by: Andrea Bolognani <abologna@redhat.com>
> ---
>  .travis.yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index 79f30f3090..c891ef419c 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -100,7 +100,7 @@ env:
>      - VIR_TEST_DEBUG=1
>  
>  before_install:
> -  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update && brew upgrade && brew install rpcgen yajl xz && brew link --force python@2; fi
> +  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update && brew install rpcgen yajl xz && brew link --force python@2; fi
>  
>  before_script:
>    - ./autogen.sh --prefix=$(pwd)/install-root
> -- 
> 2.14.3
> 
> --
> libvir-list mailing list
> libvir-list@redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list