summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-twisted.inc
Commit message (Collapse)AuthorAgeFilesLines
* python3-twisted: Consolidate in a single fileLeon Anavi2020-06-131-266/+0
| | | | | | | | Consolidate inc and bb files into a single bb file. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-twisted: add python3-appdirs to RDEPENDSTrevor Gamblin2020-03-221-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python-twisted.inc: add missing core dependenciesTrevor Gamblin2020-01-241-1/+11
| | | | | | | | | /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>
* python3-twisted: fix broken MemoryReactor importTrevor Gamblin2020-01-021-0/+5
| | | | | | | | | | 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>
* python-twisted: add missing RDEPENDS for conchTrevor Gamblin2019-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python-twisted: add python3-pyserial to RDEPENDSTrevor Gamblin2019-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* python-twisted: upgrade 19.7.0 -> 19.10.0Zang Ruochen2019-11-201-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-twisted: upgrade 19.2.1 -> 19.7.0Yuan Chao2019-08-241-3/+3
| | | | | | | | 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>
* python-twisted: upgrade 19.2.0 -> 19.2.1Zang Ruochen2019-06-181-2/+2
| | | | | | | | | -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>
* python-twisted: upgrade 18.4.0 -> 19.2.0Zang Ruochen2019-04-291-3/+3
| | | | | | | | | | | -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>
* python-twisted: Remove ${PN}-srcKhem Raj2019-01-301-2/+2
| | | | | | | | | | 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>
* python-twisted: Add more python-twisted-* packages to the "meta" packageMark Asselstine2018-11-021-0/+3
| | | | | | | | | | | | | | | | | 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>
* python(3)-twisted: upgrade 17.9.0 -> 18.4.0Chen Qi2018-06-271-3/+3
| | | | | | | 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>
* python-twisted: avoid downloading build dependenciesMark Asselstine2017-12-271-0/+4
| | | | | | | | | | | | | | | | | | | | | 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>
* python-twisted: clean-up the dependenciesDerek Straka2017-11-151-2/+2
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* python-twisted: remove empty lore subpackageDiego Rondini2017-10-151-10/+0
| | | | | | | | | | | | 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>
* python-twisted: update to version 17.9.0Derek Straka2017-10-041-2/+2
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* python-twisted: update version to 17.5.0Derek Straka2017-09-221-3/+12
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* twisted: add support to build for python3Mark Asselstine2017-07-011-0/+244
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>