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

commit 463d2995e64aa7160180e91fba61ae53633c8065
Author: Nicolas Goaziou <m...@nicolasgoaziou.fr>
AuthorDate: Fri May 24 20:03:25 2024 +0200

    gnu: python-websockets: Update to 12.0.
    
    * gnu/packages/python-web.scm (python-websockets): Update to 12.0.
    [build-system]: Use PYPROJECT-BUILD-SYSTEM.
    [native-inputs]: Add PYTHON-SETUPTOOLS and PYTHON-WHEEL.
    
    Change-Id: I03cf0233ceb9a2767fb1086bd6a6615cdcd2e78c
---
 gnu/packages/python-web.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4f95a6d992..04f98b8a4d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -24,7 +24,7 @@
 ;;; Copyright © 2015, 2016 David Thompson <da...@gnu.org>
 ;;; Copyright © 2017 Mark Meyer <m...@ofosos.org>
 ;;; Copyright © 2018 Tomáš Čech <sleep_wal...@gnu.org>
-;;; Copyright © 2018, 2019, 2021 Nicolas Goaziou <m...@nicolasgoaziou.fr>
+;;; Copyright © 2018, 2019, 2021, 2024 Nicolas Goaziou <m...@nicolasgoaziou.fr>
 ;;; Copyright © 2018 Mathieu Othacehe <m.othac...@gmail.com>
 ;;; Copyright © 2018, 2020, 2021, 2022, 2023 Maxim Cournoyer 
<maxim.courno...@gmail.com>
 ;;; Copyright © 2019 Vagrant Cascadian <vagr...@debian.org>
@@ -6672,7 +6672,7 @@ files.")
 (define-public python-websockets
   (package
     (name "python-websockets")
-    (version "11.0.3")
+    (version "12.0")
     (source
      (origin
        (method git-fetch)
@@ -6682,14 +6682,17 @@ files.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "1hn1qzpk1fvhi5j5nz4xlvzwkj9y16c9gryrb4n4dza84qi1pna5"))))
-    (build-system python-build-system)
+         "1a587a1knjsy9zmgab9v2yncx0803pg2hfcvf7kz6vs8ixaggqmh"))))
+    (build-system pyproject-build-system)
     (arguments
      (list #:phases
            #~(modify-phases %standard-phases
                (add-before 'check 'extend-test-timeout
                  (lambda _
                    (setenv "WEBSOCKETS_TESTS_TIMEOUT_FACTOR" "10"))))))
+    (native-inputs
+     (list python-setuptools
+           python-wheel))
     (home-page "https://github.com/aaugustin/websockets";)
     (synopsis
      "Python implementation of the WebSocket Protocol (RFC 6455 & 7692)")

Reply via email to