guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 6acd3dce34278a98e6c586f0451b7817a46ae75a
Author: Simon Tournier <[email protected]>
AuthorDate: Wed Aug 20 17:04:37 2025 +0200
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 <[email protected]>
---
gnu/packages/python-web.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index c7bcdfa6b7..25997014ad 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