unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Alexandre Hannud Abdo <abdo@member.fsf.org>
To: 64920@debbugs.gnu.org
Subject: bug#64920: conda-22.9.0 fails to build (missing `mock`?)
Date: Fri, 28 Jul 2023 20:16:15 +0200	[thread overview]
Message-ID: <59240498-0db4-3f6b-8965-f78566ddf468@member.fsf.org> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 2325 bytes --]

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,

.~´


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3219 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]

             reply	other threads:[~2023-07-28 18:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-28 18:16 Alexandre Hannud Abdo [this message]
2023-08-15 21:37 ` bug#64920: conda-22.9.0 fails to build (missing `mock`?) Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59240498-0db4-3f6b-8965-f78566ddf468@member.fsf.org \
    --to=abdo@member.fsf.org \
    --cc=64920@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).