"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "snapcraft/internal/build_providers/_multipass/_multipass_command.py" between
snapcraft-3.9.4.tar.gz and snapcraft-3.9.5.tar.gz

About: Snapcraft is a build and packaging tool that makes it easy to incorporate components from different sources and build technologies or solutions.

_multipass_command.py  (snapcraft-3.9.4):_multipass_command.py  (snapcraft-3.9.5)
skipping to change at line 99 skipping to change at line 99
retry_count -= 1 retry_count -= 1
sleep(1) sleep(1)
# No need to worry about getting to this point by exhausting our retry c ount, # No need to worry about getting to this point by exhausting our retry c ount,
# the rest of the stack will handle the error appropriately. # the rest of the stack will handle the error appropriately.
@classmethod @classmethod
def setup_multipass(cls, *, echoer, platform: str) -> None: def setup_multipass(cls, *, echoer, platform: str) -> None:
if platform == "linux": if platform == "linux":
repo.snaps.install_snaps(["multipass/latest/beta"]) repo.snaps.install_snaps(["multipass/latest/stable"])
elif platform == "darwin": elif platform == "darwin":
try: try:
subprocess.check_call(["brew", "cask", "install", "multipass"]) subprocess.check_call(["brew", "cask", "install", "multipass"])
except subprocess.CalledProcessError: except subprocess.CalledProcessError:
raise SnapcraftEnvironmentError( raise SnapcraftEnvironmentError(
"Failed to install multipass using homebrew.\n" "Failed to install multipass using homebrew.\n"
"Verify your homebrew installation and try again.\n" "Verify your homebrew installation and try again.\n"
"Alternatively, manually install multipass by running 'brew cask install multipass'." "Alternatively, manually install multipass by running 'brew cask install multipass'."
) )
elif platform == "win32": elif platform == "win32":
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)