summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2025-08-20 17:04:37 +0200
committerGreg Hogan <code@greghogan.com>2025-08-21 18:40:31 +0000
commit6acd3dce34278a98e6c586f0451b7817a46ae75a (patch)
tree9c3ff0c57348fa7a304d10eaa93602cab43319e3 /gnu
parentc082db6ceb5e1b5ca2c78a2061ddc604899456a3 (diff)
gnu: python-cfn-lint: Replace hard-coded timebomb.
* gnu/packages/python-web.scm (python-cfn-lint)[arguments]: Add a phase to change the hard-coded deprecation data. Fixes: guix/guix#1733 Reported-by: greghogan Change-Id: I09d75abf4ed513a78d202f0c196d9bd9cfbe5297 Signed-off-by: Greg Hogan <code@greghogan.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-web.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index c7bcdfa6b70..25997014ad4 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2173,6 +2173,13 @@ decode and default on encode.
(build-system pyproject-build-system)
(arguments
(list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-deprecated
+ (lambda _
+ (substitute* "src/cfnlint/data/AdditionalSpecs/LmbdRuntimeLifecycle.json"
+ (("deprecated\": \"2025")
+ "deprecated\": \"2125")))))
;; tests: 1807 passed, 26 deselected, 1 warning
#:test-flags
#~(list "-k" (string-join