Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Don't use upper-constraints with molecule
Browse files Browse the repository at this point in the history
We were always using the upper-constraints when creating tox
environments, however there is currently an issue with molecule and
openstack upper-constraints that is preventing it from being used.
Until molecule can be fixed to work with openstack upper-constraints,
lets drop this configuration. We are already adding the constraints to
the doc and release notes jobs.

ansible/molecule#3244

STABLE-Only: This also pins molecule to <3.5 as that requires updates
to the metadata structure.

Change-Id: I91ebaa059dc2451bba739a0a2de917e2f3c2aa21
Related-Bug: #1942704
(cherry picked from commit 9494142)
  • Loading branch information
mwhahaha committed Sep 24, 2021
1 parent 3a0840d commit da7ec9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion molecule-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pytest-cov
pytest-html
pytest-xdist
mock
molecule>=3.3.4
molecule>=3.3.4,<3.5
molecule-podman>=1.0.0a1
ruamel.yaml
testinfra
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ skipsdist = True

[testenv]
usedevelop = True
install_command = python3 -m pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
install_command = python3 -m pip install {opts} {packages}
passenv = *
setenv =
ANSIBLE_ACTION_PLUGINS={toxinidir}/tripleo_ansible/roles.galaxy/config_template/action:{toxinidir}/tripleo_ansible/ansible_plugins/action
Expand Down Expand Up @@ -49,8 +49,6 @@ commands = bindep test
skipsdist = True
skip_install = True
sitepackages = False
setenv =
TOX_CONSTRAINTS_FILE=file:///dev/null
deps =
pre-commit
virtualenv
Expand Down

0 comments on commit da7ec9b

Please sign in to comment.