GNU bug report logs -
#64920
conda-22.9.0 fails to build (missing `mock`?)
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64920 in the body.
You can then email your comments to 64920 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#64920
; Package
guix
.
(Fri, 28 Jul 2023 18:17:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alexandre Hannud Abdo <abdo <at> member.fsf.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 28 Jul 2023 18:17:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Ni!
From `guix shell -CN conda` on a Guix System with Guix "cf9904b":
[...snipped...]
building /gnu/store/1fjkvsgwys8wj8s63dwc7ig92w5rkadj-conda-22.9.0.drv...
/ 'check' phasebuilder for `/gnu/store/1fjkvsgwys8wj8s63dwc7ig92w5rkadj-conda-22.9.0.drv' failed with exit code 1
build of /gnu/store/1fjkvsgwys8wj8s63dwc7ig92w5rkadj-conda-22.9.0.drv failed
View build log at '/var/log/guix/drvs/1f/jkvsgwys8wj8s63dwc7ig92w5rkadj-conda-22.9.0.drv.gz'.
guix shell: error: build of `/gnu/store/1fjkvsgwys8wj8s63dwc7ig92w5rkadj-conda-22.9.0.drv' failed
In the guix logs I see:
==================================== ERRORS ====================================
______________________ ERROR collecting tests/test_cli.py ______________________
ImportError while importing test module '/tmp/guix-build-conda-22.9.0.drv-0/source/tests/test_cli.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/gnu/store/9kmpn99l328qx5q5gyn6hs9dk5hm3mmg-python-pytest-7.1.3/lib/python3.10/site-packages/_pytest/python.py:608: in _importtestmodule
mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/gnu/store/9kmpn99l328qx5q5gyn6hs9dk5hm3mmg-python-pytest-7.1.3/lib/python3.10/site-packages/_pytest/pathlib.py:533: in import_path
importlib.import_module(module_name)
/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:688: in _load_unlocked
???
/gnu/store/9kmpn99l328qx5q5gyn6hs9dk5hm3mmg-python-pytest-7.1.3/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:168: in exec_module
exec(co, module.__dict__)
tests/test_cli.py:10: in <module>
from mock import patch
E ModuleNotFoundError: No module named 'mock'
[...snipped...]
=========================== short test summary info ============================
ERROR tests/test_cli.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
Best,
.~´
[OpenPGP_0x722BE2E50CE6A56B.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Tue, 15 Aug 2023 21:38:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Alexandre Hannud Abdo <abdo <at> member.fsf.org>
:
bug acknowledged by developer.
(Tue, 15 Aug 2023 21:38:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 64920-done <at> debbugs.gnu.org (full text, mbox):
Hi Alexandre,
Alexandre Hannud Abdo <abdo <at> member.fsf.org> skribis:
> guix shell: error: build of `/gnu/store/1fjkvsgwys8wj8s63dwc7ig92w5rkadj-conda-22.9.0.drv' failed
>
> In the guix logs I see:
>
> ==================================== ERRORS ====================================
> ______________________ ERROR collecting tests/test_cli.py ______________________
> ImportError while importing test module '/tmp/guix-build-conda-22.9.0.drv-0/source/tests/test_cli.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /gnu/store/9kmpn99l328qx5q5gyn6hs9dk5hm3mmg-python-pytest-7.1.3/lib/python3.10/site-packages/_pytest/python.py:608: in _importtestmodule
> mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /gnu/store/9kmpn99l328qx5q5gyn6hs9dk5hm3mmg-python-pytest-7.1.3/lib/python3.10/site-packages/_pytest/pathlib.py:533: in import_path
> importlib.import_module(module_name)
> /gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1050: in _gcd_import
> ???
> <frozen importlib._bootstrap>:1027: in _find_and_load
> ???
> <frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
> ???
> <frozen importlib._bootstrap>:688: in _load_unlocked
> ???
> /gnu/store/9kmpn99l328qx5q5gyn6hs9dk5hm3mmg-python-pytest-7.1.3/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:168: in exec_module
> exec(co, module.__dict__)
> tests/test_cli.py:10: in <module>
> from mock import patch
> E ModuleNotFoundError: No module named 'mock'
I believe this was fixed by 0069db9154c164d757a2969af5f2dabbb979daae a
few days ago.
Thanks,
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 13 Sep 2023 11:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 8 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.