Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
feeluown-ytmusic


Commits:
9b58f57f by loqs at 2026-01-01T17:23:26+00:00
Fix python 3.14 breakage

Use `from __future__ import annotations` turn all type annotations into strings 
disabling native lazy evaluation which was introduced in python 3.14 breaking 
type inference in fuo_ytmusic/models.py.

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -23,6 +23,9 @@ 
sha256sums=('18df9ba5f5fe2c61ccedb9a47c575e111c4ccb9583bb16a5c92fea1e3d870fa1'
 prepare() {
        cd $pkgname
        patch -p1 -i ../$pkgname-fix-test_stream_url.patch
+       # Fix breakage with python 3.14
+       # turn all type annotations into strings disabling native lazy 
evaluation
+       sed -i '1i from __future__ import annotations' fuo_ytmusic/models.py
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/feeluown-ytmusic/-/commit/9b58f57f9410d69e6df715246b7b608bf8fab612

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/feeluown-ytmusic/-/commit/9b58f57f9410d69e6df715246b7b608bf8fab612
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to