unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#64503] [PATCH] gnu: python-pygments: Update to 2.15.1.
@ 2023-07-06 21:18 Ricardo Wurmus
  2023-07-09 17:05 ` Lars-Dominik Braun
  2024-02-27 10:18 ` bug#64503: " Ricardo Wurmus
  0 siblings, 2 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2023-07-06 21:18 UTC (permalink / raw)
  To: 64503; +Cc: Ricardo Wurmus, Lars-Dominik Braun, jgart

* 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 a89f25b5b6..89a75556bd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5913,18 +5913,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

base-commit: 2426e51688d479042ea115a634c6be2d8b9f3b99
prerequisite-patch-id: 64bdaf1b46e713c11e7e3befc50968710d721da1
prerequisite-patch-id: 33eb796cc51e4372cab09fce61b1c4da73c5884d
-- 
2.40.1





^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#64503] [PATCH] gnu: python-pygments: Update to 2.15.1.
  2023-07-06 21:18 [bug#64503] [PATCH] gnu: python-pygments: Update to 2.15.1 Ricardo Wurmus
@ 2023-07-09 17:05 ` Lars-Dominik Braun
  2023-07-09 19:53   ` Ricardo Wurmus
  2024-02-27 10:18 ` bug#64503: " Ricardo Wurmus
  1 sibling, 1 reply; 10+ messages in thread
From: Lars-Dominik Braun @ 2023-07-09 17:05 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 64503, jgart

Hi,

> * 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.

LGTM. How do you want to push this, since it affects alot of
packages? python-team?

Lars





^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#64503] [PATCH] gnu: python-pygments: Update to 2.15.1.
  2023-07-09 17:05 ` Lars-Dominik Braun
@ 2023-07-09 19:53   ` Ricardo Wurmus
  2023-07-10  6:17     ` Lars-Dominik Braun
  0 siblings, 1 reply; 10+ messages in thread
From: Ricardo Wurmus @ 2023-07-09 19:53 UTC (permalink / raw)
  To: Lars-Dominik Braun; +Cc: 64503, jgart, Nicolas Goaziou


Lars-Dominik Braun <lars@6xq.net> writes:

>> * 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.
>
> LGTM. How do you want to push this, since it affects alot of
> packages? python-team?

Either that or piggy-backing on the tex-team branch that’s about ready
to be built these days.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#64503] [PATCH] gnu: python-pygments: Update to 2.15.1.
  2023-07-09 19:53   ` Ricardo Wurmus
@ 2023-07-10  6:17     ` Lars-Dominik Braun
  2023-07-18  8:05       ` Ricardo Wurmus
  0 siblings, 1 reply; 10+ messages in thread
From: Lars-Dominik Braun @ 2023-07-10  6:17 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 64503, jgart, Nicolas Goaziou

Hi,

> Either that or piggy-backing on the tex-team branch that’s about ready
> to be built these days.

tex-team will probably be faster. python-team is not ready yet,
unfortunately :(

Lars





^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#64503] [PATCH] gnu: python-pygments: Update to 2.15.1.
  2023-07-10  6:17     ` Lars-Dominik Braun
@ 2023-07-18  8:05       ` Ricardo Wurmus
  2023-07-18  8:41         ` Lars-Dominik Braun
  0 siblings, 1 reply; 10+ messages in thread
From: Ricardo Wurmus @ 2023-07-18  8:05 UTC (permalink / raw)
  To: Lars-Dominik Braun; +Cc: 64503, jgart, Nicolas Goaziou


Lars-Dominik Braun <lars@6xq.net> writes:

>> Either that or piggy-backing on the tex-team branch that’s about ready
>> to be built these days.
>
> tex-team will probably be faster. python-team is not ready yet,
> unfortunately :(

After discussing with ngz, we think it’s better to keep this out of
tex-team, because there’s a chance of unforeseen breakage.  May I push
this to the python-team branch?

-- 
Ricardo




^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#64503] [PATCH] gnu: python-pygments: Update to 2.15.1.
  2023-07-18  8:05       ` Ricardo Wurmus
@ 2023-07-18  8:41         ` Lars-Dominik Braun
  2023-07-18  9:39           ` Ricardo Wurmus
  2023-07-19 23:49           ` jgart via Guix-patches via
  0 siblings, 2 replies; 10+ messages in thread
From: Lars-Dominik Braun @ 2023-07-18  8:41 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 64503, jgart, Nicolas Goaziou

Hey Ricardo,

> After discussing with ngz, we think it’s better to keep this out of
> tex-team, because there’s a chance of unforeseen breakage.  May I push
> this to the python-team branch?

sure. Please create a new branch, since python-team does not exist
yet. I’ll also push some things I’m working on later and #64573
would probably be a good candidate for python-team too.

Cheers,
Lars





^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#64503] [PATCH] gnu: python-pygments: Update to 2.15.1.
  2023-07-18  8:41         ` Lars-Dominik Braun
@ 2023-07-18  9:39           ` Ricardo Wurmus
  2023-07-19 23:49           ` jgart via Guix-patches via
  1 sibling, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2023-07-18  9:39 UTC (permalink / raw)
  To: Lars-Dominik Braun; +Cc: 64503, jgart, Nicolas Goaziou


Hi Lars,

>> After discussing with ngz, we think it’s better to keep this out of
>> tex-team, because there’s a chance of unforeseen breakage.  May I push
>> this to the python-team branch?
>
> sure. Please create a new branch, since python-team does not exist
> yet. I’ll also push some things I’m working on later and #64573
> would probably be a good candidate for python-team too.

Okay, I’ve pushed this and #64573 to a new python-team branch and added
a specification on ci.guix.gnu.org to build the branch for x86_64.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#64503] [PATCH] gnu: python-pygments: Update to 2.15.1.
  2023-07-18  8:41         ` Lars-Dominik Braun
  2023-07-18  9:39           ` Ricardo Wurmus
@ 2023-07-19 23:49           ` jgart via Guix-patches via
  2023-07-20  6:39             ` Ricardo Wurmus
  1 sibling, 1 reply; 10+ messages in thread
From: jgart via Guix-patches via @ 2023-07-19 23:49 UTC (permalink / raw)
  To: Ricardo Wurmus, Lars-Dominik Braun; +Cc: 64503, Nicolas Goaziou

Thanks Ricardo,

I'll take a closer look at the Python branch soon. What is the timeline for when the Python branch is expected to be merged into master?

Have we agreed on that timeline somewhere and I missed it?

all best,

jgart




^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#64503] [PATCH] gnu: python-pygments: Update to 2.15.1.
  2023-07-19 23:49           ` jgart via Guix-patches via
@ 2023-07-20  6:39             ` Ricardo Wurmus
  0 siblings, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2023-07-20  6:39 UTC (permalink / raw)
  To: jgart; +Cc: 64503, Lars-Dominik Braun


"jgart" <jgart@dismail.de> writes:

> I'll take a closer look at the Python branch soon. What is the
> timeline for when the Python branch is expected to be merged into
> master?
>
> Have we agreed on that timeline somewhere and I missed it?

No, there’s no plan yet.

I see that the pygments upgrade broke sphinx, so that would be the next
thing to fix.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#64503: [PATCH] gnu: python-pygments: Update to 2.15.1.
  2023-07-06 21:18 [bug#64503] [PATCH] gnu: python-pygments: Update to 2.15.1 Ricardo Wurmus
  2023-07-09 17:05 ` Lars-Dominik Braun
@ 2024-02-27 10:18 ` Ricardo Wurmus
  1 sibling, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2024-02-27 10:18 UTC (permalink / raw)
  To: 64503-done

This is on python-team and sphinx has been upgraded too.  Closing.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-02-27 10:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-06 21:18 [bug#64503] [PATCH] gnu: python-pygments: Update to 2.15.1 Ricardo Wurmus
2023-07-09 17:05 ` Lars-Dominik Braun
2023-07-09 19:53   ` Ricardo Wurmus
2023-07-10  6:17     ` Lars-Dominik Braun
2023-07-18  8:05       ` Ricardo Wurmus
2023-07-18  8:41         ` Lars-Dominik Braun
2023-07-18  9:39           ` Ricardo Wurmus
2023-07-19 23:49           ` jgart via Guix-patches via
2023-07-20  6:39             ` Ricardo Wurmus
2024-02-27 10:18 ` bug#64503: " Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).