Re: simple question about copying in the terminal

2025-02-07 Thread Alexis Simon
Hi, One option could be to redirect the output to a file and then copy the content from there with an editor. `>` if it's stdout and `2>` if it's stderr. For example I can copy to clipboard in helix editor, I'm pretty sure this is possible with other terminal editors as well. Alexis On 07

Re: Python package that uses setuptools_scm is builded with version 0.0.0

2024-06-02 Thread Alexis Simon
Hi Polyedre, I think having python-setuptools-scm in your native-inputs should be enough for building with the right version number. At least it was enough for me when I encountered this issue before. Best, Alexis On 01/06/2024 12:49, Polyedre wrote: Hello, While trying to package maestral[

Re: packaging python-cyvcf2

2024-04-20 Thread Alexis Simon
Hi, this is great, thanks for fixing the tests and improving the packaging. On 18/04/2024 02:13, Ricardo Wurmus wrote: Hi, I've abandoned running the tests though, I'm hitting a module not found error. pytest doesn't manage to load the just built module, probably an issue with the paths. It

Re: packaging python-cyvcf2

2024-03-22 Thread Alexis Simon
On 22/03/2024 08:25, Simon Tournier wrote: Hi, On jeu., 21 mars 2024 at 18:03, Alexis Simon via Guix-Science wrote: The build is failing with this error: running build_ext # cyvcf2: htslib mode is BUILTIN # cyvcf2: htslib configure options is None error: [Errno 2] No such file or directory

packaging python-cyvcf2

2024-03-21 Thread Alexis Simon
Hi, I've spent nearly the day on this and it's driving me crazy. I am trying to package this cyvcf2 [1] I am attaching the packaging I've tried. The build is failing with this error: running build_ext # cyvcf2: htslib mode is BUILTIN # cyvcf2: htslib configure options is None error: [Errno 2] No

Re: Python package with some rust dependency

2024-02-17 Thread Alexis Simon
for reference, I finally managed to get this working. See attached file. Thanks for the help Alexis On 17/02/2024 08:46, Alexis Simon wrote: On 17/02/2024 03:50, Carlo Zancanaro wrote: Hi Alexis, On Fri, Feb 16 2024, Alexis Simon wrote: ``` error: in phase 'check-python-module'

Re: Python package with some rust dependency

2024-02-17 Thread Alexis Simon
On 17/02/2024 03:50, Carlo Zancanaro wrote: Hi Alexis, On Fri, Feb 16 2024, Alexis Simon wrote: ``` error: in phase 'check-python-module': uncaught exception: wrong-type-arg "apply" "Apply to non-list: ~S" (#f) (#f) phase `check-python-module' failed aft

Re: Python package with some rust dependency

2024-02-16 Thread Alexis Simon
exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure apply: Apply to non-list: #f ``` Thanks Alexis On 15/02/2024 22:08, Alexis Simon wrote: Hi, So right now I'm trying to go the splitting in two packages way, similar to what is done for python-crypto

Re: Python package with some rust dependency

2024-02-15 Thread Alexis Simon
is not present in the native-inputs, although I specify it in the package. Thanks, Alexis On 13/02/2024 13:55, Alexis Simon wrote: Fair enough, I just meant that it's pretty hard as a newcomer to know which build system You're supposed to use to start with when encountering a proje

Re: Python package with some rust dependency

2024-02-13 Thread Alexis Simon
Fair enough, I just meant that it's pretty hard as a newcomer to know which build system You're supposed to use to start with when encountering a project where several languages are used. Alexis On 13/02/2024 13:46, Carlo Zancanaro wrote: On Tue, Feb 13 2024, Alexis Simon wrote:

Re: Python package with some rust dependency

2024-02-13 Thread Alexis Simon
n this one repository has both, I wonder if it would make sense to build them separately (as two packages), and have one as an input of the other. Presumably this would mean the python package taking the rust package as an input, but the details might be more involved. On Sun, Feb 11 2024, Alexis Simon wro

Python package with some rust dependency

2024-02-11 Thread Alexis Simon
Hi, I've been trying to package a science python software that mixes some C++ and rust dependencies. https://github.com/molpopgen/fwdpy11 I'm stuck in how to handle this. Going the pyproject-build-system way, the cargo part errors at accessing crates.io as would be expected, I guess I should

Re: guix + fish shell help

2023-10-23 Thread Alexis Simon
-P -p ~/.nix-profile/bin ╎ fish_add_path -P -p ~/.guix-profile/bin ╎ fish_add_path -P -p ~/.config/guix/current/bin end --8<---cut here---end--->8--- Now the guix shell path is correctly prepended to my path! Best, Alexis On 23/10/2023 02:47, Unstable

guix + fish shell help

2023-10-22 Thread Alexis Simon
Hi, Is there any fish power-user using guix here who could help me figuring out how to set up everything correctly? My system: - guix installed on Fedora - fish installed through Fedora - My path when I open a new shell, set up with the fish_add_path -U: /home/alexis/.config/guix/current/bin /

Re: Stuck installing guix package manager on Fedora with selinux

2023-10-18 Thread Alexis Simon
Hi, So trying to prepare a patch, I realized those changes are already in master. So that's the reason I didn't get them in the normal stable release install. Alexis On 18/10/2023 19:02, Maxim Cournoyer wrote: Hello, Alexis Simon writes: Ok I think I'm starting to get s

Re: Stuck installing guix package manager on Fedora with selinux

2023-10-18 Thread Alexis Simon
g. Alexis On 18/10/2023 10:06, Alexis Simon wrote: Hi, Thanks for the suggestion. I stumbled on this guix rpm but it seems also that selinux needs to be disabled with that one. I think the maintainer initially wanted to apply selinux policies but in the end commented out all those parts. (Ther

Re: Stuck installing guix package manager on Fedora with selinux

2023-10-18 Thread Alexis Simon
llation, but I was able to get guix running on Fedora using rpm packages from copr: https://copr.fedorainfracloud.org/coprs/lantw44/guix/ If you can't find solution to the SELinux problem, maybe give those rpm packages a try. Best regards, Markku On Tue, Oct 17, 2023 at 09:42:58AM -0700, Alexi

Stuck installing guix package manager on Fedora with selinux

2023-10-17 Thread Alexis Simon
Hi, I'd like to try the guix package manager but am stuck installing it on Fedora 38 with selinux. I should say I don't know anything about the details of either guix or selinux. I know a few other persons that also wanted to try guix but gave up due to issues with selinux, so I think solving