Skip to content

Commit

Permalink
Install molecule only on Python 3
Browse files Browse the repository at this point in the history
Because pytest requires Python >= 3.5

https://pytest.org/en/latest/py27-py34-deprecation.html
  • Loading branch information
dochang committed Apr 3, 2020
1 parent e84572d commit de2eb1f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions roles/userconfig/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ envs:
# Workaround of `ImportError: No module named 'pip.req'`
#
# https://github.com/ansible/ansible-container/issues/919#issuecomment-433524170
- molecule
# Do not install pbr, ansible-lint and yamllint explicitly
#
# molecule locks on the dependencies of pbr, ansible-lint, PyYAML and
# yamllint. Do not install them explicitly.
- flake8
- autoflake
version_limited_packages:
Expand All @@ -61,6 +56,11 @@ envs:
- pyls-isort
# For flycheck, also install pyflakes, mccabe, pycodestyle for python-language-server.
- python-language-server[all]
- molecule
# Do not install pbr, ansible-lint and yamllint explicitly
#
# molecule locks on the dependencies of pbr, ansible-lint, PyYAML and
# yamllint. Do not install them explicitly.
rbenv:
# prettier-ignore
versions:
Expand Down

0 comments on commit de2eb1f

Please sign in to comment.