GNU bug report logs - #75941
[PATCH] gnu: python-lsp-black: Update to 2.0.0.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Thu, 30 Jan 2025 09:12:02 UTC

Severity: normal

Tags: patch

Done: jgart <jgart <at> dismail.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75941 in the body.
You can then email your comments to 75941 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#75941; Package guix-patches. (Thu, 30 Jan 2025 09:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Graves <ngraves <at> ngraves.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 30 Jan 2025 09:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: python-lsp-black: Update to 2.0.0.
Date: Tue, 21 Jan 2025 16:06:26 +0100
* gnu/packages/python-xyz.scm (python-lsp-black): Update to 2.0.0.
[arguments]<#:test-flags>: Add failing tests.
---
 gnu/packages/python-xyz.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bf18dec630..763b0fee77 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3529,7 +3529,7 @@ (define-public python-pylatexenc
 (define-public python-lsp-black
   (package
     (name "python-lsp-black")
-    (version "1.3.0")
+    (version "2.0.0")
     (source
      (origin
        (method git-fetch)
@@ -3538,8 +3538,16 @@ (define-public python-lsp-black
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1gwf3vwb01a3l8b75jbn8kyfmn0lva8vpgjnr75vazhm3lsf78fp"))))
+        (base32 "0ilh6nx15kzrp29nkrpx03vx6dw3n7wq65qwv7bg7kcnyiwacplx"))))
     (build-system pyproject-build-system)
+    (arguments
+     ;; The python version is too old for these tests to pass properly.
+     (list #:test-flags
+           `'("-k" ,(string-append
+                     "not test_pylsp_format_document_syntax_error"
+                     " and not test_pylsp_format_range_syntax_error"
+                     " and not test_load_config_defaults"
+                     " and not test_load_config_with_skip_options"))))
     (propagated-inputs
      (list python-black python-lsp-server python-tomli))
     (native-inputs
-- 
2.47.1



-- 
Best regards,
Nicolas Graves




Reply sent to jgart <jgart <at> dismail.de>:
You have taken responsibility. (Mon, 03 Feb 2025 21:35:02 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Graves <ngraves <at> ngraves.fr>:
bug acknowledged by developer. (Mon, 03 Feb 2025 21:35:02 GMT) Full text and rfc822 format available.

Message #10 received at 75941-done <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 75941-done <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: Re: [PATCH] gnu: python-lsp-black: Update to 2.0.0.
Date: Mon, 03 Feb 2025 16:33:43 -0500
Applied, thanks!
-- 
all the best,
jgart




Information forwarded to guix-patches <at> gnu.org:
bug#75941; Package guix-patches. (Mon, 03 Feb 2025 21:36:02 GMT) Full text and rfc822 format available.

Message #13 received at 75941-done <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 75941-done <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: Re: [PATCH] gnu: python-lsp-black: Update to 2.0.0.
Date: Mon, 03 Feb 2025 16:35:03 -0500




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 04 Mar 2025 12:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.