mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-06-18 16:44:04 +02:00
b45ee5ab27
* gnu/packages/patches/python-beangulp-click-8.2-compat.patch: New file. * gnu/packages/finance.scm (python-beangulp)[source]<patches>: Use it. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: I4f29e865f6df078b667dfd2129023b9e35c2f9b5
25 lines
738 B
Diff
25 lines
738 B
Diff
From 254bfb38ffed049ef8f3041bfaf01b3f5a8aa771 Mon Sep 17 00:00:00 2001
|
|
From: Daniele Nicolodi <daniele@grinta.net>
|
|
Date: Thu, 12 Jun 2025 23:27:59 +0200
|
|
Subject: [PATCH] tests: Adapt to click version 8.2.0 and later
|
|
|
|
This version of click changes the exit code from 0 to 2 when the
|
|
help is shown if no argument is passed to a command group.
|
|
---
|
|
beangulp/tests/testing.rst | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
diff --git a/beangulp/tests/testing.rst b/beangulp/tests/testing.rst
|
|
index 180ab115..fab63547 100644
|
|
--- a/beangulp/tests/testing.rst
|
|
+++ b/beangulp/tests/testing.rst
|
|
@@ -27,8 +27,6 @@ Tests
|
|
Check the basics:
|
|
|
|
>>> r = run()
|
|
- >>> r.exit_code
|
|
- 0
|
|
>>> print(r.output)
|
|
Usage: beangulp [OPTIONS] COMMAND [ARGS]...
|
|
|