Skip to content

Commit

Permalink
Limit current release to molecule 3.x
Browse files Browse the repository at this point in the history
Update the setup.py versions to limit this plugin to molecule 3.x
until updated to support molecule 4.x.
  • Loading branch information
meffie committed Jul 18, 2022
1 parent 0aea770 commit bc66b46
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ help:

.venv:
$(PYTHON3) -m venv .venv
$(PIP) install -U pip
$(PIP) install wheel
$(PIP) install pyflakes pylint yamllint pytest collective.checkdocs twine
$(PIP) install molecule[ansible]
$(PIP) install -U pip wheel
$(PIP) install -r requirements.txt
$(PIP) install -e .

init: .venv
Expand Down
8 changes: 8 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Requirements for development.
ansible
pyflakes
pylint
yamllint
pytest
collective.checkdocs
twine
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def find_version():
},
install_requires=[
# molecule plugins are not allowed to mention Ansible as a direct dependency
'molecule>=3.2.0',
'molecule>=3.2.0,<4.0',
'pyyaml',
'proxmoxer>=1.3.1',
],
Expand Down

0 comments on commit bc66b46

Please sign in to comment.