openstack-tox: ERROR: Cannot install cryptography<37.0.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Triaged
|
Critical
|
Unassigned |
Bug Description
openstack-tox-py* jobs are failing
Actual Error
```
2022-11-17 12:25:46.284128 | ubuntu-focal | â”â”â”
2022-11-17 12:25:47.691958 | ubuntu-focal | Preparing metadata (setup.py): started
2022-11-17 12:25:48.568156 | ubuntu-focal | Preparing metadata (setup.py): finished with status 'done'
2022-11-17 12:25:48.979137 | ubuntu-focal | ERROR: Cannot install cryptography<37.0.0 because these package versions have conflicting dependencies.
2022-11-17 12:25:48.979641 | ubuntu-focal |
2022-11-17 12:25:48.979661 | ubuntu-focal | The conflict is caused by:
2022-11-17 12:25:48.979667 | ubuntu-focal | The user requested cryptography<37.0.0
2022-11-17 12:25:48.979671 | ubuntu-focal | The user requested (constraint) cryptography=
2022-11-17 12:25:48.979699 | ubuntu-focal |
2022-11-17 12:25:48.979717 | ubuntu-focal | To fix this you could try to:
2022-11-17 12:25:48.979722 | ubuntu-focal | 1. loosen the range of package versions you've specified
2022-11-17 12:25:48.979727 | ubuntu-focal | 2. remove package versions to allow pip attempt to solve the dependency conflict
2022-11-17 12:25:48.979731 | ubuntu-focal |
2022-11-17 12:25:48.979898 | ubuntu-focal | ERROR: ResolutionImpos
2022-11-17 12:25:49.217249 | ubuntu-focal | ERROR: invocation failed (exit code 1)
2022-11-17 12:25:49.217720 | ubuntu-focal | ERROR: could not install deps [-c/home/
2022-11-17 12:25:49.217760 | ubuntu-focal | py38 finish: getenv /home/zuul/
2022-11-17 12:25:49.218184 | ubuntu-focal | _______
2022-11-17 12:25:49.218219 | ubuntu-focal | ERROR: py38: could not install deps [-c/home/
2022-11-17 12:25:49.302015 | ubuntu-focal | ERROR
```
Logs:
- https:/
- https:/
This might be caused because of pinning cryptography requirements in ansible- requirements[ 1].
[1] https:/ /opendev. org/openstack/ tripleo- ansible/ commit/ c0bc395ab494ee1 8e77fba608cdd40 762c7b8c51