Giter Site home page Giter Site logo

Test failures about nest-simulator HOT 5 CLOSED

IlaCar avatar IlaCar commented on June 12, 2024
Test failures

from nest-simulator.

Comments (5)

heplesser avatar heplesser commented on June 12, 2024

@IlaCar Thank you for your report. We need some more information to analyse the situation. Can you please post

  • Which operating system you are using
  • The configuration report shown at the end of the CMake run
  • The test configuration report shown at the beginning of the make installcheck run
  • From the make installcheck output the output related to nest-install.share.nest.testsuite.pytests.test_helper_functions.test_dict_is_subset[a0-b0-True] or one of the other tests that failed

from nest-simulator.

IlaCar avatar IlaCar commented on June 12, 2024

Of course:

from nest-simulator.

heplesser avatar heplesser commented on June 12, 2024

@IlaCar Thank you for the additional information! Most of the tests fail because they depend on combining to dictionaries via dict() | dict() which was introduced with Python 3.9 and thus does not work under Python 3.8. The test_weight_recorder_with_bernoulli fails because it depends on the optional strict parameter to numpy.testing.assert_array_equal(), which was introduced in NumPy 1.24.0. Thus, the failing tests do not indicate any problems in NEST as such, they only cause a problem for the testing mechanism.

In view of the significant performance improvements that came with Python 3.10, I would strongly advise to update Python to at least 3.10.

I will close this issue now, but feel free to re-open.

from nest-simulator.

clinssen avatar clinssen commented on June 12, 2024

@heplesser : the NEST docs still mention Python 3.8 as the minimum required version; should this be updated?

from nest-simulator.

heplesser avatar heplesser commented on June 12, 2024

@heplesser : the NEST docs still mention Python 3.8 as the minimum required version; should this be updated?

This needs a deeper discussion which I will initiate. It is a balance concerning resources for testing and supporting older versions while also exploiting the capabilities of cutting-edge tools. Normal support for Ubuntu 20.04 LTS, e.g., will end only in April 2025 and it comes on-board with gcc 9.4, cmake 3.16 and Python 3.8.

from nest-simulator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.