From: zimoun <zimon.toutoune@gmail.com>
To: jgart <jgart@dismail.de>, Guix Devel <guix-devel@gnu.org>
Subject: Re: abjad 3.6 and python 3.10
Date: Wed, 04 May 2022 12:49:37 +0200 [thread overview]
Message-ID: <87k0b17eta.fsf@gmail.com> (raw)
In-Reply-To: <20220325201824.GB5401@gac.attlocal.net>
Hi,
On Fri, 25 Mar 2022 at 20:18, jgart <jgart@dismail.de> 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
(package
(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
(package-with-python-3.10
(package
(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.
Cheers,
simon
prev parent reply other threads:[~2022-05-04 10:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-26 0:18 abjad 3.6 and python 3.10 jgart
2022-05-04 10:49 ` zimoun [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k0b17eta.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=guix-devel@gnu.org \
--cc=jgart@dismail.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).