From 6acd3dce34278a98e6c586f0451b7817a46ae75a Mon Sep 17 00:00:00 2001 From: Simon Tournier Date: Wed, 20 Aug 2025 17:04:37 +0200 Subject: 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 --- gnu/packages/python-web.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu/packages/python-web.scm') 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 -- cgit v1.3