You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
In fact is even more than this, take a look at ansible/molecule#2926 -- Molecule 3.2 no longer needs Ansible installed inside the same python interpreter. This means that we need to update pytest-molecule to prevent it from bringing Ansible as a dependency too.
There is a list of molecule related projects that need the same type of change for decoupling from Ansible python package.
It may seem weird but this bug is not on pytest-molecule, is in fact a molecule bug regarding how its extras are configured, mainly because test extra includes ansible and ansible-lint, which it should not. They should be installed by ansilbe and lint extras. Test extra should be limited to install only testing tools for molecule itself and its extensions and deliberately avoid dragging ansible in by accident.
ssbarnea
added a commit
to ansible/molecule
that referenced
this issue
Nov 7, 2020
AFAICS molecule itself now allows to use ansible-base: ansible/molecule#2805
However, installing pytest-molecule installs the full ansible distribution.
IMHO this package should reflect upstream's decision.
The text was updated successfully, but these errors were encountered: