Dear NEST users and developers,
Pylint was recently updated to version 3, which changed the way in which pylintrc is
discovered (
https://github.com/pylint-dev/pylint/issues/8862). This seems to break
pytest.
So if “make installcheck” gives you the message
Executing NEST's testsuite...
Error: PyNEST testing requested, but 'pytest' cannot be run.
Testing also requires the 'pytest-xdist' and 'pytest-timeout'
extensions.
And running
pytest --version
gives you a long error trace ending in
ImportError: cannot import name 'PYLINTRC' from 'pylint.config' ...
and
pylint --version
shows version 3.x.x, you need to downgrade to “pylint<3”.
https://github.com/nest/nest-simulator/pull/2996 updates our environment file
accordingly.
Best,
Hans Ekkehard
--
Prof. Dr. Hans Ekkehard Plesser
Department of Data Science
Faculty of Science and Technology
Norwegian University of Life Sciences
PO Box 5003, 1432 Aas, Norway
Phone +47 6723 1560
Email hans.ekkehard.plesser@nmbu.no<mailto:hans.ekkehard.plesser@nmbu.no>
Home
http://arken.nmbu.no/~plesser