Commit Graph

5 Commits

Author SHA1 Message Date
Guðni Már Gilbert
3c1ad6fe52
python3-twisted: cleanup FILES and recipe in general
Changes are made to prepare upgrading Twisted to a newer version
in a later commit.

Summary of changes:

Remove python3-twisted-bin since there is no FILES defined for bin

Use PYTHON_SITEPACKAGES_DIR when refering to the site-packages directory

Remove ALOT of files from FILES list which no longer exist. Many of these
files were deprecated and removed a long time ago.

Removed redundant :append to FILES packages, they can simply be in the
first definition of it.

Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-14 08:32:42 -07:00
Tim Orling
94c20e1ef4
meta-python: drop ${PYTHON_PN}
python 2 is long unsupported, so we no longer need this variable.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:24 -08:00
Hains van den Bosch
0cd4da100f python3-twisted: Add python3-typing-extensions to RDEPENDS
To fix crash due to missing module:

File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 42, in <module>
from typing_extensions import Literal, ParamSpec, Protocol
ModuleNotFoundError: No module named 'typing_extensions'

Signed-off-by: Hains van den Bosch <hainsvdbosch@ziggo.nl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-11 16:21:18 -08:00
Hains van den Bosch
78386ad01d python3-twisted: Add python3-asyncio to RDEPENDS
To fix crash due to missing module:

from twisted.internet import defer
File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 14, in <module>
from asyncio import AbstractEventLoop, Future, iscoroutine
ModuleNotFoundError: No module named 'asyncio'

Signed-off-by: Hains van den Bosch <hainsvdbosch@ziggo.nl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-11 16:21:18 -08:00
Leon Anavi
8d45170e69 python3-twisted: Upgrade 22.8.0 -> 22.10.0
Upgrade to release 22.10.0:

- The systemd: endpoint parser now supports "named" file
  descriptors. This is a more reliable mechanism for choosing
  among several inherited descriptors.
- The systemd endpoint parser's index parameter is now documented
  as leading to non-deterministic results in which descriptor is
  selected. The new name parameter is now documented as preferred.
- The implementers of Zope interfaces are once more displayed in
  the documentations.
- twisted.protocols.dict, which was deprecated in 17.9, has been
  removed.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-07 08:39:05 -08:00