Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version of 'rich' deps break molecule from run #3010

Closed
pavelpicka opened this issue Dec 18, 2020 · 4 comments · Fixed by #3013
Closed

New version of 'rich' deps break molecule from run #3010

pavelpicka opened this issue Dec 18, 2020 · 4 comments · Fixed by #3013
Labels

Comments

@pavelpicka
Copy link

Issue Type

  • Bug report

Molecule and Ansible details

ansible --version && molecule --version
{2.9,2.10}-{3.6,3.7,3.8}

Molecule installation method (one of):

  • pip

Ansible installation method (one of):

  • pip

Detail any linters or test runners used:
local, GHA, flake8 & yamllint, ansible-lint used

Desired Behavior

molecule test --scenario-name our-test
should run the test

Actual Behaviour

fails, on CI with "InvocationError" locally just RC=1 without any message

Found

Only change from working behaviour is dependency rich is updated from '9.4.0' to '9.5.0'.
Downgrade is working workaround.

@pavelpicka pavelpicka added the bug label Dec 18, 2020
@btravouillon
Copy link
Contributor

I nailed it to commit Textualize/rich@12b268d.
enrich 1.2.3 is not compatible with the change in rich.

@greg-hellings
Copy link
Contributor

For my own purposes I've currently pinned 'rich<9.5.0' in my deps. The behavior is present in both 9.5.0 and 9.5.1

@jsf9k
Copy link
Contributor

jsf9k commented Dec 18, 2020

Seeing the exact same behavior with respect to molecule and rich >= 9.5.0. I came here to create an issue but saw that @pavelpicka beat me to it.

patrickjahns added a commit to patrickjahns/ansible-role-promtail that referenced this issue Dec 19, 2020
Upstream was reported that the `rich` dependency is not compatible
with current molecule version

ansible/molecule#3010

By pinning it to an older version CI is expect to run again
@jsf9k
Copy link
Contributor

jsf9k commented Dec 19, 2020

I believe @ssbarnea has now fixed this in pycontribs/enrich#21.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants