CI: Fix molecule job on Ubuntu Jammy

OpenDev has changed the image used for tox jobs to Ubuntu Jammy 22.04.
This broke molecule jobs, which started failing with:

ImportError: cannot import name 'Iterable' from 'collections'

This change updates requirements to bump molecule and pytest-metadata.
It also removes molecule flake8 lint configuration, which is no longer
supported.

Change-Id: I751a458f7668f7917abaa662723221ac7e3752c8
This commit is contained in:
Mark Goddard 2022-12-01 15:25:41 +00:00
parent 0517184a6d
commit 564a06551f
3 changed files with 2 additions and 6 deletions

View File

@ -18,5 +18,3 @@ scenario:
name: default
verifier:
name: testinfra
lint:
name: flake8

View File

@ -147,5 +147,3 @@ scenario:
name: enable-everything
verifier:
name: testinfra
lint:
name: flake8

View File

@ -4,9 +4,9 @@
ansible-lint>=3.0.0,<6.0.0,!=4.3.0 # MIT
docker # Apache-2.0
molecule<3.5.0 # MIT
molecule<4.1.0 # MIT
molecule-docker # MIT
pytest-metadata<2 # MPL
pytest-metadata # MPL
pytest-molecule # MIT
pytest-testinfra
yamllint # GPLv3