b7d251293a
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>
12 lines
336 B
Python
12 lines
336 B
Python
from tests.package.test_python import TestPythonPackageBase
|
|
|
|
|
|
class TestPythonPy3Txaio(TestPythonPackageBase):
|
|
__test__ = True
|
|
config = TestPythonPackageBase.config + \
|
|
"""
|
|
BR2_PACKAGE_PYTHON3=y
|
|
BR2_PACKAGE_PYTHON_TXAIO=y
|
|
"""
|
|
sample_scripts = ["tests/package/sample_python_txaio_asyncio.py"]
|