unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#62113: Elpy fails to start within a guix shell environment
@ 2023-03-10 10:31 Rafa Gálvez
  2023-03-10 10:36 ` bug#62114: " Rafa Gálvez
  2023-03-22 19:47 ` Maxim Cournoyer
  0 siblings, 2 replies; 3+ messages in thread
From: Rafa Gálvez @ 2023-03-10 10:31 UTC (permalink / raw)
  To: 62113

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#62114: Elpy fails to start within a guix shell environment
  2023-03-10 10:31 bug#62113: Elpy fails to start within a guix shell environment Rafa Gálvez
@ 2023-03-10 10:36 ` Rafa Gálvez
  2023-03-22 19:47 ` Maxim Cournoyer
  1 sibling, 0 replies; 3+ messages in thread
From: Rafa Gálvez @ 2023-03-10 10:36 UTC (permalink / raw)
  To: 62114

[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]

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:
>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 #2: Type: text/html, Size: 1476 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#62114: Elpy fails to start within a guix shell environment
  2023-03-10 10:31 bug#62113: Elpy fails to start within a guix shell environment Rafa Gálvez
  2023-03-10 10:36 ` bug#62114: " Rafa Gálvez
@ 2023-03-22 19:47 ` Maxim Cournoyer
  1 sibling, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2023-03-22 19:47 UTC (permalink / raw)
  To: Rafa Gálvez; +Cc: 62114

Hi,

Rafa Gálvez <rafa@artificialphilosopher.eu> 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-22 19:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10 10:31 bug#62113: Elpy fails to start within a guix shell environment Rafa Gálvez
2023-03-10 10:36 ` bug#62114: " Rafa Gálvez
2023-03-22 19:47 ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).