GNU bug report logs - #42063
[PATCH] gnu: python-pytest-flake8: Update to 1.0.6.

Previous Next

Package: guix-patches;

Reported by: Matthew Kraai <kraai <at> ftbfs.org>

Date: Fri, 26 Jun 2020 16:15:02 UTC

Severity: normal

Tags: patch

Done: Tobias Geerinckx-Rice <me <at> tobias.gr>

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 42063 in the body.
You can then email your comments to 42063 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 guix-patches <at> gnu.org:
bug#42063; Package guix-patches. (Fri, 26 Jun 2020 16:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matthew Kraai <kraai <at> ftbfs.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 26 Jun 2020 16:15:02 GMT) Full text and rfc822 format available.

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

From: Matthew Kraai <kraai <at> ftbfs.org>
To: guix-patches <at> gnu.org
Cc: Matthew Kraai <kraai <at> ftbfs.org>
Subject: [PATCH] gnu: python-pytest-flake8: Update to 1.0.6.
Date: Fri, 26 Jun 2020 09:14:03 -0700
* gnu/packages/python-check.scm (python-pytest-flake8): Update to 1.0.6.
---
 gnu/packages/python-check.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 7d8647cb44..200bce6ced 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -183,14 +183,14 @@ of the project to ensure it renders properly.")
 (define-public python-pytest-flake8
   (package
     (name "python-pytest-flake8")
-    (version "1.0.4")
+    (version "1.0.6")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pytest-flake8" version))
        (sha256
         (base32
-         "1h30gd21fjsafqxwclf25sdh89vrdz7rsh4lzw11aiw7ww9mq8jd"))))
+         "09vhn7r77s1yiqnlwfvh5585f904zpyd6620a90dpccfr1cbp0hv"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-flake8" ,python-flake8)))
-- 
2.26.2





Information forwarded to guix-patches <at> gnu.org:
bug#42063; Package guix-patches. (Fri, 26 Jun 2020 21:12:02 GMT) Full text and rfc822 format available.

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

From: Matthew Kraai <kraai <at> ftbfs.org>
To: 42063 <at> debbugs.gnu.org
Subject: Fixes build of python-pathpy
Date: Fri, 26 Jun 2020 14:11:14 -0700
Hi,

This patch fixes the build of python-pathpy.  Without this patch, it
fails to build with the following errors:

=================================== FAILURES ===================================
_________________________________ FLAKE8-check _________________________________
/gnu/store/p0wphmjxi2mn1i72m1bq2mbfbq5d706h-python-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/gnu/store/p0wphmjxi2mn1i72m1bq2mbfbq5d706h-python-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/gnu/store/p0wphmjxi2mn1i72m1bq2mbfbq5d706h-python-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/gnu/store/3bk454z353a42l1l4yaxa6lrl3dh24mv-python-pytest-5.3.5/lib/python3.8/site-packages/_pytest/runner.py:134: in pytest_runtest_call
    item.runtest()
/gnu/store/ki31zx9qrpss8pmy0cgk44j8hhm2nc35-python-pytest-flake8-1.0.4/lib/python3.8/site-packages/pytest_flake8.py:110: in runtest
    found_errors, out, err = call(
/gnu/store/hh397yagghj2nrpwv9cdc6cgqwbrk4yx-python-py-1.8.1/lib/python3.8/site-packages/py/_io/capture.py:150: in call
    res = func(*args, **kwargs)
/gnu/store/ki31zx9qrpss8pmy0cgk44j8hhm2nc35-python-pytest-flake8-1.0.4/lib/python3.8/site-packages/pytest_flake8.py:182: in check_file
    app.parse_preliminary_options_and_args(args)
E   AttributeError: 'Application' object has no attribute 'parse_preliminary_options_and_args'
_________________________________ FLAKE8-check _________________________________
/gnu/store/p0wphmjxi2mn1i72m1bq2mbfbq5d706h-python-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/gnu/store/p0wphmjxi2mn1i72m1bq2mbfbq5d706h-python-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/gnu/store/p0wphmjxi2mn1i72m1bq2mbfbq5d706h-python-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/gnu/store/3bk454z353a42l1l4yaxa6lrl3dh24mv-python-pytest-5.3.5/lib/python3.8/site-packages/_pytest/runner.py:134: in pytest_runtest_call
    item.runtest()
/gnu/store/ki31zx9qrpss8pmy0cgk44j8hhm2nc35-python-pytest-flake8-1.0.4/lib/python3.8/site-packages/pytest_flake8.py:110: in runtest
    found_errors, out, err = call(
/gnu/store/hh397yagghj2nrpwv9cdc6cgqwbrk4yx-python-py-1.8.1/lib/python3.8/site-packages/py/_io/capture.py:150: in call
    res = func(*args, **kwargs)
/gnu/store/ki31zx9qrpss8pmy0cgk44j8hhm2nc35-python-pytest-flake8-1.0.4/lib/python3.8/site-packages/pytest_flake8.py:182: in check_file
    app.parse_preliminary_options_and_args(args)
E   AttributeError: 'Application' object has no attribute 'parse_preliminary_options_and_args'
_________________________________ FLAKE8-check _________________________________
/gnu/store/p0wphmjxi2mn1i72m1bq2mbfbq5d706h-python-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/gnu/store/p0wphmjxi2mn1i72m1bq2mbfbq5d706h-python-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/gnu/store/p0wphmjxi2mn1i72m1bq2mbfbq5d706h-python-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/gnu/store/3bk454z353a42l1l4yaxa6lrl3dh24mv-python-pytest-5.3.5/lib/python3.8/site-packages/_pytest/runner.py:134: in pytest_runtest_call
    item.runtest()
/gnu/store/ki31zx9qrpss8pmy0cgk44j8hhm2nc35-python-pytest-flake8-1.0.4/lib/python3.8/site-packages/pytest_flake8.py:110: in runtest
    found_errors, out, err = call(
/gnu/store/hh397yagghj2nrpwv9cdc6cgqwbrk4yx-python-py-1.8.1/lib/python3.8/site-packages/py/_io/capture.py:150: in call
    res = func(*args, **kwargs)
/gnu/store/ki31zx9qrpss8pmy0cgk44j8hhm2nc35-python-pytest-flake8-1.0.4/lib/python3.8/site-packages/pytest_flake8.py:182: in check_file
    app.parse_preliminary_options_and_args(args)
E   AttributeError: 'Application' object has no attribute 'parse_preliminary_options_and_args'
_________________________________ FLAKE8-check _________________________________
/gnu/store/p0wphmjxi2mn1i72m1bq2mbfbq5d706h-python-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/gnu/store/p0wphmjxi2mn1i72m1bq2mbfbq5d706h-python-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/gnu/store/p0wphmjxi2mn1i72m1bq2mbfbq5d706h-python-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/gnu/store/3bk454z353a42l1l4yaxa6lrl3dh24mv-python-pytest-5.3.5/lib/python3.8/site-packages/_pytest/runner.py:134: in pytest_runtest_call
    item.runtest()
/gnu/store/ki31zx9qrpss8pmy0cgk44j8hhm2nc35-python-pytest-flake8-1.0.4/lib/python3.8/site-packages/pytest_flake8.py:110: in runtest
    found_errors, out, err = call(
/gnu/store/hh397yagghj2nrpwv9cdc6cgqwbrk4yx-python-py-1.8.1/lib/python3.8/site-packages/py/_io/capture.py:150: in call
    res = func(*args, **kwargs)
/gnu/store/ki31zx9qrpss8pmy0cgk44j8hhm2nc35-python-pytest-flake8-1.0.4/lib/python3.8/site-packages/pytest_flake8.py:182: in check_file
    app.parse_preliminary_options_and_args(args)
E   AttributeError: 'Application' object has no attribute 'parse_preliminary_options_and_args'
================== 4 failed, 75 passed, 1 deselected in 7.65s ==================
command "pytest" "-v" "-k" "not test_import_time" failed with status 1

-- 
Matthew Kraai




Information forwarded to guix-patches <at> gnu.org:
bug#42063; Package guix-patches. (Sun, 28 Jun 2020 21:27:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Matthew Kraai <kraai <at> ftbfs.org>
Cc: 42063 <at> debbugs.gnu.org
Subject: Re: [bug#42063] Fixes build of python-pathpy
Date: Sun, 28 Jun 2020 23:26:11 +0200
Hi Matthew,

Matthew Kraai <kraai <at> ftbfs.org> skribis:

> This patch fixes the build of python-pathpy.  Without this patch, it
> fails to build with the following errors:

I built the dependents returned by:

  guix refresh -l python-pytest-flake8

and found several build failures, some probably introduced by this
upgrade (python-tinycss2), and others probably unrelated
(python-geventhttpclient).

Could you take a look?

It would be nice if we were sure to be starting from a known-good state
but that’s apparently not the case.  :-/

Thank you!

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#42063; Package guix-patches. (Mon, 29 Jun 2020 04:38:01 GMT) Full text and rfc822 format available.

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

From: Matthew Kraai <kraai <at> ftbfs.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 42063 <at> debbugs.gnu.org
Subject: Re: [bug#42063] Fixes build of python-pathpy
Date: Sun, 28 Jun 2020 21:37:32 -0700
Hi,

On Sun, Jun 28, 2020 at 11:26:11PM +0200, Ludovic Courtès wrote:
> Matthew Kraai <kraai <at> ftbfs.org> skribis:
> 
> > This patch fixes the build of python-pathpy.  Without this patch, it
> > fails to build with the following errors:
> 
> I built the dependents returned by:
> 
>   guix refresh -l python-pytest-flake8
> 
> and found several build failures, some probably introduced by this
> upgrade (python-tinycss2), and others probably unrelated
> (python-geventhttpclient).
> 
> Could you take a look?
> 
> It would be nice if we were sure to be starting from a known-good state
> but that’s apparently not the case.  :-/
> 
> Thank you!

python-geventhttpclient fails to build because python-zope-event and
python-zope-interface aren't installed.  They're imported by
python-gevent, so I think they should be moved from its native-inputs
to its propagated-inputs.  Should I file a patch to fix this as a
separate report or should I send it to this one?

-- 
Matthew Kraai




Information forwarded to guix-patches <at> gnu.org:
bug#42063; Package guix-patches. (Mon, 29 Jun 2020 07:26:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Matthew Kraai <kraai <at> ftbfs.org>
Cc: 42063 <at> debbugs.gnu.org
Subject: Re: [bug#42063] Fixes build of python-pathpy
Date: Mon, 29 Jun 2020 09:25:47 +0200
Hi,

Matthew Kraai <kraai <at> ftbfs.org> skribis:

> python-geventhttpclient fails to build because python-zope-event and
> python-zope-interface aren't installed.  They're imported by
> python-gevent, so I think they should be moved from its native-inputs
> to its propagated-inputs.  Should I file a patch to fix this as a
> separate report or should I send it to this one?

You can send it separately.  Thanks for looking into it!

Ludo’.




Reply sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
You have taken responsibility. (Mon, 29 Jun 2020 09:55:01 GMT) Full text and rfc822 format available.

Notification sent to Matthew Kraai <kraai <at> ftbfs.org>:
bug acknowledged by developer. (Mon, 29 Jun 2020 09:55:01 GMT) Full text and rfc822 format available.

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

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Matthew Kraai <kraai <at> ftbfs.org>
Cc: 42063-done <at> debbugs.gnu.org
Subject: Re: [bug#42063] [PATCH] gnu: python-pytest-flake8: Update to 1.0.6.
Date: Mon, 29 Jun 2020 11:54:08 +0200
[Message part 1 (text/plain, inline)]
Matthew,

Matthew Kraai 写道:
> * gnu/packages/python-check.scm (python-pytest-flake8): Update 
> to 1.0.6.

Pushed as 484255f7b4a1490331d0a950b4429c4fcd82f132.

Thanks,

T G-R
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 27 Jul 2020 11:24:05 GMT) Full text and rfc822 format available.

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

Previous Next


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