Skip to content

Commit

Permalink
Fix the pipeline to install pygsl (nest#233)
Browse files Browse the repository at this point in the history
* Merge build and deploy to fix deploy problems

* Add nest-server requirements

* Fix nest-desktop and compose file

* Add v3.7

* Remove test

* Add v3.7 to readme

* Fix nestml version and add pygsl

* Set pygsl to fix version

* Fix pygsl problems with numpy v2

* Fix pygsl install
  • Loading branch information
steffengraber authored Jun 20, 2024
1 parent 550dfdc commit 3a9d430
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/3.7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
cython3 \
freeglut3-dev \
git \
gosu \
jq \
junitparser \
Expand Down Expand Up @@ -90,7 +91,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
wget "https://github.com/nest/nest-simulator/archive/refs/tags/v${NEST_VERSION}.tar.gz" -P ${SRC_PATH} && \
tar -xzf v${NEST_VERSION}.tar.gz && \
python3 -m pip install -r ${SRC_PATH}/nest-simulator-${NEST_VERSION}/doc/requirements.txt && \
python3 -m pip install sphinx_gallery==0.10.1 numpy<2.0dev0 && \
python3 -m pip install sphinx_gallery==0.10.1 'numpy<=1.26' && \
chmod +x ${SRC_PATH}/nest-simulator-${NEST_VERSION}/build_support/install_music.sh && \
${SRC_PATH}/nest-simulator-${NEST_VERSION}/build_support/install_music.sh && \
mkdir ${SRC_PATH}/nest-build && cd $_ && \
Expand All @@ -114,12 +115,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
make install && \
python3 -m pip install --upgrade pip setuptools wheel && \
python3 -m pip install -r ${SRC_PATH}/nest-simulator-${NEST_VERSION}/requirements.txt && \
python3 -m pip install --upgrade numpy<2.0dev0 && \
python3 -m pip install --upgrade nest-desktop && \
python3 -m pip install --upgrade nestml && \
python3 -m pip install --upgrade scipy && \
python3 -m pip install --upgrade pygsl

python3 -m pip install --upgrade gsl wheel setuptools swig && \
python3 -m pip install --upgrade pygsl@git+https://github.com/pygsl/[email protected]

COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh

Expand Down

0 comments on commit 3a9d430

Please sign in to comment.