Depend on hacking for its dependencies.
flake8 does not pin its pep8 and pyflakes dependencies which makes it possible for new sets of rules to suddenly apply whenever either of those projects pushes a new release. Fix this by depending on hacking instead of flake8, pep8, and pyflakes directly. This will keep nodepool in sync with the rest of openstack even if it doesn't use the hacking rules (H*). Change-Id: Ice9198e9439ebcac15e76832835e78f72344425c
This commit is contained in:
parent
e2fff8cd15
commit
841750fdea
|
@ -255,7 +255,7 @@ class NodeDatabaseSession(object):
|
||||||
snapshot_image_table.c.provider_name == provider_name,
|
snapshot_image_table.c.provider_name == provider_name,
|
||||||
snapshot_image_table.c.image_name == image_name,
|
snapshot_image_table.c.image_name == image_name,
|
||||||
snapshot_image_table.c.state == READY).order_by(
|
snapshot_image_table.c.state == READY).order_by(
|
||||||
snapshot_image_table.c.version.desc()).all()
|
snapshot_image_table.c.version.desc()).all()
|
||||||
return images
|
return images
|
||||||
|
|
||||||
def getCurrentSnapshotImage(self, provider_name, image_name):
|
def getCurrentSnapshotImage(self, provider_name, image_name):
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
flake8==2.0
|
# Nodepool uses hacking for its dependencies
|
||||||
|
hacking>=0.8,<0.9
|
||||||
coverage
|
coverage
|
||||||
sphinx>=1.1.2,<1.2
|
sphinx>=1.1.2,<1.2
|
||||||
docutils==0.9.1
|
docutils==0.9.1
|
||||||
|
|
Loading…
Reference in New Issue