* pytest plugins
@ 2016-04-10 8:19 Ben Woodcroft
2016-04-10 10:34 ` Efraim Flashner
0 siblings, 1 reply; 2+ messages in thread
From: Ben Woodcroft @ 2016-04-10 8:19 UTC (permalink / raw)
To: guix-devel@gnu.org
Hi there,
I'm running into clashes when using pytest plugins e.g.
$ ./pre-inst-env guix environment -C --ad-hoc python-pytest-cov
[..]
warning: collision encountered:
/gnu/store/cfj96msw5ypxcii4z615l03wbjq5hcs9-python-pytest-cov-2.2.0/bin/py.test
/gnu/store/4hz0mf56b9mm8q97k5iw5xbb909vsz4p-python-pytest-2.7.3/bin/py.test
warning: arbitrarily choosing
/gnu/store/cfj96msw5ypxcii4z615l03wbjq5hcs9-python-pytest-cov-2.2.0/bin/py.test
[..]
i.e. the pytest executable is included in `python-pytest' as well
`python-pytest-cov'.
I'm not sure what the best thing to do is here, because no environment
variable is honoured during the py.test startup sequence when looking
for plugins:
http://pytest.org/latest/writing_plugins.html#plugin-discovery-order-at-tool-startup
Do any pythonistas have any ideas on how to get around this?
Thanks,
ben
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: pytest plugins
2016-04-10 8:19 pytest plugins Ben Woodcroft
@ 2016-04-10 10:34 ` Efraim Flashner
0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2016-04-10 10:34 UTC (permalink / raw)
To: Ben Woodcroft; +Cc: guix-devel@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1339 bytes --]
On Sun, Apr 10, 2016 at 06:19:38PM +1000, Ben Woodcroft wrote:
> Hi there,
>
> I'm running into clashes when using pytest plugins e.g.
>
> $ ./pre-inst-env guix environment -C --ad-hoc python-pytest-cov
> [..]
> warning: collision encountered: /gnu/store/cfj96msw5ypxcii4z615l03wbjq5hcs9-python-pytest-cov-2.2.0/bin/py.test
> /gnu/store/4hz0mf56b9mm8q97k5iw5xbb909vsz4p-python-pytest-2.7.3/bin/py.test
> warning: arbitrarily choosing /gnu/store/cfj96msw5ypxcii4z615l03wbjq5hcs9-python-pytest-cov-2.2.0/bin/py.test
> [..]
>
> i.e. the pytest executable is included in `python-pytest' as well
> `python-pytest-cov'.
>
> I'm not sure what the best thing to do is here, because no environment
> variable is honoured during the py.test startup sequence when looking for
> plugins:
>
> http://pytest.org/latest/writing_plugins.html#plugin-discovery-order-at-tool-startup
>
> Do any pythonistas have any ideas on how to get around this?
>
> Thanks,
> ben
>
I'll try to take a look at it soon-ish™. My first guess is it has to do
with the propagated inputs of some of the python-test packages.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-10 10:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-10 8:19 pytest plugins Ben Woodcroft
2016-04-10 10:34 ` Efraim Flashner
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.