Seite 37 von 37
Re: NI-Buildsystem
Verfasst: Mi 10. Dez 2025, 22:04
von vanhofen
Du bist dir sicher, jokel, dass wir zwingend hatch-fancy-pypi-readme auf dem Host brauchen, um streamlink zu bauen?
https://github.com/hynek/hatch-fancy-pypi-readme#readme
Re: NI-Buildsystem
Verfasst: Mi 10. Dez 2025, 23:33
von jokel
sonst wird attrs nicht gebaut mit hatch .. das wird aber immer mehr kommen und ist ja eine
erweiterung für hatch .. das wird also früher oder später öfters gebraucht werden ..
ist ja in dem link von dir oben gut beschrieben.
oder weisst du was .. was ich nicht weiss .. bzw. was sind deine bedenken ..
Re: NI-Buildsystem
Verfasst: Mi 10. Dez 2025, 23:44
von vanhofen
OK, dann gehört die Anhängigkeit aber zu python-attrs.
Ich ändere das.
Re: NI-Buildsystem
Verfasst: Fr 12. Dez 2025, 12:19
von jokel
@vanhofen .. habe eben gebaut und geflasht .. streamlink funktioniert nicht ..
weil das fehlt ..
File "/usr/lib/python3.11/site-packages/trio/_core/__init__.py", line 9, in <module>
from ._entry_queue import TrioToken
File "/usr/lib/python3.11/site-packages/trio/_core/_entry_queue.py", line 11, in <module>
from .._util import NoPublicConstructor, final
File "/usr/lib/python3.11/site-packages/trio/_util.py", line 19, in <module>
from sniffio import thread_local as sniffio_loop
ModuleNotFoundError: No module named 'sniffio'
[cli][info] streamlink is running as root! Be careful!
error: No plugin can handle URL:
https://b65bae68.wurl.com/manifest/f36d ... fbe/2.m3u8
und so sieht es aus wenn python-sniffio on board ist ..
Code: Alles auswählen
[jokel ~]# ./start-streamlink.sh https://jmp2.uk/stvp-DE3200015MJ
hole Stream-URL via yt-dlp...
Wiedergabe mit Streamlink...
[cli][info] streamlink is running as root! Be careful!
[cli][info] Found matching plugin hls for URL https://b65bae68.wurl.com/manifest/f36d25e7e52f1ba8d7e56eb859c636563214f541/U2Ftc3VuZy1kZV9MYWR5a3JhY2hlcl9ITFM/bb437d42-c1d4-4b1c-b808-2beaca91c5f1/2.m3u8
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (hls)
-
[+] Spoiler
also bitte einbauen ..

Re: NI-Buildsystem
Verfasst: Fr 12. Dez 2025, 17:56
von vanhofen
Code: Alles auswählen
dependencies = [
# attrs 19.2.0 adds `eq` option to decorators
# attrs 20.1.0 adds @frozen
# attrs 21.1.0 adds a dataclass transform for type-checkers
# attrs 21.3.0 adds `import attrs`
"attrs >= 23.2.0",
"sortedcontainers",
"idna",
"outcome",
"sniffio >= 1.3.0",
# cffi 1.12 adds from_buffer(require_writable=True) and ffi.release()
# cffi 1.14 fixes memory leak inside ffi.getwinerror()
# cffi is required on Windows, except on PyPy where it is built-in
"cffi>=1.14; os_name == 'nt' and implementation_name != 'pypy'",
"exceptiongroup; python_version < '3.11'",
]
Mist, das hab ich gestern beim copy/pasten irgendwie übersehen.
Re: NI-Buildsystem
Verfasst: Fr 12. Dez 2025, 18:12
von jokel
war ja auch schon spät ..
ich hatte das gesehen und dachte noch .. wie wo was ?
und wer ist schuld .. trio ..
sonst läuft es ..