emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41212: closed (fail to build python-parso)


From: GNU bug Tracking System
Subject: bug#41212: closed (fail to build python-parso)
Date: Tue, 01 Sep 2020 18:00:03 +0000

Your message dated Tue, 01 Sep 2020 13:59:46 -0400
with message-id <87y2ltpect.fsf@gmail.com>
and subject line Re: bug#41212: fail to build python-parso
has caused the debbugs.gnu.org bug report #41212,
regarding fail to build python-parso
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
41212: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41212
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: fail to build python-parso Date: Tue, 12 May 2020 18:46:19 +0800 (CST)
my guix describe:

Generation 3    May 12 2020 09:03:13    (current)
  guix 91be384
    repository URL: /opt/guix
    branch: master
    commit: 91be384d2ef87af58f814e10a4ce0d8717bea647

(I store the git repository in /opt/guix and pull the source code of upstream https://github.com/guix-mirror/guix)

build log:

=================================== FAILURES ===================================
_______________ test_python_exception_matches[(lambda: x := 1)] ________________

code = '(lambda: x := 1)'

    @pytest.mark.parametrize('code', FAILING_EXAMPLES)
    def test_python_exception_matches(code):
        wanted, line_nr = _get_actual_exception(code)

        errors = _get_error_list(code)
        wanted, line_nr = _get_actual_exception(code)                                                                                                           [50/1848]

        errors = _get_error_list(code)
        actual = None
        if errors:
            error, = errors
            actual = error.message
>       assert actual in wanted
E       AssertionError: assert 'SyntaxError: cannot use named assignment with subscript' in ['SyntaxError: cannot use assignment expressions with subscript']

test/test_python_errors.py:39: AssertionError
__________________ test_python_exception_matches[(a(i) := x)] __________________

code = '(a(i) := x)'

    @pytest.mark.parametrize('code', FAILING_EXAMPLES)
    def test_python_exception_matches(code):
        wanted, line_nr = _get_actual_exception(code)

        errors = _get_error_list(code)
        actual = None
        if errors:
            error, = errors
            actual = error.message
>       assert actual in wanted
E       AssertionError: assert 'SyntaxError: cannot use named assignment with function call' in ['SyntaxError: cannot use assignment expressions with function call']

test/test_python_errors.py:39: AssertionError
__________________ test_python_exception_matches[(a.b := c)] ___________________

code = '(a.b := c)'

    @pytest.mark.parametrize('code', FAILING_EXAMPLES)
    def test_python_exception_matches(code):
        wanted, line_nr = _get_actual_exception(code)

        errors = _get_error_list(code)
        actual = None
        if errors:
            error, = errors
            actual = error.message
>       assert actual in wanted
E       AssertionError: assert 'SyntaxError: cannot use named assignment with attribute' in ['SyntaxError: cannot use assignment expressions with attribute']

test/test_python_errors.py:39: AssertionError
_____ test_python_exception_matches[[(i.i:= 0) for ((i), j) in range(5)]] ______

code = '[(i.i:= 0) for ((i), j) in range(5)]'

    @pytest.mark.parametrize('code', FAILING_EXAMPLES)
    def test_python_exception_matches(code):
        wanted, line_nr = _get_actual_exception(code)
    def test_python_exception_matches(code):                                                                                                                     [0/1848]
        wanted, line_nr = _get_actual_exception(code)

        errors = _get_error_list(code)
        actual = None
        if errors:
            error, = errors
            actual = error.message
>       assert actual in wanted
E       AssertionError: assert 'SyntaxError: cannot use named assignment with attribute' in ['SyntaxError: cannot use assignment expressions with attribute']

test/test_python_errors.py:39: AssertionError
________________ test_python_exception_matches[(await a := x)] _________________

code = '(await a := x)'

    @pytest.mark.parametrize('code', FAILING_EXAMPLES)
    def test_python_exception_matches(code):
        wanted, line_nr = _get_actual_exception(code)

        errors = _get_error_list(code)
        actual = None
        if errors:
            error, = errors
            actual = error.message
>       assert actual in wanted
E       AssertionError: assert 'SyntaxError: cannot use named assignment with await _expression_' in ['SyntaxError: cannot use assignment expressions with await _expression_
']

test/test_python_errors.py:39: AssertionError
_______________ test_python_exception_matches[((await a) := x)] ________________

code = '((await a) := x)'

    @pytest.mark.parametrize('code', FAILING_EXAMPLES)
    def test_python_exception_matches(code):
        wanted, line_nr = _get_actual_exception(code)

        errors = _get_error_list(code)
        actual = None
        if errors:
            error, = errors
            actual = error.message
>       assert actual in wanted
E       AssertionError: assert 'SyntaxError: cannot use named assignment with await _expression_' in ['SyntaxError: cannot use assignment expressions with await _expression_
']

test/test_python_errors.py:39: AssertionError
================== 9 failed, 1181 passed, 1 xfailed in 17.76s ==================
command "pytest" "-vv" failed with status 1



How should I solve it?


 


--- End Message ---
--- Begin Message --- Subject: Re: bug#41212: fail to build python-parso Date: Tue, 01 Sep 2020 13:59:46 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
zimoun <zimon.toutoune@gmail.com> writes:

> Dear,
>
> I am not able to reproduce.
>
> # first to populate the store
> guix time-machine --commit=91be384 \
>      -- build python-parso
>
> # second to really build it
> guix time-machine --commit=91be384 \
>      -- build python-parso --no-grafts --check
>
> And I do not have any error.  The substitute is available and the
> rebuild is fine.
>
> Could you provide the command-line that you used?

No answer, current python-parso builds.

Closing.

Maxim


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]