python-hacking build fails

  • Done
  • quality assurance status badge
Details
One participant
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Maxim Cournoyer
Severity
normal
M
M
Maxim Cournoyer wrote on 2 Mar 2020 20:12
(name . bug-guix)(address . bug-guix@gnu.org)
87eeua606i.fsf@gmail.com
Build log extract:

Toggle snippet (29 lines)
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/guix-build-python-hacking-1.0.0.drv-0/tmp0b3_dkul
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/guix-build-python-hacking-1.0.0.drv-0/tmput8xgx54
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/guix-build-python-hacking-1.0.0.drv-0/tmpv10yr5p9
======================================================================
FAIL: hacking.tests.test_local.HackingTestCase.test_local_check
tags: worker-16
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/guix-build-python-hacking-1.0.0.drv-0/hacking-1.0.0/hacking/tests/test_local.py", line 35, in test_local_check
checker.check_all()
File "/gnu/store/nk07kycilsspl02pg8jp3j3n9l6c6x6a-python-pep8-1.5.7/lib/python3.7/site-packages/pep8.py", line 1438, in check_all
self.check_logical()
File "/gnu/store/nk07kycilsspl02pg8jp3j3n9l6c6x6a-python-pep8-1.5.7/lib/python3.7/site-packages/pep8.py", line 1328, in check_logical
(start_row, start_col) = mapping[0][1]
TypeError: 'NoneType' object is not subscriptable
Ran 185 tests in 0.100s
FAILED (id=0, failures=1)
command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "test" failed with status 1
builder for `/gnu/store/cb7v3aq2a26350ha85k5lynmgzbsyaip-python-hacking-1.0.0.drv' failed with exit code 1

On master c1febbbf94ee794d7a97dbde12102634f2b13529.
M
M
Maxim Cournoyer wrote on 20 Nov 2020 06:26
(address . 39871-done@debbugs.gnu.org)
87wnyg7g5e.fsf@gmail.com
Hello,

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

Toggle quote (32 lines)
> Build log extract:
>
> OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
> OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
> ${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/guix-build-python-hacking-1.0.0.drv-0/tmp0b3_dkul
> running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
> OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
> OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
> ${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/guix-build-python-hacking-1.0.0.drv-0/tmput8xgx54
> running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
> OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
> OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
> ${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/guix-build-python-hacking-1.0.0.drv-0/tmpv10yr5p9
> ======================================================================
> FAIL: hacking.tests.test_local.HackingTestCase.test_local_check
> tags: worker-16
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/tmp/guix-build-python-hacking-1.0.0.drv-0/hacking-1.0.0/hacking/tests/test_local.py", line 35, in test_local_check
> checker.check_all()
> File "/gnu/store/nk07kycilsspl02pg8jp3j3n9l6c6x6a-python-pep8-1.5.7/lib/python3.7/site-packages/pep8.py", line 1438, in check_all
> self.check_logical()
> File "/gnu/store/nk07kycilsspl02pg8jp3j3n9l6c6x6a-python-pep8-1.5.7/lib/python3.7/site-packages/pep8.py", line 1328, in check_logical
> (start_row, start_col) = mapping[0][1]
> TypeError: 'NoneType' object is not subscriptable
> Ran 185 tests in 0.100s
> FAILED (id=0, failures=1)
> command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "test" failed with status 1
> builder for `/gnu/store/cb7v3aq2a26350ha85k5lynmgzbsyaip-python-hacking-1.0.0.drv' failed with exit code 1
>
> On master c1febbbf94ee794d7a97dbde12102634f2b13529.

Fixed with commit 226b2af51a.

Closing.

Maxim
Closed
?
Your comment

This issue is archived.

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

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