[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#76835] [PATCH v3 01/40] gnu: gunicorn: Migrate 'check phase to pypr
From: |
Nicolas Graves |
Subject: |
[bug#76835] [PATCH v3 01/40] gnu: gunicorn: Migrate 'check phase to pyproject-build-system. |
Date: |
Mon, 10 Mar 2025 03:16:06 +0100 |
* gnu/packages/python-web.scm (gunicorn)[arguments]
{phases}: Remove 'check phase and migrate its flags to...
{test-flags}: ...here.
---
gnu/packages/python-web.scm | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7495616f2e..4765ab2358 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7304,23 +7304,17 @@ (define-public gunicorn
(outputs '("out" "doc"))
(build-system pyproject-build-system)
(arguments
- `(#:phases
+ `(#:test-flags
+ ;; Disable the geventlet tests because eventlet uses dnspython, which
+ ;; does not work in the build container due to lack of /etc/resolv.conf
+ '("--ignore=tests/workers/test_geventlet.py")
+ #:phases
(modify-phases %standard-phases
(add-after 'build 'build-doc
(lambda _
(invoke "make" "-C" "docs" "PAPER=a4" "html" "info")
(delete-file "docs/build/texinfo/Makefile")
(delete-file "docs/build/texinfo/Gunicorn.texi")))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (if tests?
- (begin
- (invoke "pytest" "-vv"
- ;; Disable the geventlet tests because eventlet uses
- ;; dnspython, which does not work in the build
- ;; container due to lack of /etc/resolv.conf, etc.
- "--ignore=tests/workers/test_geventlet.py"))
- (format #t "test suite not run~%"))))
(add-after 'install 'install-doc
(lambda* (#:key outputs #:allow-other-keys)
(let* ((doc (string-append (assoc-ref outputs "doc")
--
2.48.1
- [bug#76835] [PATCH v2 04/24] gnu: Add python-rrdtool., (continued)
- [bug#76835] [PATCH v2 04/24] gnu: Add python-rrdtool., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v2 09/24] gnu: patchwork: Update to 3.2.1., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v2 12/24] gnu: Remove python-sphinx-autodoc-typehints-5., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v2 14/24] gnu: python-numpy-documentation: Update python-sphinx native-input., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v2 16/24] gnu: Remove python-anyjson., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v2 17/24] gnu: Remove python-parameterizedtestcase., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v2 22/24] gnu: python-importlib-resources: Update python-setuptools input., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v2 10/24] gnu: Remove python-django-3.2., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v2 24/24] gnu: Remove python-setuptools-57., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v2 23/24] gnu: python-louvain: Use pyproject-build-system., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v3 01/40] gnu: gunicorn: Migrate 'check phase to pyproject-build-system.,
Nicolas Graves <=
- [bug#76835] [PATCH v3 03/40] gnu: python-carbon: Update to 1.1.10., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v3 04/40] gnu: Add python-rrdtool., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v3 06/40] gnu: graphite-web: Update to 1.1.10-2.49c28e2., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v3 09/40] gnu: patchwork: Update to 3.2.1., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v3 12/40] gnu: Remove python-sphinx-autodoc-typehints-5., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v3 07/40] gnu: python-nptyping: Ignore failing test., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v3 08/40] gnu: python-cfn-lint: Update to 1.28.0., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v3 11/40] gnu: python-uqbar: Update to 7.0.0., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v3 02/40] gnu: python-unyt: Avoid deprecation failure in tests., Nicolas Graves, 2025/03/09
- [bug#76835] [PATCH v3 05/40] gnu: python-h2: Fix test-flags., Nicolas Graves, 2025/03/09