Closed steffengraber closed 2 years ago
@clinssen @pnbabu What reason is there for NESTML to rely on python v3.9 as the minimum version rather than v3.8? Is there perhaps also something for NEST to keep in mind? (@terhorstd )
@steffengraber We updated the python version in NESTML after checking that the NEST CI also uses Python 3.9: https://github.com/nest/nest-simulator/blob/master/.github/workflows/nestbuildmatrix.yml#L27
In the environment.yml
is minimum of python v3.8
:
https://github.com/nest/nest-simulator/blob/7086c3cabb8923efd2ca783da02e8253ecfde865/environment.yml#L35
And the documentation points to the environment.yml
:
https://nest-simulator.readthedocs.io/en/latest/installation/developer.html#dev-install
But there are other problems with python v3.8 (#117) - I think I will switch to ubuntu jammy and python v3.10.
@steffengraber Thanks for sharing these. We updated the NESTML python version to support some latest python APIs we use that are present in 3.9. So we checked the NEST CI before updating it in NESTML. @terhorstd is there any reason for having Python 3.9 in NEST CI?
Fixed docker images (#118). But maybe something to discuss in the NEST context.
In the CI of the development Docker image, an error occurs during the installation of NESTML. The development version of NESTML is installed with:
This leads to the error:
Full error message:
=> ERROR [stage-1 4/6] RUN python3 -m pip install https://github.com/nest/nestml/archive/refs/heads/master.zip --upgrade 6.5s