unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40079: emacs-elpy-1.31.0: failed to build
@ 2020-03-15 17:27 sirgazil via Bug reports for GNU Guix
  2020-03-20 17:57 ` Marius Bakke
  0 siblings, 1 reply; 6+ messages in thread
From: sirgazil via Bug reports for GNU Guix @ 2020-03-15 17:27 UTC (permalink / raw)
  To: 40079

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/

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

* bug#40079: emacs-elpy-1.31.0: failed to build
  2020-03-15 17:27 bug#40079: emacs-elpy-1.31.0: failed to build sirgazil via Bug reports for GNU Guix
@ 2020-03-20 17:57 ` Marius Bakke
  2020-03-20 21:58   ` Ricardo Wurmus
  0 siblings, 1 reply; 6+ messages in thread
From: Marius Bakke @ 2020-03-20 17:57 UTC (permalink / raw)
  To: sirgazil, 40079, Ricardo Wurmus

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

sirgazil via Bug reports for GNU Guix <bug-guix@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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* bug#40079: emacs-elpy-1.31.0: failed to build
  2020-03-20 17:57 ` Marius Bakke
@ 2020-03-20 21:58   ` Ricardo Wurmus
  2020-03-20 22:05     ` Maxim Cournoyer
  0 siblings, 1 reply; 6+ messages in thread
From: Ricardo Wurmus @ 2020-03-20 21:58 UTC (permalink / raw)
  To: Marius Bakke; +Cc: sirgazil, 40079


Marius Bakke <mbakke@fastmail.com> writes:

> sirgazil via Bug reports for GNU Guix <bug-guix@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

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

* bug#40079: emacs-elpy-1.31.0: failed to build
  2020-03-20 21:58   ` Ricardo Wurmus
@ 2020-03-20 22:05     ` Maxim Cournoyer
  2020-03-20 22:32       ` Marius Bakke
  0 siblings, 1 reply; 6+ messages in thread
From: Maxim Cournoyer @ 2020-03-20 22:05 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: sirgazil, 40079

Ricardo Wurmus <rekado@elephly.net> writes:

> Marius Bakke <mbakke@fastmail.com> writes:
>
>> sirgazil via Bug reports for GNU Guix <bug-guix@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

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

* bug#40079: emacs-elpy-1.31.0: failed to build
  2020-03-20 22:05     ` Maxim Cournoyer
@ 2020-03-20 22:32       ` Marius Bakke
  2020-03-23  1:49         ` Maxim Cournoyer
  0 siblings, 1 reply; 6+ messages in thread
From: Marius Bakke @ 2020-03-20 22:32 UTC (permalink / raw)
  To: Maxim Cournoyer, Ricardo Wurmus; +Cc: sirgazil, 40079

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

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Ricardo Wurmus <rekado@elephly.net> writes:
>
>> Marius Bakke <mbakke@fastmail.com> writes:
>>
>>> sirgazil via Bug reports for GNU Guix <bug-guix@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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* bug#40079: emacs-elpy-1.31.0: failed to build
  2020-03-20 22:32       ` Marius Bakke
@ 2020-03-23  1:49         ` Maxim Cournoyer
  0 siblings, 0 replies; 6+ messages in thread
From: Maxim Cournoyer @ 2020-03-23  1:49 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 40079-done, sirgazil, Maxim Cournoyer

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

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

end of thread, other threads:[~2020-03-23  1:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-15 17:27 bug#40079: emacs-elpy-1.31.0: failed to build sirgazil via Bug reports for GNU Guix
2020-03-20 17:57 ` Marius Bakke
2020-03-20 21:58   ` Ricardo Wurmus
2020-03-20 22:05     ` Maxim Cournoyer
2020-03-20 22:32       ` Marius Bakke
2020-03-23  1:49         ` 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).