[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: abjad 3.6 and python 3.10

From: zimoun
Subject: Re: abjad 3.6 and python 3.10
Date: Wed, 04 May 2022 12:49:37 +0200


On Fri, 25 Mar 2022 at 20:18, jgart <> wrote:

> When will guix master branch see python 3.10 more or less?

Who knows? ;-)

Well, if you have python@3.10 packaged then you could use a
package transformation.

In ’(guix build-system python)’, you have ’package-with-explicit-python’
where you can replace the Python VM.  Somehow, you could write something
along these lines,

--8<---------------cut here---------------start------------->8---
(define-public python-3.10
    (inherit python-3.9)

(define package-with-python-3.10
  (package-with-explicit-python python-3.10
                                "python-" "python3.10-"
                                #:variant-property 'python-variant))

(define-public python-abjad
     (name "python-adjad")
--8<---------------cut here---------------end--------------->8---

*Warning*: it will “recompile” all the Python dependents using the
 Python VM v3.10 so it could be some CPU.

BTW, maybe we could provide ’python-next’ pointing to whatever new
Python release.  It would ease the upgrade, IMHO.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]