bug#62114: Elpy fails to start within a guix shell environment

2023-03-22 Thread Maxim Cournoyer
Hi,

Rafa Gálvez  writes:

> Hi,
>
>  I can't make Elpy work. In my main profile I have emacs-elpy installed,
>  but whenever I open a .py file, there is an error on the sentinel:
>  error in process sentinel: elpy-promise-reject: peculiar error: "exited
>  abnormally with code 1"
>  error in process sentinel: peculiar error: "exited abnormally with code
>  1"
>
>  This is most probably caused by the lack of the elpy python module in
>  the guix shell I'm running Emacs from. However, there is no python-elpy
>  package to install. I am avoiding setting up a virtualenv in order to
>  rely completely on Guix manifests for reproducibility purposes.
>
>  Maybe what's just needed is to package https://pypi.org/project/elpy/
>  into Guix?

Could you please share a minimal reproducer?  The Python files are
included with the emacs-elpy package (those under:
https://github.com/jorgenschaefer/elpy/tree/master/elpy).

See 'guix edit emacs-elpy' for the details.

-- 
Thanks,
Maxim





bug#62114: Elpy fails to start within a guix shell environment

2023-03-12 Thread Rafa Gálvez
Hi again,

 The PyPi package is actually empty, Elpy ships it directly apparently. 

 I'm missing something then. How are you setting up Elpy on Guix?

 Thanks, 

Rafa

On March 10, 2023 11:31:15 AM GMT+01:00, "Rafa Gálvez" 
 wrote:
>Hi,
>
> I can't make Elpy work. In my main profile I have emacs-elpy installed,
> but whenever I open a .py file, there is an error on the sentinel:
> error in process sentinel: elpy-promise-reject: peculiar error: "exited
> abnormally with code 1"
> error in process sentinel: peculiar error: "exited abnormally with code
> 1"
>
> This is most probably caused by the lack of the elpy python module in
> the guix shell I'm running Emacs from. However, there is no python-elpy
> package to install. I am avoiding setting up a virtualenv in order to
> rely completely on Guix manifests for reproducibility purposes.
>
> Maybe what's just needed is to package https://pypi.org/project/elpy/
> into Guix?
>
> Thanks,
>
>Rafa Gálvez

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.