openstack-tox-linters fails (tripleo-ci) ImportError: cannot import name '_unicodefun' from 'click'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Marios Andreou |
Bug Description
At [1][2][3] the openstack-
2022-03-29 07:49:45.391211 | ubuntu-focal | Traceback (most recent call last):
2022-03-29 07:49:45.391222 | ubuntu-focal | File "/home/
2022-03-29 07:49:45.391234 | ubuntu-focal | sys.exit(
2022-03-29 07:49:45.391246 | ubuntu-focal | File "/home/
2022-03-29 07:49:45.391274 | ubuntu-focal | patch_click()
2022-03-29 07:49:45.391292 | ubuntu-focal | File "/home/
2022-03-29 07:49:45.391306 | ubuntu-focal | from click import _unicodefun # type: ignore
2022-03-29 07:49:45.391317 | ubuntu-focal | ImportError: cannot import name '_unicodefun' from 'click' (/home/
The issue is reported upstream at [4] - a new release of click has broken the black linter test. We need to pin click to earlier version
[1] https:/
[2] https:/
[3] https:/
[4] https:/
Changed in tripleo: | |
assignee: | nobody → Marios Andreou (marios-b) |
trying to fix with https:/ /review. opendev. org/c/openstack /tripleo- ci/+/835547