Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #90565

Re: Testing build

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'package,': 0.03; '21,': 0.07; 'importerror:': 0.07; 'installed.': 0.07; 'python3': 0.07; 'source.': 0.07; 'failed:': 0.09; 'parsing': 0.09; 'subject:build': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'bug': 0.12; '170,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'guessing': 0.16; 'skips': 0.16; 'unexpected': 0.16; 'wrote:': 0.18; 'library': 0.18; 'module': 0.19; 'properly': 0.19; 'thu,': 0.19; 'import': 0.22; 'otherwise,': 0.22; 'tests': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; "shouldn't": 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'skip:" 30': 0.26; 'skip:" 40': 0.26; 'certain': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'assumes': 0.31; 'ok.': 0.31; 'file': 0.32; 'probably': 0.32; 'supposed': 0.32; 'run': 0.32; '(most': 0.33; 'trouble': 0.34; 'skip:_ 10': 0.34; 'could': 0.34; 'problem': 0.35; 'something': 0.35; 'case,': 0.35; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; '14,': 0.36; 'should': 0.36; 'manager': 0.38; 'that,': 0.38; 'recent': 0.39; 'sure': 0.39; 'most': 0.60; 'tell': 0.60; "you're": 0.61; 'further': 0.61; 'more': 0.64; '(is': 0.84; '2015': 0.84; 'subject:Testing': 0.84; '1:18': 0.91; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=Uwh5xkwPBWxALd65HE+ViBCMMKKXtxhZz8AN4dZUaE4=; b=dlznDYjkwno1d4Mxwd0s5255RfKd3xW9oyeDLKQJ2gRgocHn87mjFnhpzTgR8wZUOg fgvUAwkOJ+Ie3Nlv/qceJNGgnYa+cxW2w2mtl762ca2cGNurNMx5fH6yFcjCq7ClRsIX 7Rsx0prgzCDe0NnsTj0o1fJq7C+ISl3JGkRRmnGM7PzzUjtdlqAUGlmrOHIEzP/txmKC 8zYcVfcHS3TdmoN+74dyYjRpEU9RrZ8n46k95lHZKyhIn225zoOzS0fta7jB4BnF3h5U sRSWs5OXAZVujvQmj9yrnERG9KaygKYTm6X2PB7Vk+0o41idqKYwDUbHuJNEpgy6jp8G LY+g==
MIME-Version 1.0
X-Received by 10.50.43.196 with SMTP id y4mr11515713igl.14.1431531938238; Wed, 13 May 2015 08:45:38 -0700 (PDT)
In-Reply-To <87sib05wvf.fsf@Equus.decebal.nl>
References <8738307fdz.fsf@Equus.decebal.nl> <mailman.443.1431526372.12865.python-list@python.org> <87sib05wvf.fsf@Equus.decebal.nl>
Date Thu, 14 May 2015 01:45:38 +1000
Subject Re: Testing build
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.450.1431531941.12865.python-list@python.org> (permalink)
Lines 46
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1431531941 news.xs4all.nl 2873 [2001:888:2000:d::a6]:53005
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:90565

Show key headers only | View raw


On Thu, May 14, 2015 at 1:18 AM, Cecil Westerhof <Cecil@decebal.nl> wrote:
> With:
>     python3 -m test -j3
> I now get:
>     Traceback (most recent call last):
>       File "/usr/lib64/python3.4/runpy.py", line 170, in _run_module_as_main
>         "__main__", mod_spec)
>       File "/usr/lib64/python3.4/runpy.py", line 85, in _run_code
>         exec(code, run_globals)
>       File "/usr/lib64/python3.4/_import_failed/test.py", line 21, in <module>
>         Please file a bug on the Novell Bugzilla.""")
>     ImportError: Module '{}' is not installed.
>     It is supposed to be part of python3 distribution, but missing from failed import map.
>     Please file a bug on the Novell Bugzilla.

... wat?

I'm having trouble parsing the grammar of that, but I'm guessing
something isn't properly set up to allow you to run the test suite on
Python 3. You could try using your package manager (is that zypper?)
to install more Python packages, though I'm not sure what you'd go
for. Is there a "python3-all" package, perhaps? Otherwise, try a
"python3-dev" package, or similar.

In any case, you shouldn't have this problem on a Py3 that you build
from source. What you're looking at is a cut-down Python standard
library that assumes that most people won't need to run the test suite
- which is a reasonable assumption, but one you're now breaking. :)

> With:
>     python2 -m  test.regrtest -j3
> I now get:
>     354 tests OK.
>     3 tests failed:
>         test_distutils test_gdb test_poplib
>     4 skips unexpected on linux2:
>         test_dbm test_gdbm test_idle test_tools
>
> This is on openSUSE 13.2.

This looks like a normal test run. You're seeing some failures, which
should have been run verbosely further above; the unexpected skips
might mean that you need to tell the test runner that it's allowed to
use certain resources, but otherwise they're probably not a big deal.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Testing build Cecil Westerhof <Cecil@decebal.nl> - 2015-05-13 15:53 +0200
  Re: Testing build Chris Angelico <rosuav@gmail.com> - 2015-05-14 00:12 +1000
    Re: Testing build Cecil Westerhof <Cecil@decebal.nl> - 2015-05-13 17:18 +0200
      Re: Testing build Chris Angelico <rosuav@gmail.com> - 2015-05-14 01:45 +1000
        Re: Testing build Cecil Westerhof <Cecil@decebal.nl> - 2015-05-13 19:15 +0200

csiph-web