guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

235/246: gnu: python-socks: Update to 2.6.1.


From: guix-commits
Subject: 235/246: gnu: python-socks: Update to 2.6.1.
Date: Fri, 10 Jan 2025 10:47:55 -0500 (EST)

janneke pushed a commit to branch core-packages-team
in repository guix.

commit b3c28d9420c10aa58ae9d38a17424fc5d755e1c9
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jan 1 22:40:32 2025 +0100

    gnu: python-socks: Update to 2.6.1.
    
    * gnu/packages/python-web.scm (python-socks): Update to 2.6.1.
    [arguments]: Enable tests; remove custom 'check phase.
    [build-system]: Use pyproject-build-system.
    [propagated-inputs]: Remove python-async-timeout and python-curio.
    [native-inputs]: Add python-anyio, python-async-timeout, python-flask,
    python-pytest-asyncio, python-setuptools, python-tiny-proxy, python-trustme,
    python-wheel, and python-yarl.
    
    Change-Id: If1b10ed7a2a6ab7358c7e440224b5c406977ad68
---
 gnu/packages/python-web.scm | 29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 992e60604e..808a265591 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8190,27 +8190,28 @@ fast.  It allows the usage of the @code{async/await} 
syntax added in Python
 (define-public python-socks
   (package
     (name "python-socks")
-    (version "2.0.3")
+    (version "2.6.1")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "python-socks" version))
+       (uri (pypi-uri "python_socks" version))
        (sha256
         (base32
-         "12msk06c0glljcrx1byd78xgv05lxw81vknqwhn8ccs7an7cmag3"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:tests? #f                      ; tests not included
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "pytest" "tests/" "-s")))))))
+         "17pcyd1gg2a7k2i4lvnqi9095brhf7pbpkqfcjmhpzkgmfd94hwp"))))
+    (build-system pyproject-build-system)
     (propagated-inputs
-     (list python-async-timeout python-curio python-trio))
+     (list python-trio))
     (native-inputs
-     (list python-pytest))
+     (list python-anyio
+           python-async-timeout
+           python-flask
+           python-pytest
+           python-pytest-asyncio
+           python-setuptools
+           python-tiny-proxy
+           python-trustme
+           python-wheel
+           python-yarl))
     (home-page "https://github.com/romis2012/python-socks";)
     (synopsis
      "Core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality for Python")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]