ERROR: Package 'bandit' requires a different Python: 2.7.17 not in '>=3.5'

Bug #1907438 reported by Lee Yarwood
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Lee Yarwood
Train
Fix Released
Undecided
Unassigned
OpenStack Object Storage (swift)
Confirmed
Undecided
Unassigned
neutron
Fix Released
Critical
Unassigned

Bug Description

The 1.6.3 [1] release has dropped support for py2 [2].

This should be capped within Nova's test-requirements.txt as linters are not covered by UC.

[1] https://github.com/PyCQA/bandit/releases/tag/1.6.3
[2] https://github.com/PyCQA/bandit/pull/615

Tags: gate-failure
Lee Yarwood (lyarwood)
description: updated
Revision history for this message
Lee Yarwood (lyarwood) wrote :

https://github.com/PyCQA/bandit/issues/663 suggests that this is due the 1.6.3 release being uploaded as a universal wheel [1].

[1] https://packaging.python.org/guides/distributing-packages-using-setuptools/#universal-wheels

Changed in nova:
status: New → Confirmed
Changed in swift:
status: New → Confirmed
Changed in neutron:
status: New → Confirmed
Changed in neutron:
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 20.5.0

This issue was fixed in the openstack/nova 20.5.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/swift 2.23.3

This issue was fixed in the openstack/swift 2.23.3 release.

Lee Yarwood (lyarwood)
Changed in neutron:
status: Confirmed → Fix Released
Changed in nova:
status: Confirmed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/swift 2.25.2

This issue was fixed in the openstack/swift 2.25.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova pike-eol

This issue was fixed in the openstack/nova pike-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/swift pike-eol

This issue was fixed in the openstack/swift pike-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova queens-eol

This issue was fixed in the openstack/nova queens-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova rocky-eol

This issue was fixed in the openstack/nova rocky-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova stein-eol

This issue was fixed in the openstack/nova stein-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/swift queens-eol

This issue was fixed in the openstack/swift queens-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/swift rocky-eol

This issue was fixed in the openstack/swift rocky-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/swift stein-eol

This issue was fixed in the openstack/swift stein-eol release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.