all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>,
	Leo Famulari <leo@famulari.name>
Cc: 25177@debbugs.gnu.org
Subject: bug#25177: Test failures don't cause some Python packages to fail [was Re: [PATCH 05/11] gnu: Add python-pygit2.]
Date: Tue, 13 Dec 2016 10:34:03 +0100	[thread overview]
Message-ID: <87k2b4jhpw.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <f9ccfb0d-d503-d124-d0c4-14bcbd8c8977@crazy-compilers.com>

[-- Attachment #1: Type: text/plain, Size: 2202 bytes --]

Hartmut Goebel <h.goebel@crazy-compilers.com> writes:

> First of all thanks for spotting this bug.
>
>>> The bad news is that we have some breakages.
>>>
>>> 'python-py' fails with:
>>>
>>> TypeError: py.test.__dict__ is not a dictionary
>>>
>>> Which seems similar to
>>>
>>> https://github.com/NixOS/nixpkgs/issues/12565#issuecomment-174165144
>
> The relevant comment is
> https://github.com/NixOS/nixpkgs/issues/12565#issuecomment-174196194:
> Starting with version 18.4, setuptools will always try to execute a
> test-suite (see
> https://setuptools.readthedocs.io/en/latest/history.html#id186), which
> will fail if there is none.
>
> So the solution is to disable the test-suite for python-py, as there is
> no test-suite which can be run via "setup.py test". For testing I added
> "python-setuptools" (18.3.1) as native input. This made the "check"
> phase run "0 tests" for python2-py and no tests at al for python-py.
>
> (This package includes a test-suite (see tox.ini), but this test-suite
> requires py.test, with itself requires python-py. So I suggest to
> disable it.)

I tried upgrading pytest to 3.0.5 and adding a variant that does not
propagate 'python-py' as input for the 'python-py' package. That got a
bit further, but it does not accept modules from the store!

"ImportError: 'test' module incorrectly imported from '/gnu/store/mwci3544rk71p131mgri5am0sxbz09a6-python-pytest-minimal-3.0.5/lib/python3.5/site-packages'. Expected '/tmp/guix-build-python-py-1.4.31.drv-0/py-1.4.31/py'. Is this module globally installed?"

Disabled tests for now.

> Our Python (3.5.2) comes with setuptools 20.10.1.

Is the 2.7 variant the same version? When adding "python-setuptools" as
native-input, is it guaranteed to override the bundled one?

>> Yikes, I had hoped to avoid addressing that Nix issue and the humongous
>> "fix" for a while longer:
>>
>> https://github.com/NixOS/nixpkgs/pull/12552
>
> This puill-request is huge, but for setuptools, it comes down that they
> updated from 18.2 to 19.4.

Sounds like we're going down the same road. I've started a branch with
the earlier patch and a few other fixes. Is it ok to overwrite the
existing 'python-updates' branch on Savannah?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2016-12-13  9:35 UTC|newest]

Thread overview: 97+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-11 18:12 [PATCH] Add pagure SCM/forge ng0
2016-12-11 18:12 ` [PATCH 01/11] gnu: Add python-flask-wtf ng0
2016-12-11 22:39   ` Leo Famulari
2016-12-11 23:05     ` ng0
2016-12-11 23:22       ` Leo Famulari
2016-12-12 10:27         ` Hartmut Goebel
2016-12-12 10:26       ` Hartmut Goebel
2016-12-11 18:12 ` [PATCH 02/11] gnu: Add python-flask-multistatic ng0
2016-12-11 22:40   ` Leo Famulari
2016-12-11 18:12 ` [PATCH 03/11] gnu: Add python-kitchen ng0
2016-12-11 22:44   ` Leo Famulari
2016-12-11 18:12 ` [PATCH 04/11] gnu: Add python-munch ng0
2016-12-11 18:12 ` [PATCH 05/11] gnu: Add python-pygit2 ng0
2016-12-11 22:34   ` bug#25177: Test failures don't cause some Python packages to fail [was Re: [PATCH 05/11] gnu: Add python-pygit2.] Leo Famulari
2016-12-11 23:04     ` Marius Bakke
2016-12-11 23:05       ` Marius Bakke
2016-12-11 23:23         ` Leo Famulari
2016-12-11 23:34           ` Marius Bakke
2016-12-12  7:54       ` Marius Bakke
2016-12-12 15:44         ` Leo Famulari
2016-12-12 22:23           ` Hartmut Goebel
2016-12-13  9:34             ` Marius Bakke [this message]
2016-12-13 20:21               ` bug#25177: Test failures don't cause some Python packages to fail Marius Bakke
2016-12-13 22:11                 ` Leo Famulari
2016-12-14 12:11                   ` Marius Bakke
2016-12-15  9:26                   ` Marius Bakke
2016-12-15 23:55                     ` Leo Famulari
2016-12-16 14:02                       ` Marius Bakke
2016-12-17 17:14                         ` Leo Famulari
2016-12-17 17:38                           ` Marius Bakke
2016-12-17 17:56                             ` Leo Famulari
2016-12-17 20:15                               ` Leo Famulari
2016-12-17 23:47                                 ` Marius Bakke
2016-12-18  1:28                                   ` Leo Famulari
2016-12-18 18:55                                     ` Marius Bakke
2016-12-18 19:04                                       ` Leo Famulari
2016-12-20 18:49                                         ` Marius Bakke
2016-12-20 19:30                                           ` Leo Famulari
2016-12-24 13:43                                             ` Marius Bakke
2016-12-24 16:26                                               ` Leo Famulari
2016-12-26 18:33                                                 ` Leo Famulari
2016-12-16  9:23                     ` Hartmut Goebel
2016-12-13 22:47               ` Removing the python-updates branch [was Re: bug#25177: Test failures don't cause some Python packages to fail] Leo Famulari
2016-12-11 18:12 ` [PATCH 06/11] gnu: Add python2-openid ng0
2016-12-11 18:12 ` [PATCH 07/11] gnu: Add python-openid-cla ng0
2016-12-11 18:12 ` [PATCH 08/11] gnu: Add python-openid-teams ng0
2016-12-11 18:12 ` [PATCH 09/11] gnu: Add python-straight.plugin ng0
2016-12-11 18:12 ` [PATCH 10/11] gnu: Add python-trollius-redis ng0
2016-12-11 18:12 ` [PATCH 11/11] gnu: Add pagure ng0
2016-12-11 18:48   ` ng0
2016-12-11 22:54   ` Leo Famulari
2016-12-13 22:05   ` Ricardo Wurmus
2016-12-11 22:52 ` [PATCH] Add pagure SCM/forge Leo Famulari
2016-12-12  9:21   ` ng0
2016-12-12 15:18     ` Leo Famulari
2016-12-14 12:25       ` [PATCH] series: Add pagure (v2) ng0
2016-12-14 12:25         ` [PATCH 01/11] gnu: Add python-flask-wtf ng0
2016-12-14 12:25         ` [PATCH 02/11] gnu: Add python-flask-multistatic ng0
2016-12-14 12:25         ` [PATCH 03/11] gnu: Add python-kitchen ng0
2016-12-14 12:25         ` [PATCH 04/11] gnu: Add python-munch ng0
2016-12-14 12:25         ` [PATCH 05/11] gnu: Add python-pygit2 ng0
2016-12-14 12:25         ` [PATCH 06/11] gnu: Add python2-openid ng0
2016-12-14 12:25         ` [PATCH 07/11] gnu: Add python-openid-cla ng0
2016-12-14 12:25         ` [PATCH 08/11] gnu: Add python-openid-teams ng0
2016-12-14 12:25         ` [PATCH 09/11] gnu: Add python-straight-plugin ng0
2016-12-14 12:25         ` [PATCH 10/11] gnu: Add python-trollius-redis ng0
2016-12-14 12:25         ` [PATCH 11/11] gnu: Add pagure ng0
2016-12-14 15:36           ` Leo Famulari
2016-12-14 16:27             ` ng0
2016-12-14 16:47               ` Leo Famulari
2016-12-19  9:07                 ` Pagure dependencies, rebased (v3) ng0
2016-12-19  9:07                   ` [PATCH 01/11] gnu: Add python-flask-wtf ng0
2016-12-20 23:10                     ` Danny Milosavljevic
2016-12-21 11:47                       ` Dependencies of pagure, revision of 2016-12-21 ng0
2016-12-21 11:47                         ` [PATCH 01/11] gnu: Add python-flask-wtf ng0
2016-12-21 11:47                         ` [PATCH 02/11] gnu: Add python-flask-multistatic ng0
2016-12-21 11:47                         ` [PATCH 03/11] gnu: Add python-kitchen ng0
2016-12-21 11:47                         ` [PATCH 04/11] gnu: Add python-munch ng0
2016-12-21 11:47                         ` [PATCH 05/11] gnu: Add python-pygit2 ng0
2016-12-21 11:47                         ` [PATCH 06/11] gnu: Add python2-openid ng0
2016-12-21 11:47                         ` [PATCH 07/11] gnu: Add python-openid-cla ng0
2016-12-21 11:47                         ` [PATCH 08/11] gnu: Add python-openid-teams ng0
2016-12-21 11:47                         ` [PATCH 09/11] gnu: Add python-straight-plugin ng0
2016-12-21 11:47                         ` [PATCH 10/11] gnu: Add python-trollius-redis ng0
2016-12-26 15:05                         ` Dependencies of pagure, revision of 2016-12-21 ng0
2016-12-29  3:44                         ` Leo Famulari
2016-12-29 12:19                           ` ng0
2016-12-19  9:07                   ` [PATCH 02/11] gnu: Add python-flask-multistatic ng0
2016-12-19  9:07                   ` [PATCH 03/11] gnu: Add python-kitchen ng0
2016-12-19  9:07                   ` [PATCH 04/11] gnu: Add python-munch ng0
2016-12-19  9:07                   ` [PATCH 05/11] gnu: Add python-pygit2 ng0
2016-12-19  9:07                   ` [PATCH 06/11] gnu: Add python2-openid ng0
2016-12-19  9:07                   ` [PATCH 07/11] gnu: Add python-openid-cla ng0
2016-12-19  9:07                   ` [PATCH 08/11] gnu: Add python-openid-teams ng0
2016-12-19  9:07                   ` [PATCH 09/11] gnu: Add python-straight-plugin ng0
2016-12-19  9:07                   ` [PATCH 10/11] gnu: Add python-trollius-redis ng0
2016-12-14 18:26               ` [PATCH 11/11] gnu: Add pagure ng0

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

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

  git send-email \
    --in-reply-to=87k2b4jhpw.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me \
    --to=mbakke@fastmail.com \
    --cc=25177@debbugs.gnu.org \
    --cc=h.goebel@crazy-compilers.com \
    --cc=leo@famulari.name \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.