Source: brian
Version: 2.2.2.1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hi,

brian FTBFS with python3.8 as a supported interpreter:

[...]
# Remove failing tests
# The following test files will be ignored completely.
# There are other single test in other testfiles which is patched out in 
ignore_failing_test.patch
# MAKE SURE YOU EXCLUDE test_devices IN ANY CASE (see above!)
for ti in test_devices test_network test_neurongroup test_poissongroup 
test_refractory test_spatialneuron test_spikegenerator test_synapses 
test_thresholder test_timedarray ; do \
    find .pybuild -name ${ti}.py -delete ; \
    find debian/tmp -name ${ti}.py -delete ; \
done
# FIXME: May be the deleted tests should be provided in final binary package!
set -e; cd build; \
for PYTHON in python3.8 python3.7; do \
        echo "I: Running Brian unittests using $PYTHON"; \
        PYTHONPATH=$(/bin/ls -d 
/build/brian-2.2.2.1/debian/tmp/usr/lib/$PYTHON/*-packages) \
                $PYTHON /usr/bin/nosetests3 -v -s -P 
--ignore-files="test_devices\.py" --exclude='(experimental|modelfitting)' 
brian2; \
done
I: Running Brian unittests using python3.8
/bin/ls: cannot access 
'/build/brian-2.2.2.1/debian/tmp/usr/lib/python3.8/*-packages': No such file or 
directory
Failure: ModuleNotFoundError (No module named 'brian2') ... ERROR

======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'brian2')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/usr/lib/python3/dist-packages/nose/loader.py", line 406, in 
loadTestsFromName
    module = resolve_name(addr.module)
  File "/usr/lib/python3/dist-packages/nose/util.py", line 312, in resolve_name
    module = __import__('.'.join(parts_copy))
ModuleNotFoundError: No module named 'brian2'

----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)
make[1]: *** [debian/rules:57: override_dh_auto_install] Error 1
make[1]: Leaving directory '/build/brian-2.2.2.1'
make: *** [debian/rules:32: binary] Error 2


Andreas

Attachment: brian_2.2.2.1-1.log.gz
Description: application/gzip

Reply via email to