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

commit 07844679c4961dcf8f8db01b0bd53550ea92d59c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Oct 31 14:22:42 2025 +0000

    gnu: python-aioitertools: Reduce closure size, enable tests.
    
    * gnu/packages/python-web.scm (python-aioitertools):
    [arguments] <tests?>: Enable.
    <test-backend, test-flags>: Use 'custom.
    [propagated-inputs]: Remove python-typing-extensions.
    [native-inputs]: Remove python-coverage, python-flake8, python-mypy,
    python-pytest, python-pytest-asyncio, and python-sphinx.
    
    Change-Id: Id6a02edb958053e5e62fb07054de8f2716096598
---
 gnu/packages/python-web.scm | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 73ae950724..90da28eb4a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1904,17 +1904,11 @@ DNS name.")
        (sha256
         (base32 "0syxv2r90d6410hc68jxhk610pdgx19n1n5rc7shaxxv9xdhbaf2"))))
     (build-system pyproject-build-system)
-    ;; Curiously, no tests are collected although they exist.
-    (arguments (list #:tests? #false))
-    (propagated-inputs (list python-typing-extensions))
+    (arguments
+     (list #:test-backend #~'custom
+           #:test-flags #~(list "-m" "aioitertools.tests")))
     (native-inputs
-     (list python-coverage
-           python-flake8
-           python-flit-core
-           python-mypy
-           python-pytest
-           python-pytest-asyncio
-           python-sphinx))
+     (list python-flit-core))
     (home-page "https://pypi.org/project/aioitertools/";)
     (synopsis "Itertools and builtins for AsyncIO and mixed iterables")
     (description

Reply via email to