As of upstream commit
735eb608637e7bbab4082a541ac802cc919fec22,
available since version v20.1.1, support for Python 2.x has been
dropped, and Python >= 3.5 is required. So we make python-txaio depend
on python3, and remove the python2 test of python-txaio.
We also remove the python-six dependency which is no longer used by
txaio, since upstream commit
62b0e7eaa22769687df1de8f57374cb0a42bdc4d.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
tests.package.test_python_treq.TestPythonPy3Treq: { extends: .runtime_test }
tests.package.test_python_twisted.TestPythonPy2Twisted: { extends: .runtime_test }
tests.package.test_python_twisted.TestPythonPy3Twisted: { extends: .runtime_test }
-tests.package.test_python_txaio.TestPythonPy2Txaio: { extends: .runtime_test }
tests.package.test_python_txaio.TestPythonPy3Txaio: { extends: .runtime_test }
tests.package.test_python_txtorcon.TestPythonPy2Txtorcon: { extends: .runtime_test }
tests.package.test_python_txtorcon.TestPythonPy3Txtorcon: { extends: .runtime_test }
config BR2_PACKAGE_PYTHON_TXAIO
bool "python-txaio"
- select BR2_PACKAGE_PYTHON_SIX # runtime
+ depends on BR2_PACKAGE_PYTHON3
help
Compatibility API between asyncio/Twisted/Trollius.
from tests.package.test_python import TestPythonPackageBase
-class TestPythonPy2Txaio(TestPythonPackageBase):
- __test__ = True
- config = TestPythonPackageBase.config + \
- """
- BR2_PACKAGE_PYTHON=y
- BR2_PACKAGE_PYTHON_TXAIO=y
- BR2_PACKAGE_PYTHON_TWISTED=y
- """
- sample_scripts = ["tests/package/sample_python_txaio_twisted.py"]
-
-
class TestPythonPy3Txaio(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \