GNU bug report logs - #71984
[PATCH python-team] gnu: python-pygments: Update to 2.18.0.

Previous Next

Package: guix-patches;

Reported by: Felix Gruber <felgru <at> posteo.net>

Date: Sun, 7 Jul 2024 18:35:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

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 71984 in the body.
You can then email your comments to 71984 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 lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#71984; Package guix-patches. (Sun, 07 Jul 2024 18:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Felix Gruber <felgru <at> posteo.net>:
New bug report received and forwarded. Copy sent to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org. (Sun, 07 Jul 2024 18:35:02 GMT) Full text and rfc822 format available.

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

From: Felix Gruber <felgru <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Felix Gruber <felgru <at> posteo.net>
Subject: [PATCH python-team] gnu: python-pygments: Update to 2.18.0.
Date: Sun,  7 Jul 2024 18:34:07 +0000
* gnu/packages/python-xyz.scm (python-pygments): Update to 2.18.0.
[source]: Fix pypi package name; with capital P, the download doesn't
work.
[native-inputs]: Remove python-setuptools and python-wheel;
add python-hatchling.

Change-Id: I85bf3cb2a8c4a996586e820bd582dea777ef930d
---
 gnu/packages/python-xyz.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 30b84d284d..33bb2ef599 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7125,14 +7125,14 @@ (define-public python-doc8
 (define-public python-pygments
   (package
     (name "python-pygments")
-    (version "2.15.1")
+    (version "2.18.0")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "Pygments" version))
+       (uri (pypi-uri "pygments" version))
        (sha256
         (base32
-         "0p3p28fif7m2w5mkd0z99zk9xwgrs3m61x85415qk0fl3ly4vkla"))))
+         "16gi0i80rbk0dnxka9wzx5gm10bfm3lzd29qzwdk349fyc1ghvvq"))))
     (build-system pyproject-build-system)
     (arguments
      (list
@@ -7141,7 +7141,7 @@ (define-public python-pygments
       ;; basic tests.
       '(list "--ignore-glob=tests/*/*")))
     (native-inputs
-     (list python-pytest python-setuptools python-wheel))
+     (list python-hatchling python-pytest))
     (home-page "https://pygments.org/")
     (synopsis "Syntax highlighting")
     (description

base-commit: e4ad2f178af65be6c8ca6e98a667787674cd8c82
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#71984; Package guix-patches. (Mon, 08 Jul 2024 15:19:02 GMT) Full text and rfc822 format available.

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

From: jgart <jgart <at> dismail.de>
To: 71984 <at> debbugs.gnu.org
Cc: Felix Gruber <felgru <at> posteo.net>
Subject: Re: [PATCH python-team] gnu: python-pygments: Update to 2.18.0.
Date: Mon, 08 Jul 2024 10:18:22 -0500
Hi Felix,

This patch is empty according to `mumi am -- -s -S`.

Did you send this patch with git send-email or by some other means like
email attachment?

Just trying to understand why this failed.
-- 
all the best,
jgart




Information forwarded to guix-patches <at> gnu.org:
bug#71984; Package guix-patches. (Mon, 08 Jul 2024 16:22:01 GMT) Full text and rfc822 format available.

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

From: Felix Gruber <felgru <at> posteo.net>
To: jgart <jgart <at> dismail.de>, 71984 <at> debbugs.gnu.org
Subject: Re: [PATCH python-team] gnu: python-pygments: Update to 2.18.0.
Date: Mon,  8 Jul 2024 16:20:50 +0000
Hi jgart,

On 7/8/24 5:18 PM, jgart wrote:
> This patch is empty according to `mumi am -- -s -S`.
> 
> Did you send this patch with git send-email or by some other means like
> email attachment?
> 
> Just trying to understand why this failed.

That's weird. I generated the patch with git send-email from a commit 
that I had on top of the python-team branch.
If I download my email as .mbox from https://issues.guix.gnu.org/71984 
via the "Download raw message" button, I'm able to apply it on top of 
the python-team branch with git am.

I never tried mumi. I wonder what it does differently from git am.

Kind regards,
Felix




Information forwarded to guix-patches <at> gnu.org:
bug#71984; Package guix-patches. (Mon, 08 Jul 2024 16:47:01 GMT) Full text and rfc822 format available.

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

From: "jgart" <jgart <at> dismail.de>
To: "Felix Gruber" <felgru <at> posteo.net>, 71984 <at> debbugs.gnu.org
Subject: Re: [PATCH python-team] gnu: python-pygments: Update to 2.18.0.
Date: Mon, 08 Jul 2024 16:46:01 +0000
Hi Felix,

Oops my fault, I was trying to apply this on master. 🦆

Can you rebase this patch on the master branch? I can review it there. 

The python-team branch is already overloaded, stale, and requires a ton of merge conflict resolving.

Adding python-pygments to the python-team branch will only add to that 🙃

Can you also CC Sharlatan, and ask Sharlatan to try building all the dependents that this patch triggers? 

Sharlatan Hellseher <sharlatanus <at> gmail.com>

I won't be able to test that on my old Thinkpad X230 machine.

all the best,

jgart




Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#71984; Package guix-patches. (Mon, 08 Jul 2024 18:53:02 GMT) Full text and rfc822 format available.

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

From: Felix Gruber <felgru <at> posteo.net>
To: 71984 <at> debbugs.gnu.org,
	jgart <jgart <at> dismail.de>
Cc: Felix Gruber <felgru <at> posteo.net>,
 Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH v2 0/2] gnu: python-pygments: Update to 2.18.0.
Date: Mon,  8 Jul 2024 18:43:35 +0000
Hi jgart, hi Sharlatan,

I've rebased my patch from the python-team branch to master, like jgart
asked for.

Sharlatan, could you try to build all the dependents that my patch
triggers?

I've also included an older commit from the python-team branch that
updated python-pygments to use the pyproject-build-system and enabled
some of its tests.

Kind regards,
Felix


Felix Gruber (1):
  gnu: python-pygments: Update to 2.18.0.

Ricardo Wurmus (1):
  gnu: python-pygments: Update to 2.15.1.

 gnu/packages/python-xyz.scm | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)


base-commit: 13f0f52314244f08eb9fdd626d907c0c3976e06a
-- 
2.43.0





Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#71984; Package guix-patches. (Mon, 08 Jul 2024 18:53:02 GMT) Full text and rfc822 format available.

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

From: Felix Gruber <felgru <at> posteo.net>
To: 71984 <at> debbugs.gnu.org,
	jgart <jgart <at> dismail.de>
Cc: Ricardo Wurmus <rekado <at> elephly.net>,
 Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH v2 1/2] gnu: python-pygments: Update to 2.15.1.
Date: Mon,  8 Jul 2024 18:43:36 +0000
From: Ricardo Wurmus <rekado <at> elephly.net>

* gnu/packages/python-xyz.scm (python-pygments): Update to 2.15.1.
[build-system]: Use pyproject-build-system.
[arguments]: Run tests.
[native-inputs]: Add python-pytest.
---
 gnu/packages/python-xyz.scm | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1c432e9b65..05d4a8b710 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7019,18 +7019,23 @@ (define-public python-doc8
 (define-public python-pygments
   (package
     (name "python-pygments")
-    (version "2.12.0")
+    (version "2.15.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "Pygments" version))
        (sha256
         (base32
-         "1sr6iqh21xi6p8aba4wa9pqfhjbbpcvn9jcsx0ggy4lniw8idcay"))))
-    (build-system python-build-system)
+         "0p3p28fif7m2w5mkd0z99zk9xwgrs3m61x85415qk0fl3ly4vkla"))))
+    (build-system pyproject-build-system)
     (arguments
-     ;; FIXME: Tests require sphinx, which depends on this.
-     '(#:tests? #f))
+     (list
+      #:test-flags
+      ;; Some tests require sphinx, which depends on this, so we only run
+      ;; basic tests.
+      '(list "--ignore-glob=tests/*/*")))
+    (native-inputs
+     (list python-pytest))
     (home-page "https://pygments.org/")
     (synopsis "Syntax highlighting")
     (description
-- 
2.43.0





Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#71984; Package guix-patches. (Mon, 08 Jul 2024 18:53:03 GMT) Full text and rfc822 format available.

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

From: Felix Gruber <felgru <at> posteo.net>
To: 71984 <at> debbugs.gnu.org,
	jgart <jgart <at> dismail.de>
Cc: Felix Gruber <felgru <at> posteo.net>,
 Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH v2 2/2] gnu: python-pygments: Update to 2.18.0.
Date: Mon,  8 Jul 2024 18:43:37 +0000
* gnu/packages/python-xyz.scm (python-pygments): Update to 2.18.0.
[source]: Fix pypi package name; with capital P, the download doesn't
work.
[native-inputs]: Add python-hatchling.

Change-Id: I85bf3cb2a8c4a996586e820bd582dea777ef930d
---
 gnu/packages/python-xyz.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 05d4a8b710..4cd971fbaa 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7019,14 +7019,14 @@ (define-public python-doc8
 (define-public python-pygments
   (package
     (name "python-pygments")
-    (version "2.15.1")
+    (version "2.18.0")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "Pygments" version))
+       (uri (pypi-uri "pygments" version))
        (sha256
         (base32
-         "0p3p28fif7m2w5mkd0z99zk9xwgrs3m61x85415qk0fl3ly4vkla"))))
+         "16gi0i80rbk0dnxka9wzx5gm10bfm3lzd29qzwdk349fyc1ghvvq"))))
     (build-system pyproject-build-system)
     (arguments
      (list
@@ -7035,7 +7035,7 @@ (define-public python-pygments
       ;; basic tests.
       '(list "--ignore-glob=tests/*/*")))
     (native-inputs
-     (list python-pytest))
+     (list python-hatchling python-pytest))
     (home-page "https://pygments.org/")
     (synopsis "Syntax highlighting")
     (description
-- 
2.43.0





Information forwarded to guix-patches <at> gnu.org:
bug#71984; Package guix-patches. (Mon, 08 Jul 2024 19:43:02 GMT) Full text and rfc822 format available.

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

From: "jgart" <jgart <at> dismail.de>
To: "Felix Gruber" <felgru <at> posteo.net>, 71984 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>,
 Munyoki Kilyungi <me <at> bonfacemunyoki.com>, Lars-Dominik Braun <lars <at> 6xq.net>,
 Marius Bakke <marius <at> gnu.org>, Felix Gruber <felgru <at> posteo.net>,
 Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: Re: [bug#71984] [PATCH v2 2/2] gnu: python-pygments: Update to 2.18.0.
Date: Mon, 08 Jul 2024 19:42:34 +0000
Hi Sharlatan,

You had mentioned previously being able to test patches that require a lot of builds on your own build machine.

Could you test this v2 that Felix just sent to bug#71984 along with all top-level dependent packages that would need to be rebuilt as a result of it (guix refresh -l) when you get a chance and reply back to us with the result?

QA doesn't seem to be working for ticket #71984.

Thanks!

jgart




Information forwarded to guix-patches <at> gnu.org:
bug#71984; Package guix-patches. (Thu, 18 Jul 2024 14:57:01 GMT) Full text and rfc822 format available.

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

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Felix Gruber <felgru <at> posteo.net>
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>, jgart <jgart <at> dismail.de>,
 71984 <at> debbugs.gnu.org
Subject: Re: [PATCH v2 1/2] gnu: python-pygments: Update to 2.15.1.
Date: Thu, 18 Jul 2024 16:56:05 +0200
Felix Gruber <felgru <at> posteo.net> writes:

> From: Ricardo Wurmus <rekado <at> elephly.net>
>
> * gnu/packages/python-xyz.scm (python-pygments): Update to 2.15.1.
> [build-system]: Use pyproject-build-system.
> [arguments]: Run tests.
> [native-inputs]: Add python-pytest.

I don't understand why this should go to he master branch.  It's already
on the python-team branch and it hasn't been merged, because there has
been quite a bit of fallout from this change and the changes it
prompted.

I'd prefer to just bring the python-team branch in order and merge it
once core-updates is ready.

-- 
Ricardo




Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#71984; Package guix-patches. (Thu, 23 Jan 2025 19:48:02 GMT) Full text and rfc822 format available.

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

From: Felix Gruber <felgru <at> posteo.net>
To: 71984 <at> debbugs.gnu.org
Cc: Felix Gruber <felgru <at> posteo.net>
Subject: [PATCH] gnu: python-pygments: Update to 2.19.1.
Date: Thu, 23 Jan 2025 19:47:31 +0000
* gnu/packages/python-xyz.scm (python-pygments): Update to 2.19.1.
[source]: Fix pypi package name; with capital P, the download doesn't
work.
[native-inputs]: Add python-hatchling; remove python-setuptools and
python-wheel.

Change-Id: I85bf3cb2a8c4a996586e820bd582dea777ef930d
---
 gnu/packages/python-xyz.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9e5fa9a26c..c8b5ed1424 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7729,14 +7729,14 @@ (define-public python-pygdbmi
 (define-public python-pygments
   (package
     (name "python-pygments")
-    (version "2.15.1")
+    (version "2.19.1")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "Pygments" version))
+       (uri (pypi-uri "pygments" version))
        (sha256
         (base32
-         "0p3p28fif7m2w5mkd0z99zk9xwgrs3m61x85415qk0fl3ly4vkla"))))
+         "07qm8mx3y5r8ri6zpn0hp9zx5g02bydhi7pkv54hdp3nhlm6vhb1"))))
     (build-system pyproject-build-system)
     (arguments
      (list
@@ -7745,7 +7745,7 @@ (define-public python-pygments
       ;; basic tests.
       '(list "--ignore-glob=tests/*/*")))
     (native-inputs
-     (list python-pytest python-setuptools python-wheel))
+     (list python-hatchling python-pytest))
     (home-page "https://pygments.org/")
     (synopsis "Syntax highlighting")
     (description

base-commit: 253c7c309a03612d8ff8c37ff6af364aaa044e1b
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#71984; Package guix-patches. (Sat, 25 Jan 2025 23:55:01 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 71984 <at> debbugs.gnu.org
Subject: [PATCH python-team] gnu: python-pygments: Update to 2.18.0.
Date: Sat, 25 Jan 2025 23:54:01 +0000
[Message part 1 (text/plain, inline)]
Hi,

With this patch Sphinx 6 fails to build it's default version in Guix
right now. Upstream is on 8+ already, maybe we may include Sphinx
refresh in this iteration as well.

--
Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]

Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Tue, 17 Jun 2025 14:41:02 GMT) Full text and rfc822 format available.

Notification sent to Felix Gruber <felgru <at> posteo.net>:
bug acknowledged by developer. (Tue, 17 Jun 2025 14:41:02 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 71984-done <at> debbugs.gnu.org
Subject: [PATCH python-team] gnu: python-pygments: Update to 2.18.0.
Date: Tue, 17 Jun 2025 15:40:06 +0100
[Message part 1 (text/plain, inline)]
Hi,

Pushed on python-team, thanks.

--
Oleg
[signature.asc (application/pgp-signature, inline)]

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

This bug report was last modified 24 days ago.

Previous Next


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