GNU bug report logs - #40079
emacs-elpy-1.31.0: failed to build

Previous Next

Package: guix;

Reported by: sirgazil <sirgazil <at> zoho.com>

Date: Sun, 15 Mar 2020 17:29:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40079 in the body.
You can then email your comments to 40079 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#40079; Package guix. (Sun, 15 Mar 2020 17:29:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to sirgazil <sirgazil <at> zoho.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 15 Mar 2020 17:29:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: "bug-guix" <bug-guix <at> gnu.org>
Subject: emacs-elpy-1.31.0: failed to build
Date: Sun, 15 Mar 2020 12:27:36 -0500
I couldn't upgrade the packages in my user profile because "emacs-elpy" check phase fails. 


## Steps to reproduce

1. guix pull
2. guix build emacs-elpy


## Unexpected result


The output of the check phase:

---------------------------
starting phase `check'

Can’t guess python-indent-offset, using defaults: 4


Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4


Can’t guess python-indent-offset, using defaults: 4


Can’t guess python-indent-offset, using defaults: 4


Can’t guess python-indent-offset, using defaults: 4
Shell native completion is enabled.

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4
Shell native completion is enabled.

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4
Type C-x 1 to delete the help window, C-M-v to scroll help.

Type C-x 1 to delete the help window, C-M-v to scroll help.

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4
Type C-x 1 to delete the help window, C-M-v to scroll help.


Can’t guess python-indent-offset, using defaults: 4
Type C-x 1 to delete the help window, C-M-v to scroll help.


Can’t guess python-indent-offset, using defaults: 4
Type C-x 1 to delete the help window, C-M-v to scroll help.

Can’t guess python-indent-offset, using defaults: 4
Type C-x 1 to delete the help window, C-M-v to scroll help.

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test_foo.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test_foo.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake foo.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake foo.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake foo.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake foo.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake foo.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake foo.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake module.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test_module.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Type C-x 1 to delete the help window, C-M-v to scroll help.

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4
Editing 1 usages of ’bar’ in this buffer
Warning [flymake test1.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test1.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Editing 1 usages of ’bar’ in this buffer


No occurrences of the symbol at point found


Using syntactic editing as current backend does not support get_usages.

No occurrences of the symbol at point found

Mark set

Mark set

Mark set

Mark set

Mark set

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Shell native completion is enabled.

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Shell native completion is enabled.

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Shell native completion is enabled.

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Shell native completion is enabled.

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Shell native completion is enabled.

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Shell native completion is enabled.

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Shell native completion is enabled.

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Shell native completion is enabled.

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Shell native completion is enabled.

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Sent: def foo(a):...
Shell native completion is enabled.
Can’t guess python-indent-offset, using defaults: 4
Sent: def foo(a):...

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Sent: def foo(a):...
Shell native completion is enabled.
Can’t guess python-indent-offset, using defaults: 4
Sent: def foo(a):...

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake bar.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake bar.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake bar.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake bar.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake bar.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Type C-x 1 to delete the help window, C-M-v to scroll help.

Type C-x 1 to delete the help window, C-M-v to scroll help.

Type C-x 1 to delete the help window, C-M-v to scroll help.

Type C-x 1 to delete the help window, C-M-v to scroll help.

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake file.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4
Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4
Killed *Python* shell

Can’t guess python-indent-offset, using defaults: 4
Killed *Python* shell

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4
Sent: print('Yay')...
Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "python" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list.  Native completions have been disabled locally. 
Shell native completion is disabled, using fallback
Can’t guess python-indent-offset, using defaults: 4
Sent: print('Yay')...

Can’t guess python-indent-offset, using defaults: 4
Sent: def foo():...
Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "python" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list.  Native completions have been disabled locally. 
Shell native completion is disabled, using fallback
Can’t guess python-indent-offset, using defaults: 4
Sent: def foo():...
Removed if __name__ == ’__main__’ construct, use a prefix argument to evaluate.

Can’t guess python-indent-offset, using defaults: 4
Sent: print('Whole buffer sent')...
Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "python" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list.  Native completions have been disabled locally. 
Shell native completion is disabled, using fallback
Can’t guess python-indent-offset, using defaults: 4
Sent: print('Whole buffer sent')...

Can’t guess python-indent-offset, using defaults: 4
Sent: print('Only region sent')...
Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "python" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list.  Native completions have been disabled locally. 
Shell native completion is disabled, using fallback
Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4
No python shell to kill
Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "python" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list.  Native completions have been disabled locally. 
Shell native completion is disabled, using fallback
Sent: a = 2+2
Can’t guess python-indent-offset, using defaults: 4
Killed *Python* shell
Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "python" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list.  Native completions have been disabled locally. 
Shell native completion is disabled, using fallback
Sent: for i in range(10):...
Can’t guess python-indent-offset, using defaults: 4
Killed *Python* shell
Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "python" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list.  Native completions have been disabled locally. 
Shell native completion is disabled, using fallback
Sent: def foo():...
Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4
No python shell to kill
Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "python" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list.  Native completions have been disabled locally. 
Shell native completion is disabled, using fallback
Sent: for i in range(10):...
Can’t guess python-indent-offset, using defaults: 4
Killed *Python* shell
Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "python" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list.  Native completions have been disabled locally. 
Shell native completion is disabled, using fallback
Sent: a = 2+2
Can’t guess python-indent-offset, using defaults: 4
Killed *Python* shell
Sent: a = 2+2...
Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "python" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list.  Native completions have been disabled locally. 
Shell native completion is disabled, using fallback
Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4
No python shell to kill
Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "python" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list.  Native completions have been disabled locally. 
Shell native completion is disabled, using fallback
Sent: 1+1
Can’t guess python-indent-offset, using defaults: 4
2
OK
Killed *Python* shell
Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "python" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list.  Native completions have been disabled locally. 
Shell native completion is disabled, using fallback
Sent: 4+3
Can’t guess python-indent-offset, using defaults: 4
7
OK
Killed *Python* shell
Sent: a = 2+2...
Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "python" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list.  Native completions have been disabled locally. 
Shell native completion is disabled, using fallback
Can’t guess python-indent-offset, using defaults: 4
7
OK

Can’t guess python-indent-offset, using defaults: 4
No python shell to kill
Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "python" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list.  Native completions have been disabled locally. 
Shell native completion is disabled, using fallback
Sent: for i in range(10):...
Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)

Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Can’t guess python-indent-offset, using defaults: 4
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
.....Test elpy-black-fix-code-should-follow-pyproject-config backtrace:

  signal(ert-test-failed (((should (buffer-be "_|_print(" "    1," "  
  ert-fail(((should (buffer-be "_|_print(" "    1," "    2," "    3," 
  (if (unwind-protect (setq value-2712 (apply fn-2710 args-2711)) (set
  (let (form-description-2714) (if (unwind-protect (setq value-2712 (a
  (let ((value-2712 (quote ert-form-evaluation-aborted-2713))) (let (f
  (let* ((fn-2710 (function buffer-be)) (args-2711 (condition-case err
  (progn (save-current-buffer (set-buffer (find-file-noselect "pyproje
  (progn (setq elpy-rpc-timeout 100) (progn (save-current-buffer (set-
  (unwind-protect (progn (setq elpy-rpc-timeout 100) (progn (save-curr
  (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
  (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-b
  (progn (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-cu
  (unwind-protect (progn (let ((temp-buffer (generate-new-buffer " *te
  (let ((old-process-list (process-list)) (old-buffer-list (buffer-lis
  (lambda nil (let ((old-process-list (process-list)) (old-buffer-list
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name elpy-black-fix-code-should-follow-pyp
  ert-run-or-rerun-test(#s(ert--stats :selector (and t) :tests [#s(ert
  ert-run-tests((and t) (lambda (event-type &rest event-args) (cond ((
  ert-runner/run-tests-batch((and t))
  (let ((stats (ert-runner/run-tests-batch selector))) (kill-emacs (if
  ert-runner/run-tests-batch-and-exit((and t))
  (if ert-runner-verbose (ert-runner/run-tests-batch-and-exit ert-runn
  (let ((test-files (ert-runner--test-files tests)) (test-helper (f-ex
  ert-runner/run()
  apply(ert-runner/run nil)
  commander--handle-command(nil)
  commander-parse(nil)
  (if commander-parsing-done nil (commander-parse (or commander-args (
  eval-buffer(#<buffer  *load*> nil "/gnu/store/dkv78hmr15dxnb4qzkd6dm
  load-with-code-conversion("/gnu/store/dkv78hmr15dxnb4qzkd6dm2mdslbw8
  load("/gnu/store/dkv78hmr15dxnb4qzkd6dm2mdslbw8jl-emacs-ert-runner-0
  command-line-1(("-scriptload" "/gnu/store/dkv78hmr15dxnb4qzkd6dm2mds
  command-line()
  normal-top-level()

Test elpy-black-fix-code-should-follow-pyproject-config condition:

    (ert-test-failed
     ((should
       (buffer-be "_|_print(" "    1," "    2," "    3," "    4," "    5," "    6," "    7," ")" ...))
      :form
      (buffer-be "_|_print(" "    1," "    2," "    3," "    4," "    5," "    6," "    7," ")" ...)
      :value nil :explanation
      (buffer-contents-differ "_|_print(
    1,
    2,
    3,
    4,
    5,
    6,
    7,
)
x, y, z, a, b, c = (
    1,
    2,
    3,
    4,
    5,
    6,
)
" "_|_print(
    1,
    2,
    3,
    4,
    5,
    6,
    7,
)
(
    x,
    y,
    z,
    a,
    b,
    c,
) = (
    1,
    2,
    3,
    4,
    5,
    6,
)
")))

F...............................................................................................................................................................................................................................................................................................................................................................................................

Ran 389 tests in 38.678 seconds
1 unexpected results:
   FAILED  elpy-black-fix-code-should-follow-pyproject-config
command "ert-runner" failed with status 1



## System information

$ guix describe
Generation 61	Mar 15 2020 08:44:39	(current)
  sirgazil-x 8274cd7
    repository URL: https://gitlab.com/sirgazil/guix-channel-x.git
    branch: master
    commit: 8274cd78f9f6d58e00e057a0eabe58e4e143cc4d
  guix a431a63
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: a431a63537c8103b2a58c9a55d90184fb5c90361



---
https://sirgazil.bitbucket.io/







Information forwarded to bug-guix <at> gnu.org:
bug#40079; Package guix. (Fri, 20 Mar 2020 17:59:01 GMT) Full text and rfc822 format available.

Message #8 received at 40079 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: sirgazil <sirgazil <at> zoho.com>, 40079 <at> debbugs.gnu.org,
 Ricardo Wurmus <rekado <at> elephly.net>
Subject: Re: bug#40079: emacs-elpy-1.31.0: failed to build
Date: Fri, 20 Mar 2020 18:57:53 +0100
[Message part 1 (text/plain, inline)]
sirgazil via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:

> I couldn't upgrade the packages in my user profile because "emacs-elpy" check phase fails. 
>
>
> ## Steps to reproduce
>
> 1. guix pull
> 2. guix build emacs-elpy
>
>
> ## Unexpected result
>
>
> The output of the check phase:
>
> ---------------------------
> starting phase `check'
>
> Can’t guess python-indent-offset, using defaults: 4

This seems to stem from the update of 'python-black' in
5f603fab23e7df7e7b76566b3add24b65e92f807.  Reverting that commit makes
this package build.

@Ricardo: Any objections to reverting the commit?
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#40079; Package guix. (Fri, 20 Mar 2020 21:59:02 GMT) Full text and rfc822 format available.

Message #11 received at 40079 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: sirgazil <sirgazil <at> zoho.com>, 40079 <at> debbugs.gnu.org
Subject: Re: bug#40079: emacs-elpy-1.31.0: failed to build
Date: Fri, 20 Mar 2020 22:58:28 +0100
Marius Bakke <mbakke <at> fastmail.com> writes:

> sirgazil via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:
>
>> I couldn't upgrade the packages in my user profile because "emacs-elpy" check phase fails. 
>>
>>
>> ## Steps to reproduce
>>
>> 1. guix pull
>> 2. guix build emacs-elpy
>>
>>
>> ## Unexpected result
>>
>>
>> The output of the check phase:
>>
>> ---------------------------
>> starting phase `check'
>>
>> Can’t guess python-indent-offset, using defaults: 4
>
> This seems to stem from the update of 'python-black' in
> 5f603fab23e7df7e7b76566b3add24b65e92f807.  Reverting that commit makes
> this package build.
>
> @Ricardo: Any objections to reverting the commit?

I’d rather not revert but add an older variant of python-black for elpy.

-- 
Ricardo




Information forwarded to bug-guix <at> gnu.org:
bug#40079; Package guix. (Fri, 20 Mar 2020 22:07:02 GMT) Full text and rfc822 format available.

Message #14 received at 40079 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: Marius Bakke <mbakke <at> fastmail.com>, sirgazil <sirgazil <at> zoho.com>,
 40079 <at> debbugs.gnu.org
Subject: Re: bug#40079: emacs-elpy-1.31.0: failed to build
Date: Fri, 20 Mar 2020 18:05:55 -0400
Ricardo Wurmus <rekado <at> elephly.net> writes:

> Marius Bakke <mbakke <at> fastmail.com> writes:
>
>> sirgazil via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:
>>
>>> I couldn't upgrade the packages in my user profile because "emacs-elpy" check phase fails. 
>>>
>>>
>>> ## Steps to reproduce
>>>
>>> 1. guix pull
>>> 2. guix build emacs-elpy
>>>
>>>
>>> ## Unexpected result
>>>
>>>
>>> The output of the check phase:
>>>
>>> ---------------------------
>>> starting phase `check'
>>>
>>> Can’t guess python-indent-offset, using defaults: 4
>>
>> This seems to stem from the update of 'python-black' in
>> 5f603fab23e7df7e7b76566b3add24b65e92f807.  Reverting that commit makes
>> this package build.
>>
>> @Ricardo: Any objections to reverting the commit?
>
> I’d rather not revert but add an older variant of python-black for elpy.

Perhaps the issue would vanish if we move to Elpy 1.32?  I had started
packaging it, but hit some issues.

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#40079; Package guix. (Fri, 20 Mar 2020 22:33:01 GMT) Full text and rfc822 format available.

Message #17 received at 40079 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>,
 Ricardo Wurmus <rekado <at> elephly.net>
Cc: sirgazil <sirgazil <at> zoho.com>, 40079 <at> debbugs.gnu.org
Subject: Re: bug#40079: emacs-elpy-1.31.0: failed to build
Date: Fri, 20 Mar 2020 23:32:25 +0100
[Message part 1 (text/plain, inline)]
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Ricardo Wurmus <rekado <at> elephly.net> writes:
>
>> Marius Bakke <mbakke <at> fastmail.com> writes:
>>
>>> sirgazil via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:
>>>
>>>> I couldn't upgrade the packages in my user profile because "emacs-elpy" check phase fails. 
>>>>
>>>>
>>>> ## Steps to reproduce
>>>>
>>>> 1. guix pull
>>>> 2. guix build emacs-elpy
>>>>
>>>>
>>>> ## Unexpected result
>>>>
>>>>
>>>> The output of the check phase:
>>>>
>>>> ---------------------------
>>>> starting phase `check'
>>>>
>>>> Can’t guess python-indent-offset, using defaults: 4
>>>
>>> This seems to stem from the update of 'python-black' in
>>> 5f603fab23e7df7e7b76566b3add24b65e92f807.  Reverting that commit makes
>>> this package build.
>>>
>>> @Ricardo: Any objections to reverting the commit?
>>
>> I’d rather not revert but add an older variant of python-black for elpy.
>
> Perhaps the issue would vanish if we move to Elpy 1.32?  I had started
> packaging it, but hit some issues.

In any case I'm sure sirgazil is not the only user of this package, so
we should try and find a resolution quickly.

As a side note, this bug report could have been easily prevented by
building the few packages listed by 'guix refresh -l python{,2}-black'
before pushing!  Not to single out Ricardo here (I forget this too
occasionally), but I expect contributors to do this in general and think
we should keep a low threshold for reverting breaking commits.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Mon, 23 Mar 2020 01:50:01 GMT) Full text and rfc822 format available.

Notification sent to sirgazil <sirgazil <at> zoho.com>:
bug acknowledged by developer. (Mon, 23 Mar 2020 01:50:01 GMT) Full text and rfc822 format available.

Message #22 received at 40079-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, 40079-done <at> debbugs.gnu.org,
 sirgazil <sirgazil <at> zoho.com>, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: Re: bug#40079: emacs-elpy-1.31.0: failed to build
Date: Sun, 22 Mar 2020 21:49:43 -0400
Hello,

Fixed with commit 4ef89d884db8dae3aa300e36a3ad89def374e012.

With the changes I've made to Emacs, Elpy can now be tested in a
container easily with:

--8<---------------cut here---------------start------------->8---
$ guix environment -C --ad-hoc emacs emacs-elpy python-wrapper

[env] $ TERM=xterm emacs

M-x elpy-enable
;; Play around

--8<---------------cut here---------------end--------------->8---

Enjoy!

Closing.

Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 20 Apr 2020 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 343 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.