core, dependencies: make Libervia compatible with Python 3.14:
- work around a deprecated behaviour in `asyncio.get_event_loop` until the fix is integrated in a released Twisted. - update dependencies to have versions compatible with Python 3.14 - disable `term-image` which is bounded to incompatible Pillow version. It is unmaintained for 1 year, and will probably be removed soon in favor of `textual-image`.
This commit is contained in:
parent
da1a5b691a
commit
ec2cf0a522
3 changed files with 205 additions and 126 deletions
|
|
@ -29,14 +29,14 @@ dependencies = [
|
|||
"html2text < 2020.2",
|
||||
"jinja2 >= 3.1.2",
|
||||
"langid < 2",
|
||||
"lxml ~= 5.2",
|
||||
"lxml",
|
||||
"lxml_html_clean >= 0.1.1",
|
||||
"markdown >= 3.0",
|
||||
"miniupnpc >= 2.3.3",
|
||||
"mutagen < 2",
|
||||
"oldmemo >= 1.0.0, < 2",
|
||||
"omemo >= 1.0.0, < 2",
|
||||
"pillow >= 6.0.0",
|
||||
"pillow >= 11.3.0",
|
||||
"progressbar2 < 3.54",
|
||||
"pydantic ~= 2.12",
|
||||
"pydantic-settings ~= 2.12",
|
||||
|
|
@ -54,10 +54,7 @@ dependencies = [
|
|||
"shortuuid ~= 1.0.11",
|
||||
"sqlalchemy >= 1.4",
|
||||
"treq ~= 24.9.0",
|
||||
# We have to restrict to a version < 24.11.0 due to Wokkel being unmaintained (it
|
||||
# depends on twisted.python.constants which has been removed). This is temporary until
|
||||
# a solution is found for Wokkel.
|
||||
"twisted[tls] >= 22.10, < 24.11.0",
|
||||
"twisted[tls] >= 22.10",
|
||||
"twomemo >= 1.0.0, < 2",
|
||||
"txdbus",
|
||||
"urwid >= 1.2.0, < 3",
|
||||
|
|
@ -84,7 +81,9 @@ GUI = [
|
|||
"PyQt6"
|
||||
]
|
||||
TUI = [
|
||||
"term-image ~= 0.7.1"
|
||||
# We have to disable term-image due to bounded pillow constraint, which is
|
||||
# incompatible with the minimal version required for Python 3.14
|
||||
# "term-image >= 0.7.1"
|
||||
]
|
||||
webrtc = [
|
||||
"pygobject >= 3.48",
|
||||
|
|
|
|||
Loading…
Reference in a new issue