Git Product home page Git Product logo

Comments (2)

BoggyBumblebee avatar BoggyBumblebee commented on May 28, 2024

Issue is found here in the homebrew. I see Jeff you commented on Ansible version being the issue - I'll see if that makes a difference. ansible-collections/community.general#1524

from mac-dev-playbook.

BoggyBumblebee avatar BoggyBumblebee commented on May 28, 2024

I've found the root of the issue. When homebrew is first installed in the VM that I am using to test the installation, running the command brew --version returns the string "Homebrew >=4.1.0 (shallow or no git repository)", which cannot be correctly parsed by the code in homebrew_cask.py in the function def _get_brew_version(self): on line 498, that in turn throws an issue on line 513:

return LooseVersion(self._get_brew_version()) >= LooseVersion('2.6.0')

If I run brew update and then brew --version it nows returns "Homebrew 4.2.9", and if the Ansible script is re-run, everything works.

In @geerlingguy's tasks/main.yml there is a step that should force an update, post installation of brew, when "not homebrew_binary.stat.exists", but that is being skipped, as I assume that does exist. Should it not be forced regardless? Clearly, I can run the Ansible script several times, but that feels wrong.

from mac-dev-playbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.