all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: Kyle <kyle@posteo.net>,
	guix-devel@gnu.org, Pjotr Prins <pjotr.public12@thebird.nl>,
	Guix Devel <guix-devel@gnu.org>
Subject: Re: Projects for the Google Summer of Code
Date: Mon, 27 Feb 2023 11:46:43 +0100	[thread overview]
Message-ID: <86bklfz8q4.fsf@gmail.com> (raw)
In-Reply-To: <EAC55DEB-F2A3-4B7F-B7F6-72D6193EB0AB@posteo.net>

Hi,


On Sun, 26 Feb 2023 at 16:52, Kyle <kyle@posteo.net> wrote:

> One idea might be to write a conda importer which looks at the
> versions of software in the resulting environment and tries to make
> feasible package variants of make a manifest which matches the
> existing conda environment as close as possible.

Do you mean, from ’conda env export’ Which outputs something like, 

    name: justnumpy
    channels:
      - defaults
    dependencies:
      - _libgcc_mutex=0.1=main
      - _openmp_mutex=5.1=1_gnu
      - blas=1.0=mkl
      - libuuid=1.41.5=h5eee18b_0
      - mkl=2021.4.0=h06a4308_640
      - mkl-service=2.4.0=py310h7f8727e_0
      - mkl_fft=1.3.1=py310hd6ae3a3_0
      - mkl_random=1.2.2=py310h00e6091_0
      - ncurses=6.3=h5eee18b_3
      - numpy=1.23.4=py310hd5efca6_0
      - numpy-base=1.23.4=py310h8e6c178_0
      - ...
      - ...

transform this into some Guix manifest.scm?  Well, indeed, it could help
people for transitioning.


> Another idea would be to create a python package for working with Guix
> more directly from inside their preferred language environment instead
> of through the shell. I also wouldn't mind it if such a thing existed
> for R as well.

Do you mean ’guix.install()’ from r-guix-install?

https://cran.rstudio.com/web/packages/guix.install/index.html

How do you install Python packages from the Python REPL?


Cheers,
simon

PS:

>                                                  Simon thought often
> the python version usually didn't matter, but it makes users a lot
> less woosy to stick with software combinations they have already
> tested.

This is out of context. :-)  For the context, see [1].

Well, if you have only one Python version, you only test against this
one, so being able to combine on the fly the matrix of Python versions
is not so much important – it is a collective practise inherited from
the “unstable” Python ecosystem and I am doubtful about its relevancy
concerning referencing software for reproducing.  Now Conda is more than
10 years and very very broadly used, so if its specification using
version labels and relying on some matrix of Python versions would be
enough for reproducibility, then I would have never landed in Guix. ;-)

1: https://yhetil.org/guix/86pma2t3jd.fsf@gmail.com

My 2 cents. :-)


  reply	other threads:[~2023-02-27 10:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-24 18:21 Internship coordination status report Gábor Boskovits
2023-02-25 12:53 ` Simon Tournier
2023-02-26  7:38 ` Projects for the Google Summer of Code Pjotr Prins
2023-02-26 16:52   ` Kyle
2023-02-27 10:46     ` Simon Tournier [this message]
2023-03-02 23:55       ` Kyle Andrews
2023-03-03  9:28         ` Simon Tournier

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86bklfz8q4.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=kyle@posteo.net \
    --cc=pjotr.public12@thebird.nl \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.