b43ba475cf
# python sample_python_txtorcon.py
Traceback (most recent call last):
File "/root/sample_python_txtorcon.py", line 1, in <module>
import txtorcon # noqa
File "/usr/lib/python3.10/site-packages/txtorcon/__init__.py", line 11, in <module>
File "/usr/lib/python3.10/site-packages/txtorcon/router.py", line 10, in <module>
File "/usr/lib/python3.10/site-packages/txtorcon/util.py", line 17, in <module>
File "/usr/lib/python3.10/site-packages/twisted/internet/defer.py", line 42, in <module>
ModuleNotFoundError: No module named 'typing_extensions'
python typing_extensions is required since python-twisted 22.1.0 [1]
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/2116202537
[1] 6e768da0a1
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
config BR2_PACKAGE_PYTHON_TWISTED
|
|
bool "python-twisted"
|
|
select BR2_PACKAGE_PYTHON_INCREMENTAL
|
|
select BR2_PACKAGE_PYTHON_ATTRS # runtime
|
|
select BR2_PACKAGE_PYTHON_AUTOMAT # runtime
|
|
select BR2_PACKAGE_PYTHON_CONSTANTLY # runtime
|
|
select BR2_PACKAGE_PYTHON_HYPERLINK # runtime
|
|
select BR2_PACKAGE_PYTHON_PYHAMCREST # runtime
|
|
select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE # runtime
|
|
select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime
|
|
help
|
|
Twisted is an event-driven networking engine written in
|
|
Python.
|
|
|
|
https://twistedmatrix.com/trac/
|
|
|
|
if BR2_PACKAGE_PYTHON_TWISTED
|
|
|
|
config BR2_PACKAGE_PYTHON_TWISTED_HTTP2
|
|
bool "HTTP2 support"
|
|
select BR2_PACKAGE_PYTHON_H2 # runtime
|
|
select BR2_PACKAGE_PYTHON_PRIORITY # runtime
|
|
|
|
config BR2_PACKAGE_PYTHON_TWISTED_TLS
|
|
bool "TLS support"
|
|
# python-{pyopenssl,service-identity}
|
|
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
|
select BR2_PACKAGE_PYTHON_IDNA # runtime
|
|
select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
|
|
select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime
|
|
|
|
endif
|