Move cryprography pin

This moves the cryptography pin to ansible-requirements.txt
which is used as a constraints file[1].

[1] https://opendev.org/openstack/tripleo-ansible/src/branch/master/zuul.d/playbooks/pre.yml#L42

Related-Bug: #1995608
Change-Id: I646cd49b614a9f494e77f9893521d3c070900ed5
(cherry picked from commit c0bc395ab4)
This commit is contained in:
Cédric Jeanneret 2022-11-08 15:50:29 +01:00 committed by Grzegorz Grasza
parent 0b7c84cd82
commit f82c62aefc
4 changed files with 3 additions and 1 deletions

View File

@ -1,2 +1,3 @@
ansible>=2.8,!=2.8.9,!=2.9.12,<2.10.0
importlib-metadata<2.0.0
cryptography<37.0.0

View File

@ -11,6 +11,7 @@ sh>=1.12.14,<1.13
molecule==3.0a5
netaddr
jinja2>=2.8.0,<3
cryptography
# this is required for the docs build jobs
ansible>=2.8,!=2.8.9,!=2.9.12,<2.10.0

View File

@ -103,6 +103,7 @@ commands = {posargs}
[testenv:role-addition]
deps=
{[testenv:linters]deps}
-r {toxinidir}/molecule-requirements.txt
commands =
bash -c "ansible-playbook -i localhost, role-addition.yml -e role_name=skeleton_test"
bash -c "if podman ps 2> /dev/null; then \

View File

@ -3,7 +3,6 @@ set -x
### Openstack Keystone
: ${OS_RELEASE:=queens}
: ${IPADDR:=127.0.0.1}
# Identity service configuration
: ${OS_IDENTITY_URL_IPADDR:=$IPADDR}