install (dependencies): update miniupnpc and make netifaces optional:

- update `miniupnpc` as latest version have proper wheels, making installation easier.
- `netifaces` is not maintained anymore, and only used optionally in one plugin
  (plugin_misc_ip). It cause troubles during installation because it needs do be build.
  This patch make it optional, and it will probably be removed in the future.
This commit is contained in:
Goffi 2026-03-13 13:01:03 +01:00
commit 1cf75f1126
2 changed files with 46 additions and 19 deletions

View file

@ -32,9 +32,8 @@ dependencies = [
"lxml ~= 5.2",
"lxml_html_clean >= 0.1.1",
"markdown >= 3.0",
"miniupnpc < 2.1",
"miniupnpc >= 2.3.3",
"mutagen < 2",
"netifaces < 0.12",
"oldmemo >= 1.0.0, < 2",
"omemo >= 1.0.0, < 2",
"pillow >= 6.0.0",
@ -91,6 +90,11 @@ TUI = [
webrtc = [
"pygobject >= 3.48",
]
# legacy dependency used in `plugin_misc_ip` but not mandatory, and may cause troubles
# during isntallation. Will be removed in future.
netifaces = [
"netifaces < 0.12",
]
remote-control = [
"libervia-backend[webrtc]",
"cbor2"