rekado pushed a commit to branch python-team
in repository guix.

commit ffb89f976b407916198be0ba6959b7265b41da1d
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jan 26 17:56:40 2025 +0000

    gnu: streamlink: Update to 7.1.2.
    
    * gnu/packages/video.scm (streamlink): Update to 7.1.2. Fix build.
    [source] <snippet>: Remove as redundunt.
    [bulid-system]: Swap to pyproject-build-system.
    [argument] <test-flags>: Skip one test.
    <phases>: Use default 'check.
    [propagated-inputs]: Remove python-typing-extensions; add
    python-exceptiongroup.
    [native-inputs]: Remove python-pytest-asyncio; add python-setuptools and
    python-wheel.
    
    Change-Id: I62d3a95748530f26d064b359cce9c87452235cf5
---
 gnu/packages/video.scm | 27 ++++++++++-----------------
 1 file changed, 10 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 8a6feb267d..04e60a9d43 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3800,34 +3800,28 @@ and custom quantization matrices.")
 (define-public streamlink
   (package
     (name "streamlink")
-    (version "6.3.1")
+    (version "7.1.2")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "streamlink" version))
         (sha256
          (base32
-          "0i2qym2plm4gpcq50vl67j69m8a4zz9mb8gi2xryx28pbnpdzh4k"))
-        (snippet
-         #~(begin (use-modules (guix build utils))
-                  (substitute* "pyproject.toml"
-                    (("trio >=0\\.22") "trio >=0.21"))))))
-    (build-system python-build-system)
+          "1mvg8lw3rkng6ciryziqh9r4ffj0ls7k0sv3byk3439s5d2qxh31"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-          (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                  (invoke "python" "-m" "pytest")))))))
+     (list
+      #:test-flags #~(list "-k" "not test_no_cache")))
     (native-inputs
      (list python-freezegun
-           python-requests-mock
            python-pytest
-           python-pytest-asyncio
-           python-pytest-trio))
+           python-pytest-trio
+           python-requests-mock
+           python-setuptools
+           python-wheel))
     (propagated-inputs
      (list python-certifi
+           python-exceptiongroup
            python-isodate
            python-lxml
            python-pycountry
@@ -3836,7 +3830,6 @@ and custom quantization matrices.")
            python-requests
            python-trio
            python-trio-websocket
-           python-typing-extensions
            python-urllib3
            python-websocket-client))
     (home-page "https://github.com/streamlink/streamlink";)

Reply via email to