GNU bug report logs - #39871
python-hacking build fails

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Mon, 2 Mar 2020 19:13: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 39871 in the body.
You can then email your comments to 39871 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#39871; Package guix. (Mon, 02 Mar 2020 19:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 02 Mar 2020 19:13:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: python-hacking build fails
Date: Mon, 02 Mar 2020 14:12:21 -0500
Build log extract:

--8<---------------cut here---------------start------------->8---
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
--8<---------------cut here---------------end--------------->8---

On master c1febbbf94ee794d7a97dbde12102634f2b13529.





Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Fri, 20 Nov 2020 05:27:02 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Fri, 20 Nov 2020 05:27:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 39871-done <at> debbugs.gnu.org
Subject: Re: bug#39871: python-hacking build fails
Date: Fri, 20 Nov 2020 00:26:21 -0500
Hello,

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

> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 18 Dec 2020 12:24:06 GMT) Full text and rfc822 format available.

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

Previous Next


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