diff --git a/oslo_messaging/_drivers/protocols/amqp/eventloop.py b/oslo_messaging/_drivers/protocols/amqp/eventloop.py
index 04ff868f6..193f26294 100644
--- a/oslo_messaging/_drivers/protocols/amqp/eventloop.py
+++ b/oslo_messaging/_drivers/protocols/amqp/eventloop.py
@@ -39,7 +39,7 @@ from six import moves
 LOG = logging.getLogger(__name__)
 
 
-class _SocketConnection():
+class _SocketConnection(object):
     """Associates a pyngus Connection with a python network socket,
     and handles all connection-related I/O and timer events.
     """
diff --git a/test-requirements-py3.txt b/test-requirements-py3.txt
index 49c9cbade..937c9f2eb 100644
--- a/test-requirements-py3.txt
+++ b/test-requirements-py3.txt
@@ -3,7 +3,7 @@
 # process, which may cause wedges in the gate later.
 
 # Hacking already pins down pep8, pyflakes and flake8
-hacking>=0.9.1,<0.10
+hacking>=0.10.0,<0.11
 
 discover
 fixtures>=0.3.14
diff --git a/test-requirements.txt b/test-requirements.txt
index e58ceca10..0b2a58327 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -3,7 +3,7 @@
 # process, which may cause wedges in the gate later.
 
 # Hacking already pins down pep8, pyflakes and flake8
-hacking>=0.9.2,<0.10
+hacking>=0.10.0,<0.11
 
 discover
 fixtures>=0.3.14