Re: program prepared with `guix pack` unusable by end users

2022-10-28 Thread Maxim Cournoyer
Hello, Wojtek Kosior writes: >> > IMHO yes, the pack output does not work as expected. That's the >> > definition of a bug. >> >> I disagree. That Python gives precedence to USERSITE compared to >> site-packages and GUIX_PYTHONPATH is by design, so that users can >> override system

Re: program prepared with `guix pack` unusable by end users

2022-10-27 Thread Wojtek Kosior via
> > IMHO yes, the pack output does not work as expected. That's the > > definition of a bug. > > I disagree. That Python gives precedence to USERSITE compared to > site-packages and GUIX_PYTHONPATH is by design, so that users can > override system provided libraries such as those by Guix. It

Re: program prepared with `guix pack` unusable by end users

2022-10-26 Thread Csepp
Wojtek Kosior via writes: > [[PGP Signed Part:Undecided]] > My problem has been solved. It turned out the Python interpreter > contained within the pack was finding an older version of `hydrilla` > Python package installed in `~/.local/lib/python3.9/site-packages` and > that older version was

Re: program prepared with `guix pack` unusable by end users

2022-10-26 Thread Wojtek Kosior via
My problem has been solved. It turned out the Python interpreter contained within the pack was finding an older version of `hydrilla` Python package installed in `~/.local/lib/python3.9/site-packages` and that older version was missing the `console_scripts` entry point that was being loaded. It's

Re: program prepared with `guix pack` unusable by end users

2022-10-17 Thread Wojtek Kosior via
Hello again after a break, > Well, then I tried to reproduce your failure in order to understand what > is going wrong but I hit this: > > [...] > > That’s because your package ’python-pyopenssl-for-haketilo’ inherit from > ’python-pyopenssl’ defined in (gnu packages python-crypto). The issue >

Re: program prepared with `guix pack` unusable by end users

2022-10-14 Thread zimoun
Hi, On ven., 14 oct. 2022 at 11:09, Wojtek Kosior via wrote: > I accidently just replied to you, Simon, instead of making a "reply > all". I'm reposting the same now, sorry for the nuisance... Do not worry. :-) > So, I did run `guix shell -L. hydrilla`. First, I got a warning about > >>

Re: program prepared with `guix pack` unusable by end users

2022-10-14 Thread Wojtek Kosior via
Hi again! I accidently just replied to you, Simon, instead of making a "reply all". I'm reposting the same now, sorry for the nuisance... Thanks for your effort explaining email message ids m(_ _)m > I am confused because, if I understand correctly, this tarball generated > under ./dist is

Re: program prepared with `guix pack` unusable by end users

2022-10-14 Thread zimoun
.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oisT6-0007ax-Ue for help-guix@gnu.org; Thu, 13 Oct 2022 09:17:25 +0200 Date: Thu, 13 Oct 2022 09:17:22 +0200 To: Subject: program prepared with `guix pack` unusable by end users Message-ID: <20221013091722.59d9e...@k

Re: program prepared with `guix pack` unusable by end users

2022-10-13 Thread (
Heya, On Thu Oct 13, 2022 at 5:20 PM BST, Wojtek Kosior via wrote: > It took me a couple of minutes to understand what you're talking about. > Indeed, instead of copy-pasting the address I clicked > "Reply" on some random email from Guix mailing list and changed the subject. > For years I've

Re: program prepared with `guix pack` unusable by end users

2022-10-13 Thread Wojtek Kosior via
Hi Simon, thanks for your response > Is it related to the message [1] you are answering? > > 1: > > If no, please start a new thread when it is a new topic. :-) It took me a couple of minutes to understand what you're talking

Re: program prepared with `guix pack` unusable by end users

2022-10-13 Thread zimoun
Hi, Is it related to the message [1] you are answering? 1: If no, please start a new thread when it is a new topic. :-) On jeu., 13 oct. 2022 at 09:17, Wojtek Kosior via wrote: > I made the pack by running > >> guix

Re: program prepared with `guix pack` unusable by end users

2022-10-13 Thread Wojtek Kosior via
Thanks for response, Paren > Heya, > > On Thu Oct 13, 2022 at 8:17 AM BST, Wojtek Kosior via wrote: > > > guix environment -L . -e '(@ (hydrilla) hydrilla)' -- python3 -m build -s > > > guix pack -L . -RR \ > > > -S /hydrilla=bin/hydrilla \ > > > -S /hydrilla-builder=bin/hydrilla-builder

Re: program prepared with `guix pack` unusable by end users

2022-10-13 Thread (
Heya, On Thu Oct 13, 2022 at 8:17 AM BST, Wojtek Kosior via wrote: > > guix environment -L . -e '(@ (hydrilla) hydrilla)' -- python3 -m build -s > > guix pack -L . -RR \ > > -S /hydrilla=bin/hydrilla \ > > -S /hydrilla-builder=bin/hydrilla-builder \ > > -S

program prepared with `guix pack` unusable by end users

2022-10-13 Thread Wojtek Kosior via
Hello, I'm developing a program, named Haketilo, in Python. I wanted to make it available to users by the means of a tarball made with `guix pack` (which seems like a marvelous feature, btw!). It worked well on my PC but a user reported an error when running it[1]. The console_scripts entry point