{"id":21586,"library":"molecule-multipass","title":"Molecule Multipass","description":"A Molecule driver for managing test instances with Multipass (Ubuntu VM orchestrator). Current version 0.5.0, low release cadence.","status":"active","version":"0.5.0","language":"python","source_language":"en","source_url":"https://github.com/andreygubarev/molecule-multipass","tags":["testing","molecule","multipass","driver"],"install":[{"cmd":"pip install molecule-multipass","lang":"bash","label":"Install molecule multipass driver"}],"dependencies":[{"reason":"Required core testing framework","package":"molecule","optional":false},{"reason":"Required for VM management; must be installed on host separately","package":"multipass","optional":false}],"imports":[{"note":"Driver class is in the driver submodule","wrong":"from molecule_multipass import MoleculeMultipassDriver","symbol":"MoleculeMultipassDriver","correct":"from molecule_multipass.driver import MoleculeMultipassDriver"}],"quickstart":{"code":"# molecule.yml\n---\ndriver:\n  name: multipass\nprovisioner:\n  name: ansible\nplatforms:\n  - name: instance\n    image: ubuntu:22.04\nscenario:\n  name: default\n","lang":"yaml","description":"Create a molecule.yml in your molecule/default directory and run: molecule create"},"warnings":[{"fix":"Install Multipass from https://multipass.run/ before using this driver.","message":"Multipass must be installed on the host machine and available in PATH; the driver does not install it.","severity":"gotcha","affected_versions":"all"},{"fix":"Use 'name: multipass' in molecule.yml.","message":"Driver name changed from 'multipass' to 'multipass' (same) but some older versions used an alias; ensure molecule.yml uses 'name: multipass'.","severity":"breaking","affected_versions":"<0.4.0"},{"fix":"Upgrade Python to 3.7+ and molecule to 3.0+.","message":"Python 3.6 support deprecated; only Python 3.7+ tested.","severity":"deprecated","affected_versions":"<0.5.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run: pip install molecule-multipass","cause":"Molecule driver not registered because molecule-multipass is not installed.","error":"molecule create --driver multipass fails with 'DriverNotFound'"},{"fix":"Ensure multipass binary is installed (e.g., snap install multipass) and available in PATH.","cause":"Multipass Python bindings not installed; the driver relies on system multipass CLI.","error":"ModuleNotFoundError: No module named 'multipass'"},{"fix":"Increase timeout in molecule.yml: driver:\n  name: multipass\n  timeout: 120","cause":"Slow network or insufficient resources on host for Multipass VM.","error":"Instance creation fails: 'timeout waiting for instance'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}