[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
422/474: gnu: python-green: Adjust inputs.
From: |
guix-commits |
Subject: |
422/474: gnu: python-green: Adjust inputs. |
Date: |
Sat, 30 Nov 2024 18:21:07 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit c7c966b1a3c666b1ab7797d6f658db176b18cad9
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Nov 27 00:18:35 2024 +0000
gnu: python-green: Adjust inputs.
* gnu/packages/python-check.scm (python-green):
[arguments]<phases>: Add custom 'check.
[native-inputs]: Remove python-black and python-django; add
python-setuptools and python-wheel.
Change-Id: I3fd3aa1d3e73956d08b1691d6a1d43b6d8d2d019
---
gnu/packages/python-check.scm | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 1e859d5d16..1fd4e58b56 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3167,13 +3167,20 @@ unused.")
(sha256
(base32 "1cd62nbn5dvlpnsyplp6cb24wd230san8dpm6pnl99n2kwzpq1m4"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags #~(list "-vr" "green")
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? test-flags #:allow-other-keys)
+ (when tests?
+ (apply invoke "python" "-m" "green" test-flags)))))))
(native-inputs
- (list python-black
- python-django
- python-mypy
- python-testtools))
- ;; The python-coverage dependency appears both in requirements.txt and
- ;; requirements-dev.txt.
+ (list python-mypy
+ python-setuptools
+ python-testtools
+ python-wheel))
(propagated-inputs
(list python-colorama
python-coverage
- 402/474: gnu: python-aiofiles: Fix indentation., (continued)
- 402/474: gnu: python-aiofiles: Fix indentation., guix-commits, 2024/11/30
- 400/474: gnu: python-redis: Fix build., guix-commits, 2024/11/30
- 404/474: gnu: python-anyio: Update to 4.6.2., guix-commits, 2024/11/30
- 406/474: gnu: python-a2wsgi: Update to 1.10.7., guix-commits, 2024/11/30
- 408/474: gnu: python-starlette: Update to 0.41.3., guix-commits, 2024/11/30
- 410/474: gnu: python-betamax: Update to 0.9.0., guix-commits, 2024/11/30
- 409/474: gnu: Add python-installer., guix-commits, 2024/11/30
- 418/474: gnu: python-slotscheck: Update to 0.19.0., guix-commits, 2024/11/30
- 419/474: gnu: python-quart: Update to 0.19.9., guix-commits, 2024/11/30
- 421/474: gnu: python-jsonschema-specifications: Update to 2024.10.1., guix-commits, 2024/11/30
- 422/474: gnu: python-green: Adjust inputs.,
guix-commits <=
- 429/474: gnu: python-pyflakes: Update to 3.0.1., guix-commits, 2024/11/30
- 431/474: gnu: python-prawcore: Update to 2.4.0., guix-commits, 2024/11/30
- 424/474: gnu: python-openapi-spec-validator: Delete sanity check., guix-commits, 2024/11/30
- 425/474: gnu: python-pypdf: Update to 5.1.0., guix-commits, 2024/11/30
- 435/474: gnu: python-ads: Add missing native-inputs., guix-commits, 2024/11/30
- 436/474: gnu: python-tqdm: Update to 4.67.1., guix-commits, 2024/11/30
- 437/474: gnu: python-fsspec: Update to 2024.10.0., guix-commits, 2024/11/30
- 438/474: gnu: python-coverage: Update to 7.6.8., guix-commits, 2024/11/30
- 441/474: gnu: python-coveralls: Update to 4.0.1., guix-commits, 2024/11/30
- 440/474: gnu: python-pytest-httpx: Update to 0.34.0., guix-commits, 2024/11/30