emacs-elpy-1.31.0: failed to build

DoneSubmitted by sirgazil.
Details
4 participants
  • Maxim Cournoyer
  • Marius Bakke
  • Ricardo Wurmus
  • sirgazil
Owner
unassigned
Severity
normal
S
S
sirgazil wrote on 15 Mar 2020 18:27
(name . bug-guix)(address . bug-guix@gnu.org)
170df3c9d14.f2220d0233452.7833229319796639139@zoho.com
I couldn't upgrade the packages in my user profile because "emacs-elpy" check phase fails.

## Steps to reproduce
1. guix pull2. 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: 4Shell 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: 4Shell native completion is enabled.
Can’t guess python-indent-offset, using defaults: 4
Can’t guess python-indent-offset, using defaults: 4Type 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: 4Type C-x 1 to delete the help window, C-M-v to scroll help.

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

Can’t guess python-indent-offset, using defaults: 4Type C-x 1 to delete the help window, C-M-v to scroll help.
Can’t guess python-indent-offset, using defaults: 4Type C-x 1 to delete the help window, C-M-v to scroll help.
Can’t guess python-indent-offset, using defaults: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Editing 1 usages of ’bar’ in this bufferWarning [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: 4Can’t guess python-indent-offset, using defaults: 4
Can’t guess python-indent-offset, using defaults: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Sent: def foo(a):...
Can’t guess python-indent-offset, using defaults: 4Warning [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: 4Warning [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: 4Sent: def foo(a):...
Can’t guess python-indent-offset, using defaults: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Can’t guess python-indent-offset, using defaults: 4
Can’t guess python-indent-offset, using defaults: 4Can’t guess python-indent-offset, using defaults: 4
Can’t guess python-indent-offset, using defaults: 4Killed *Python* shell
Can’t guess python-indent-offset, using defaults: 4Killed *Python* shell
Can’t guess python-indent-offset, using defaults: 4
Can’t guess python-indent-offset, using defaults: 4Sent: 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 fallbackCan’t guess python-indent-offset, using defaults: 4Sent: print('Yay')...
Can’t guess python-indent-offset, using defaults: 4Sent: 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 fallbackCan’t guess python-indent-offset, using defaults: 4Sent: def foo():...Removed if __name__ == ’__main__’ construct, use a prefix argument to evaluate.
Can’t guess python-indent-offset, using defaults: 4Sent: 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 fallbackCan’t guess python-indent-offset, using defaults: 4Sent: print('Whole buffer sent')...
Can’t guess python-indent-offset, using defaults: 4Sent: 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 fallbackCan’t guess python-indent-offset, using defaults: 4
Can’t guess python-indent-offset, using defaults: 4No python shell to killWarning (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 fallbackSent: a = 2+2Can’t guess python-indent-offset, using defaults: 4Killed *Python* shellWarning (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 fallbackSent: for i in range(10):...Can’t guess python-indent-offset, using defaults: 4Killed *Python* shellWarning (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 fallbackSent: 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: 4No python shell to killWarning (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 fallbackSent: for i in range(10):...Can’t guess python-indent-offset, using defaults: 4Killed *Python* shellWarning (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 fallbackSent: a = 2+2Can’t guess python-indent-offset, using defaults: 4Killed *Python* shellSent: 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 fallbackCan’t guess python-indent-offset, using defaults: 4
Can’t guess python-indent-offset, using defaults: 4No python shell to killWarning (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 fallbackSent: 1+1Can’t guess python-indent-offset, using defaults: 42OKKilled *Python* shellWarning (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 fallbackSent: 4+3Can’t guess python-indent-offset, using defaults: 47OKKilled *Python* shellSent: 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 fallbackCan’t guess python-indent-offset, using defaults: 47OK
Can’t guess python-indent-offset, using defaults: 4No python shell to killWarning (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 fallbackSent: 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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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: 4Warning [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 seconds1 unexpected results: FAILED elpy-black-fix-code-should-follow-pyproject-configcommand "ert-runner" failed with status 1


## System information
$ guix describeGeneration 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/
M
M
Marius Bakke wrote on 20 Mar 2020 18:57
87d0969ae6.fsf@devup.no
sirgazil via Bug reports for GNU Guix <bug-guix@gnu.org> writes:
Toggle quote (19 lines)> 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' in5f603fab23e7df7e7b76566b3add24b65e92f807. Reverting that commit makesthis package build.
@Ricardo: Any objections to reverting the commit?
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl51BCEACgkQoqBt8qM6VPosdggAodkUzrwb5U8W/RF9tcgDFK9bShOP2RqVdhvn3MtRxtTWcayDRDq6E9tEhtZhPt/9UGSWYGhOVg3TR5Q8aQDvO9PbeOYeZStjoDZgEyK1+BuWE6bwSFFIiilrWMdAXUcE9qPPmIAZZrV/hTSiLyeCc1HpBPBgC8clii8r29QrL7gWkuIPC2iZKCX3JAmsPtaPdO//Dr4B0NcKI88unVAJ6i4yhYEE8oB7UlOFEVZMhaUvO8TRkLJistGEZh6o9Lb6MKWzS0Iz9wrmGeCoEbgHgw5uZlR15Tqy7ThfQVoxtdDKwU7dhTS0yGBQPAgxIgMkuJMz/P+TejrBjeXT8xgHEQ===VOCv-----END PGP SIGNATURE-----
R
R
Ricardo Wurmus wrote on 20 Mar 2020 22:58
(name . Marius Bakke)(address . mbakke@fastmail.com)
87v9mylmd7.fsf@elephly.net
Marius Bakke <mbakke@fastmail.com> writes:
Toggle quote (27 lines)> 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
M
M
Maxim Cournoyer wrote on 20 Mar 2020 23:05
(name . Ricardo Wurmus)(address . rekado@elephly.net)
87tv2iisvw.fsf@gmail.com
Ricardo Wurmus <rekado@elephly.net> writes:
Toggle quote (31 lines)> 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 startedpackaging it, but hit some issues.
Maxim
M
M
Marius Bakke wrote on 20 Mar 2020 23:32
877dze7j46.fsf@devup.no
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
Toggle quote (36 lines)> 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, sowe should try and find a resolution quickly.
As a side note, this bug report could have been easily prevented bybuilding the few packages listed by 'guix refresh -l python{,2}-black'before pushing! Not to single out Ricardo here (I forget this toooccasionally), but I expect contributors to do this in general and thinkwe should keep a low threshold for reverting breaking commits.
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl51RHkACgkQoqBt8qM6VPptigf/WJLiOsiK4VFKYN//2UMwYp5DURKKBRACl7o58dYWpuEKiKffvdXMTllJB/rcG9fAkilrCjfCfsCT8cC0VLpgHee6OwA7c3ZhStuuJHuTF9iLLbnO/k6kzarOstU4h0s79JzcstnfTI0whgkATbo2jbE39lTOn8cyWW6facdDljFfKcgte26hsuas//LXZCUAiIx/x4oAJQWBOYYOXJf2v9B50+5B8kCWTd5mbSDkBsjxmCVg8VmVRup6pEiDl6LgrpfSkONic+Gy90nMdSnFqLsRmeV6PitrJkyY9VbRS0moTLHaq6T4b9uHi+Aw2Go9IrZPBPFxOCr73IxU0cvJ/Q===3mwz-----END PGP SIGNATURE-----
M
M
Maxim Cournoyer wrote on 23 Mar 2020 02:49
(name . Marius Bakke)(address . mbakke@fastmail.com)
87o8sn4z7s.fsf@apteryx.i-did-not-set--mail-host-address--so-tickle-me
Hello,
Fixed with commit 4ef89d884db8dae3aa300e36a3ad89def374e012.
With the changes I've made to Emacs, Elpy can now be tested in acontainer easily with:
Toggle snippet (9 lines)$ guix environment -C --ad-hoc emacs emacs-elpy python-wrapper
[env] $ TERM=xterm emacs
M-x elpy-enable;; Play around

Enjoy!
Closing.
Maxim
Closed
?
Your comment

Commenting via the web interface is currently disabled.

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