Elpy fails to start within a guix shell environment

  • Open
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • Maxim Cournoyer
  • Rafa Gálvez
Owner
unassigned
Submitted by
Rafa Gálvez
Severity
normal
Merged with
R
R
Rafa Gálvez wrote on 10 Mar 2023 11:36
(address . bug-guix@gnu.org)
6CC5FADE-B73A-48D5-8AA7-F5FEECCA04DE@artificialphilosopher.eu
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" <rafa@artificialphilosopher.eu> wrote:
Toggle quote (21 lines)
>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.
Attachment: file
L
L
Ludovic Courtès wrote on 14 Mar 2023 17:17
control message for bug #62113
(address . control@debbugs.gnu.org)
87wn3j1f50.fsf@gnu.org
merge 62113 62114
quit
M
M
Maxim Cournoyer wrote on 22 Mar 2023 20:47
Re: bug#62114: Elpy fails to start within a guix shell environment
(name . Rafa Gálvez)(address . rafa@artificialphilosopher.eu)(address . 62114@debbugs.gnu.org)
87h6ucftzs.fsf@gmail.com
Hi,

Rafa Gálvez <rafa@artificialphilosopher.eu> writes:

Toggle quote (17 lines)
> 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:

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

--
Thanks,
Maxim
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 62114@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 62114
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch