Prerequisites
Environment
molecule 25.6.0 using python 3.13
ansible:2.18.6
default:25.6.0 from molecule
and
molecule 25.4.0 using python 3.13
ansible:2.18.2
docker:2.1.0 from molecule_docker requiring collections: community.docker>=3.0.2 ansible.posix>=1.4.0
default:25.4.0 from molecule
What happened
I have a requirements.yml with the following contents:
collections:
- name: community.general
source: https://github.com/living-with/community.general
type: git
version: hotfix-issue-10305
ansible-galaxy install -r requirements.yml with this file works fine. However, if it's referenced in a molecule test via dependency.options.requirements-file it fails with:
ERROR! Unexpected Exception, this is probably a bug: Non integer values in LooseVersion ('hotfix-issue-10305')
Reproducing example
https://github.com/liamjones/molecule/tree/main/tests/fixtures/integration/test_command/molecule/test-scenario
(I just updated the basic test-scenario in the molecule repo to trigger the bug: liamjones@3a367fe)
Prerequisites
pip checkdoes not report any conflictsEnvironment
molecule 25.6.0 using python 3.13
ansible:2.18.6
default:25.6.0 from molecule
and
molecule 25.4.0 using python 3.13
ansible:2.18.2
docker:2.1.0 from molecule_docker requiring collections: community.docker>=3.0.2 ansible.posix>=1.4.0
default:25.4.0 from molecule
What happened
I have a requirements.yml with the following contents:
ansible-galaxy install -r requirements.ymlwith this file works fine. However, if it's referenced in a molecule test viadependency.options.requirements-fileit fails with:Reproducing example
https://github.com/liamjones/molecule/tree/main/tests/fixtures/integration/test_command/molecule/test-scenario(I just updated the basic test-scenario in the molecule repo to trigger the bug: liamjones@3a367fe)