[PATCH] gnu: python-pytest-flake8: Update to 1.0.6.

DoneSubmitted by Matthew Kraai.
Details
3 participants
  • Matthew Kraai
  • Ludovic Courtès
  • Tobias Geerinckx-Rice
Owner
unassigned
Severity
normal
M
M
Matthew Kraai wrote on 26 Jun 2020 18:14
(address . guix-patches@gnu.org)(name . Matthew Kraai)(address . kraai@ftbfs.org)
20200626161403.1689-1-kraai@ftbfs.org
* 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(-)
Toggle diff (23 lines)diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scmindex 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
M
M
Matthew Kraai wrote on 26 Jun 2020 23:11
Fixes build of python-pathpy
(address . 42063@debbugs.gnu.org)
20200626211114.GA1866@inspiron-3147
Hi,
This patch fixes the build of python-pathpy. Without this patch, itfails 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
L
L
Ludovic Courtès wrote on 28 Jun 2020 23:26
(name . Matthew Kraai)(address . kraai@ftbfs.org)(address . 42063@debbugs.gnu.org)
87pn9ievbg.fsf@gnu.org
Hi Matthew,
Matthew Kraai <kraai@ftbfs.org> skribis:
Toggle quote (3 lines)> 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 thisupgrade (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 statebut that’s apparently not the case. :-/
Thank you!
Ludo’.
M
M
Matthew Kraai wrote on 29 Jun 2020 06:37
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 42063@debbugs.gnu.org)
20200629043732.GA10241@inspiron-3147
Hi,
On Sun, Jun 28, 2020 at 11:26:11PM +0200, Ludovic Courtès wrote:
Toggle quote (20 lines)> Matthew Kraai <kraai@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 andpython-zope-interface aren't installed. They're imported bypython-gevent, so I think they should be moved from its native-inputsto its propagated-inputs. Should I file a patch to fix this as aseparate report or should I send it to this one?
-- Matthew Kraai
L
L
Ludovic Courtès wrote on 29 Jun 2020 09:25
(name . Matthew Kraai)(address . kraai@ftbfs.org)(address . 42063@debbugs.gnu.org)
878sg6e3k4.fsf@gnu.org
Hi,
Matthew Kraai <kraai@ftbfs.org> skribis:
Toggle quote (6 lines)> 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’.
T
T
Tobias Geerinckx-Rice wrote on 29 Jun 2020 11:54
Re: [bug#42063] [PATCH] gnu: python-pytest-flake8: Update to 1.0.6.
(name . Matthew Kraai)(address . kraai@ftbfs.org)(address . 42063-done@debbugs.gnu.org)
87lfk6qjsv.fsf@nckx
Matthew,
Matthew Kraai 写道:
Toggle quote (3 lines)> * gnu/packages/python-check.scm (python-pytest-flake8): Update > to 1.0.6.
Pushed as 484255f7b4a1490331d0a950b4429c4fcd82f132.
Thanks,
T G-R
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXvm6QAAKCRANsP+IT1VteRttAQD8tbV0smqOmr2TyBOvsJylX0eBbbDMjzvl6Ys7oi5ZiwD/Qsfsu3TxgNMwXez0MhEL4hb+bq25xLHoapsUzKtOVgY==jw3d-----END PGP SIGNATURE-----
Closed
?