unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* abjad 3.6 and python 3.10
@ 2022-03-26  0:18 jgart
  2022-05-04 10:49 ` zimoun
  0 siblings, 1 reply; 2+ messages in thread
From: jgart @ 2022-03-26  0:18 UTC (permalink / raw)
  To: Guix Devel

Hi Guixers,

I'd like to update our abjad package to the later version of 3.6 but it
only supports python 3.10.

https://github.com/Abjad/abjad/releases/tag/v3.6

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

all best,

jgart




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

* Re: abjad 3.6 and python 3.10
  2022-03-26  0:18 abjad 3.6 and python 3.10 jgart
@ 2022-05-04 10:49 ` zimoun
  0 siblings, 0 replies; 2+ messages in thread
From: zimoun @ 2022-05-04 10:49 UTC (permalink / raw)
  To: jgart, Guix Devel

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


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

end of thread, other threads:[~2022-05-04 10:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-26  0:18 abjad 3.6 and python 3.10 jgart
2022-05-04 10:49 ` zimoun

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