aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-twisted.inc
AgeCommit message (Collapse)Author
2020-03-22python3-twisted: add python3-appdirs to RDEPENDSTrevor Gamblin
python3-twisted requires python3-appdirs to support some submodules: |root@intel-x86-64:~# python3 |Python 3.7.4 (default, Oct 28 2019, 02:05:50) |[GCC 9.2.0] on linux |Type "help", "copyright", "credits" or "license" for more information. |>>> import twisted.python._appdirs | |Error message : |File "<frozen importlib._bootstrap>", line 219, in |_call_with_frames_removed |File "/usr/lib64/python3.7/site-packages/twisted/python/_appdirs.py", |line 11, in <module> |import appdirs |No module named 'appdirs' Also rearranged the RDEPENDS list for twisted-core to be in alphabetical order. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-24python-twisted.inc: add missing core dependenciesTrevor Gamblin
/usr/bin/twistd doesn't execute correctly if the pyhamcrest, pdb, and getpass modules are not present, so add them to core RDEPENDS. Also reformat the RDEPENDS list across multiple lines for easier reading. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-02python3-twisted: fix broken MemoryReactor importTrevor Gamblin
Twisted's application/runner/test/test_runner.py was trying to import from a deprecated module and failing. The module import has been corrected and accepted in Twisted upstream, but there's no release with it yet for Yocto to upgrade to, hence the backport. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-11python-twisted: add missing RDEPENDS for conchTrevor Gamblin
import twisted.conch.checkers outputs error messages like the following for multiple modules: |Python 3.7.4 (default, Oct 28 2019, 02:05:50) |[GCC 9.2.0] on linux |Type "help", "copyright", "credits" or "license" for more information. |>>> import twisted.conch.checkers | |Error message : |File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed |File "/usr/lib64/python3.7/site-packages/twisted/conch/checkers.py", line 32, in |<module> |from twisted.conch.ssh import keys |File "/usr/lib64/python3.7/site-packages/twisted/conch/ssh/keys.py", line 18, in |<module> |import bcrypt |No module named 'bcrypt' Add the missing RDEPENDS so that it works (bcrypt, cryptography, pyasn1, pickle). Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-08python-twisted: add python3-pyserial to RDEPENDSTrevor Gamblin
twisted's internet submodule has serial port functionality that relies on python3-pyserial to be available, but this isn't in twisted's RDEPENDS list, so imports of the serial port functionality will fail: |root@qemux86-64:~# python3 |Python 3.7.5 (default, Dec 5 2019, 23:01:22) |[GCC 9.2.0] on linux |Type "help", "copyright", "credits" or "license" for more information. |>>> import twisted.internet.serialport |Traceback (most recent call last): | File "<stdin>", line 1, in <module> | File "/usr/lib/python3.7/site-packages/twisted/internet/serialport.py", line 21, in <module> | import serial |ModuleNotFoundError: No module named 'serial' |>>> Since the internet submodule is part of the twisted-core split, add python3-pyserial to RDEPENDS for that part of the recipe. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-20python-twisted: upgrade 19.7.0 -> 19.10.0Zang Ruochen
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-24python-twisted: upgrade 19.2.1 -> 19.7.0Yuan Chao
LICENSE file updated: "Tom Most" was added in LICENSE file. Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-18python-twisted: upgrade 19.2.0 -> 19.2.1Zang Ruochen
-Upgrade from python-twisted_19.2.0.bb to python-twisted_19.2.1.bb. -Upgrade from python3-twisted_19.2.0.bb to python3-twisted_19.2.1.bb. Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-29python-twisted: upgrade 18.4.0 -> 19.2.0Zang Ruochen
-Upgrade from python-twisted_18.4.0.bb to python-twisted_19.2.0.bb. -Upgrade from python3-twisted_18.4.0.bb to python3-twisted_19.2.0.bb. -License-Update: Copyright year updated to 2019. Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-30python-twisted: Remove ${PN}-srcKhem Raj
This fixes the QA errors about double defining this in PACKAGES it seems to be removed in py3 version of recipe too so we just do it in inc file so both recipes can use it Fix a typo in specifying rdep Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-02python-twisted: Add more python-twisted-* packages to the "meta" packageMark Asselstine
Whereas the python-twisted-core package is used to install the minimum components of python-twisted, the python-twisted package is essentially a 'meta' package which installs all of the python-twisted-* packages (used by folks that don't want to determine which components they are interested in). Add additional packages to the python-twisted 'meta' package. NOTE: that there are still modules of python-twisted which have not been ported to python3 (see src/twisted/python/_setup.py "notPortedModules") so the installed packages for py2 vs. py3 will not be the same (ie. python-twisted-news is only part of the py2 package). Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-27python(3)-twisted: upgrade 17.9.0 -> 18.4.0Chen Qi
The license checksum changes but the license remains the same. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-12-27python-twisted: avoid downloading build dependenciesMark Asselstine
setup.py will attempt to download python-incremental, as it is not present in the sysroot. This is at the least wrong since some random version of python-incremental will be used to build against (akin to host contamination) and at most a build failure (when network access is unavailable). So make python-incrementa-native available and a DEPENDS. Unfortunately python-incremental has a dependency on python-twisted and vice versa. So we need to forcefully break this circular dependency. Fortunately this doesn't affect the build of python-twisted. Unfortunately if anyone else attempts to use python-incremental-native there might be issues should it ever run the code that does the import of twisted. This is not an issue now and a comment has been added to hopefully make this issue known to anyone else coming along at a later time. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15python-twisted: clean-up the dependenciesDerek Straka
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-10-15python-twisted: remove empty lore subpackageDiego Rondini
Currently installing python-twisted fails because it cannot find a python-twisted-lore package. lore package isn't created because as of twisted 15.3.x lore has been removed, thus no file belongs to it. Removal reference: "twisted.lore has now been removed, in preference to Sphinx. (#7892)" https://github.com/twisted/twisted/blob/trunk/NEWS.rst#twisted-core-1530-2015-08-04 Signed-off-by: Diego Rondini <diego.rondini@kynetics.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-04python-twisted: update to version 17.9.0Derek Straka
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-22python-twisted: update version to 17.5.0Derek Straka
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01twisted: add support to build for python3Mark Asselstine
The work on twisted to ensure python3 compatability is nearing completion, as per their python3 tracker page: https://twistedmatrix.com/trac/milestone/Python-3.x Create a common .inc file and a new python3-* recipe to match other python3 packages. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>