python-neo icon indicating copy to clipboard operation
python-neo copied to clipboard

446 tests fail with neo-0.10.0

Open TheChymera opened this issue 4 years ago • 4 comments

This is the full build and test log: https://ppb.chymera.eu/f0c5ba.log I assume some failures at least are due to network access (is there any way to easily skip tests which require network access), and some due to missing dependencies.

One thing I spotted is ipython — this is an interactive shell. Is any functionality of python-neo really dependent on an interactive Python shell?

TheChymera avatar Oct 11 '21 01:10 TheChymera

Hi @TheChymera. Thank also for this packaging.

f you have any environment variable in mind to check if the test suite is running on your gentoo build box, tell us. We can easily add then to skip theses test.

samuelgarcia avatar Oct 11 '21 08:10 samuelgarcia

Hi @samuelgarcia thank you for looking into this! The way many packages do this is that they either:

  1. have an environment variable such as PACKAGENAME_TESTS_NONETWORK (datalad for instance uses DATALAD_TESTS_NONETWORK)
  2. mark the tests with e.g. @pytest.mark.network so that they can be deselected when running pytest via pytest -m "not network".

TheChymera avatar Oct 11 '21 21:10 TheChymera

OK I put that on my todo list. I won't do it immediatly because I am a bit busy next 3 weeks but will do it soon.

samuelgarcia avatar Oct 12 '21 06:10 samuelgarcia

@samuelgarcia Any news on this?

JuliaSprenger avatar Mar 03 '22 13:03 JuliaSprenger

Still failing very many tests (506) on 0.11.1: https://ppb.chymera.eu/65897d.log

TheChymera avatar Nov 07 '22 15:11 TheChymera

Just to update, though it's probably “as expected” given the milestone, network tests still fail in a network sandbox and I can't see how to auto-disable them on 0.12.0 https://ppb.chymera.eu/6fae8d.log

TheChymera avatar Dec 14 '23 19:12 TheChymera