diff --git a/package/python-twisted/Config.in b/package/python-twisted/Config.in index 84786689b7..2d2bc30972 100644 --- a/package/python-twisted/Config.in +++ b/package/python-twisted/Config.in @@ -7,6 +7,7 @@ config BR2_PACKAGE_PYTHON_TWISTED select BR2_PACKAGE_PYTHON_HYPERLINK # runtime select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE # runtime select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime help Twisted is an event-driven networking engine written in Python. diff --git a/support/testing/tests/package/sample_python_twisted.py b/support/testing/tests/package/sample_python_twisted.py index 47d6c5debc..b5540522fc 100644 --- a/support/testing/tests/package/sample_python_twisted.py +++ b/support/testing/tests/package/sample_python_twisted.py @@ -1,4 +1,5 @@ from twisted.internet import protocol, reactor, endpoints +from twisted.web.client import readBody # noqa: F401 class F(protocol.Factory):