pep8 error caused by hacking version < 3.0.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Brin Zhang |
Bug Description
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://
https:/
pep8 run-test-pre: PYTHONHASHSEED=
pep8 finish: run-test-pre after 0.00 seconds
pep8 start: run-test
pep8 run-test: commands[0] | bash tools/flake8wrap.sh
setting PATH=/home/
[4453] /home/zuul/
Running flake8 on all files
./nova/
./nova/
./nova/
./nova/
ERROR: InvocationError for command /bin/bash tools/flake8wrap.sh (exited with code 1)
pep8 finish: run-test after 70.95 seconds
pep8 start: run-test-post
pep8 finish: run-test-post after 0.00 seconds
_______
ERROR: pep8: commands failed
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Confirmed |
assignee: | nobody → Brin Zhang (zhangbailin) |
Changed in nova: | |
status: | Confirmed → In Progress |
hacking 3.0.0 is fixed with new version bump - https:/ /review. opendev. org/#/c/ 727347/ 1
we can adopt hacking 3.1.0 as min version and adopt the new checks.